rsnapshot logo
Home
Downloads
Upgrade
HOWTO
Man Page
FAQ
Screenshots
CVS
Mailing List
Links
Security
E-mail

Screenshots

Here's an example of rsnapshot running against the hourly interval.

[root@localhost /]# rsnapshot -v hourly
echo 1867 > /var/run/rsnapshot.pid
/bin/rm -rf /.snapshots/hourly.5/
mv /.snapshots/hourly.4/ /.snapshots/hourly.5/
mv /.snapshots/hourly.3/ /.snapshots/hourly.4/
mv /.snapshots/hourly.2/ /.snapshots/hourly.3/
mv /.snapshots/hourly.1/ /.snapshots/hourly.2/
/bin/cp -al /.snapshots/hourly.0 /.snapshots/hourly.1/
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded /etc \
    /.snapshots/hourly.0/localhost/
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded /home \
    /.snapshots/hourly.0/localhost/
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded \
    /usr/local /.snapshots/hourly.0/localhost/
touch /.snapshots/hourly.0/
rm -f /var/run/rsnapshot.pid
[root@localhost /]#

Here's an example of rsnapshot running against the daily interval.

[root@localhost /]# rsnapshot -v daily
echo 1842 > /var/run/rsnapshot.pid
/bin/rm -rf /.snapshots/daily.6/
mv /.snapshots/daily.5/ /.snapshots/daily.6/
mv /.snapshots/daily.4/ /.snapshots/daily.5/
mv /.snapshots/daily.3/ /.snapshots/daily.4/
mv /.snapshots/daily.2/ /.snapshots/daily.3/
mv /.snapshots/daily.1/ /.snapshots/daily.2/
mv /.snapshots/daily.0/ /.snapshots/daily.1/
mv /.snapshots/hourly.5/ /.snapshots/daily.0/
rm -f /var/run/rsnapshot.pid
[root@localhost /]#

An example of using the du option to run a disk usage report on a subdirectory over time

[root@localhost /]# rsnapshot du example.com/home/
5.2G    /.snapshots/hourly.0/example.com/home/
5.4M    /.snapshots/hourly.1/example.com/home/
12M     /.snapshots/hourly.2/example.com/home/
5.3M    /.snapshots/hourly.3/example.com/home/
5.4M    /.snapshots/hourly.4/example.com/home/
4.9M    /.snapshots/hourly.5/example.com/home/
5.4M    /.snapshots/daily.0/example.com/home/
728M    /.snapshots/daily.1/example.com/home/
4.8M    /.snapshots/daily.2/example.com/home/
4.8M    /.snapshots/daily.3/example.com/home/
6.2M    /.snapshots/daily.4/example.com/home/
4.8M    /.snapshots/daily.5/example.com/home/
4.8M    /.snapshots/daily.6/example.com/home/
6.0G    total
This project is hosted at
SourceForge.net Logo
Website hosted at
David Keegel's home