Koozali.org: home of the SME Server

Systembackup - Backup only the Configuration of a Server

Offline fpausp

  • *
  • 728
  • +0/-0
Systembackup - Backup only the Configuration of a Server
« 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
Viribus unitis

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Systembackup - Backup only the Configuration of a Server
« Reply #1 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

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Systembackup - Backup only the Configuration of a Server
« Reply #2 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 ?
Viribus unitis

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Systembackup - Backup only the Configuration of a Server
« Reply #3 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)
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Systembackup - Backup only the Configuration of a Server
« Reply #4 on: December 15, 2010, 05:19:44 PM »
Thanks
Viribus unitis