Page 1 of 1

Backup settings

Posted: 14 Jul 2013, 19:02
by cornish
Hi can anyone tell me if there is a way to backup all the settings so when you install csf on another server you can just upload a file ?

Re: Backup settings

Posted: 14 Jul 2013, 21:17
by ForumAdmin
You would need a copy of /etc/csf/ and /usr/local/csf/tpl/ and restore those directories over the top of a fresh install to ensure everything is duplicated. Make sure both installs are running the same versions of csf beforehand.

If you only want the configuration itself, then you would only need to copy /etc/csf/csf.conf

Re: Backup settings

Posted: 14 Jul 2013, 21:26
by cornish
Thanks very much will save this for next time :)

Re: Backup settings

Posted: 14 Jul 2013, 21:38
by ForumAdmin
One last thing, if you're unable to have both installs at the same version, you can still do the above, but force an update on the new installation afterwards with:

Code: Select all

csf -uf

Re: Backup settings

Posted: 14 Jul 2013, 21:57
by cornish
I should be able to make them both the same but thanks again for letting me know.

Re: Backup settings

Posted: 16 Nov 2013, 22:24
by cornish
Tried this tonight never worked :(