Backup settings
Backup settings
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 ?
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Backup settings
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
If you only want the configuration itself, then you would only need to copy /etc/csf/csf.conf
Re: Backup settings
Thanks very much will save this for next time
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Backup settings
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
I should be able to make them both the same but thanks again for letting me know.
Re: Backup settings
Tried this tonight never worked