rsnapshot

apt-get install -y rsnapshot

mv /etc/rsnapshot.conf /etc/rsnapshot.conf.org

cat < /etc/rsnapshot.conf
config_version 1.2
snapshot_root /media/backup/
logfile /var/log/rsnapshot.log
verbose 3
loglevel 3

cmd_preexec /bin/mount /media/backup
cmd_postexec /bin/umount /media/backup
#backup_script /usr/local/bin/backup_mysql.sh localhost/mysql/

cmd_rsync /usr/bin/rsync
# cmd_ssh /usr/bin/ssh

interval daily 7
interval weekly 3
interval monthly 1

#exclude dev/*
exclude lost+found/*
exclude mnt/*
exclude proc/*
exclude run/*
exclude sys/*
exclude tmp/*

# backup remote server
backup root@www.example.com:/ srv/ +rsync_long_args=--exclude=export/* --exclude=media/*/.Trash* --exclude=video/*

# backup local server
backup / www.example.com/ +rsync_long_args=--exclude=mnt/* --exclude=media/* --exclude=var/lib/lxc/* --exclude=var/lib/lxcfs/*

# backup LXC containers
backup /var/lib/lxc www.example.com/
EOF

rsnapshot -c /etc/rsnapshot.conf daily

Check configuration
rsnapshot configtest

Links
https://wiki.archlinux.de/title/Rsnapshot
http://www.rsnapshot.org/howto/1.2/rsnapshot-HOWTO.en.html
http://wiki.ubuntuusers.de/rsnapshot