Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: fpausp on December 14, 2010, 09:33:47 PM

Title: Systembackup - Backup only the Configuration of a Server
Post by: fpausp on December 14, 2010, 09:33:47 PM
Hi,

I would like to have a Function to backup only the configuration of a Server in the same way as "Backup or restore" but without the ibay-data. Does anybody know if there is a contrib, howto or something else ?

Regards
fpausp
Title: Re: Systembackup - Backup only the Configuration of a Server
Post by: Stefano on December 14, 2010, 10:07:06 PM
AFAIR you should backup these files/dir

Code: [Select]
home/e-smith/db
home/e-smith/ssl.crt
home/e-smith/ssl.key
home/e-smith/ssl.pem
etc/e-smith/
etc/group
etc/gshadow
etc/passwd
etc/samba/secrets.tdb
etc/samba/smbpasswd
etc/shadow
etc/smbpasswd
etc/ssh
etc/sudoers
root

HTH
Title: Re: Systembackup - Backup only the Configuration of a Server
Post by: fpausp on December 15, 2010, 11:15:13 AM
Hi,

Thanks for your answer, I would like to have a little script for a "systembackup" to be able to make a desaster recovery asap.
The problem is I have contribs on all my servers installed, how should I handle the "contribs problem" after a crash ?
Title: Re: Systembackup - Backup only the Configuration of a Server
Post by: janet on December 15, 2010, 12:51:32 PM
fpausp

Please take the time to read available information
http://wiki.contribs.org/Backup_server_config

I'd say maybe you want to install the DAR2 contrib and setup a specific job without ibays included.

As always, contribs will need to be reinstalled after an OS reinstall & a data/config restore, unless the contribs are installed in ibays or /opt (and /opt is included in your backup, refer backup Howtos re how to do this)
Title: Re: Systembackup - Backup only the Configuration of a Server
Post by: fpausp on December 15, 2010, 05:19:44 PM
Thanks