90.rdiff

Tags:

#/etc/backup.d/90.rdiff
# options = --force
# when = everyday at 02

[source]
type = local
keep = 60D
include = /root
include = /boot
include = /etc
include = /var/backups
include = /var/lib/dpkg/status*
include = /home
#or
#include = /home/'user1'
#include = /home/'user2'

#/home excludes
exclude = /home/*/.gnupg
exclude = /home/*/.local/share/Trash
exclude = /home/*/.Trash
exclude = /home/*/.thumbnails
exclude = /home/*/Desktop/Trash
exclude = /home/*/.mozilla/*/*/Cache
exclude = /home/*/.mozilla/*/*/Cache.Trash
exclude = /home/*/.beagle
exclude = /home/*/.aMule
exclude = /home/*/gtk-gnutella-downloads
exclude = /home/*/.giFT

#/root excludes
exclude = /root/*/.gnupg
exclude = /root/*/.local/share/Trash
exclude = /root/*/.Trash
exclude = /root/*/.thumbnails
exclude = /root/*/Desktop/Trash
exclude = /root/*/.mozilla/*/*/Cache
exclude = /root/*/.mozilla/*/*/Cache.Trash

######################################################
## destination section
## (where the files are copied to)

[dest]
type = remote
directory = /backup/'local_hostname'
host = 'dest IP or hostname'
user = root

No votes yet
Syndicate content