Backup settings

Post Reply
cornish
Junior Member
Posts: 22
Joined: 01 Jun 2013, 20:10

Backup settings

Post 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 ?
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Backup settings

Post 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
cornish
Junior Member
Posts: 22
Joined: 01 Jun 2013, 20:10

Re: Backup settings

Post by cornish »

Thanks very much will save this for next time :)
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Backup settings

Post 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
cornish
Junior Member
Posts: 22
Joined: 01 Jun 2013, 20:10

Re: Backup settings

Post by cornish »

I should be able to make them both the same but thanks again for letting me know.
cornish
Junior Member
Posts: 22
Joined: 01 Jun 2013, 20:10

Re: Backup settings

Post by cornish »

Tried this tonight never worked :(
Post Reply