Well as far as /var goes i decided to take a closer look because i am
thinking running aide for system integrity check. So this my rsnapshot.conf

I backup the following files

backup  /       localhost/

(Im not sure if i need anything else other than / for backup )

# backup  /altroot/       localhost/
# backup  /bin/   localhost/
# backup  /etc/   localhost/
# backup  /home/  localhost/
# backup  /root/  localhost/
# backup  /sbin   localhost/
# backup  /usr/   localhost/
# backup  /var/   localhost/


And exclude

exclude /var/authpf
exclude /var/cache
exclude /var/crash
exclude /var/cron
exclude /var/run
exclude /var/sasl
exclude /var/spool
exclude /var/tmp

exclude /dev/
exclude /mnt/usb/
exclude /mnt/cdrom/
exclude /tmp/
exclude /home/.snapshot/


On 06/14/17 00:22, Stuart Henderson wrote:
> On 2017-06-13, Paolo Aglialoro <paol...@gmail.com> wrote:
>> Have a full snapshot of your system, otherwise restore will be a nightmare.
> 
> Opinions vary. I couldn't care less about backing up things which I can
> just reinstall, I just need to know how to get back to that state easily.
> There are advantages to a script or config management recipe over a backup
> of those things: it also works for building on a new OS version, or the
> same one with fresh binaries in case you don't trust the ones you have
> for some reason.
> 
>> Do it with another tool, rsnapshot is mostly useful for data.
> 
> Any working backup that you understand is better than no backup..
> Especially if it runs automatically. rsnapshot is one of many things
> which will work (and you can't really argue with the ease of restore!).
> 
> 

Reply via email to