Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: beast on June 20, 2017, 05:13:04 PM

Title: Folders to backup with Rsync
Post by: beast on June 20, 2017, 05:13:04 PM
Hi

I have found a very old post about what folders to backup for a full backup - just like to validate that it is still true.

I just like to rsync the folders to a NAS at regular intervals

I currently issue the following commands before and after backup

signal-event pre-backup
and
signal-event post-backup

In between I try to backup the following:

/home/e-smith (FOLDER)
/etc/e-smith/templates-custom (FOLDER)
/etc/e-smith/templates-user-custom (FOLDER)
/etc/ssh (FOLDER)
/root (FOLDER)
/etc/sudoers (FILE)
/etc/passwd (FILE)
/etc/shadow (FILE)
/etc/group (FILE)
/etc/gshadow (FILE)
/etc/samba/secrets.tdb (FILE)
/etc/samba/smbpasswd (FILE)
/etc/smbpasswd (DOES NOT EXIST)

Is this correct or do I need other folders/files?

NB: I also have an AFFA duplicated HW running so the Rsync procedure is only with one month in between to another physical location

Thanks
Benny
Title: Re: Folders to backup with Rsync
Post by: janet on June 21, 2017, 04:18:36 AM
beast

Already documented, but version dependent.
See
Backup server config Howto
Standard inclusions section
https://wiki.contribs.org/Backup_server_config#Standard_backup_.26_restore_inclusions


Title: Re: Folders to backup with Rsync
Post by: beast on June 21, 2017, 06:45:59 AM
beast

Already documented, but version dependent.
See
Backup server config Howto
Standard inclusions section
https://wiki.contribs.org/Backup_server_config#Standard_backup_.26_restore_inclusions

Great thank you - was unable to find it