Koozali.org: home of the SME Server

Folders to backup with Rsync

Offline beast

  • *
  • 245
  • +0/-0
Folders to backup with Rsync
« 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

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Folders to backup with Rsync
« Reply #1 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


« Last Edit: June 21, 2017, 04:32:27 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline beast

  • *
  • 245
  • +0/-0
Re: Folders to backup with Rsync
« Reply #2 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