Hi everyone,
I'm using rsnapshot with satisfaction on a dozen of machines. My
approach is to use two configuration files, one for backing up
user data daily and the other one for backing up monthly the whole
machine installation, without any data.
When backing up the whole machine I set my generic excludes to
something like:
exclude /proc/*
exclude /sys/*
exclude /var/cache/*
exclude /var/log/*
exclude /tmp/*
and additionally I have rsync_long_args to exclude certain directories
based on that machine's specific duty (f.e. /var/www on webservers).
Now, I would like to retain the tree structure on those excluded path,
because program may expect them. Apache, for example, expects
/var/log/apache{,2}/ to be there and APT expects
/var/cache/apt/archives/.
A full machine restore could be problematic and laborious, requiring
too much babysitting after it.
So, my question is: is there a clean way to tell rsnapshot/rsync to
exclude just files in those directories, while keeping the separation
between generic excludes and machine's dependent ones?
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
