[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] ANNOUNCEMENT: rdiff-backup-tools
From: |
rader |
Subject: |
[rdiff-backup-users] ANNOUNCEMENT: rdiff-backup-tools |
Date: |
Sun, 02 Nov 2008 07:41:08 -0600 |
In order to really wrap my head around rdiff-backup and avoid
remembering it's usage and localized arguments, I've written a set of
scripts to automate it's usage. Refer to the output after my sig.
There is a longer tutorial/quick start in the README file. Feel
free to post a link on the Related Pages page.
http://www.physics.wisc.edu/~rader/rdiff-backup-tools/README
http://www.physics.wisc.edu/~rader/rdiff-backup-tools/
To everyone involved in rdiff-backup: please accept my HUGE thanks
for providing such a fine solution for simple backward-delta on-line
backups!
steve
--
director of computing
department of physics
university of wisconsin
bash$ sudo mkdir -p /tmp/save/etc.mail /tmp/recover
bash$ sudo vi /usr/local/etc/rdiff-backup-tools.conf
bash$ sudo tail -2 /usr/local/etc/rdiff-backup-tools.conf
Source[1]="/etc/mail"
Destination[1]="/tmp/save/etc.mail"
bash$ sudo rdiff-backup-info list
Save set 1: save /etc/mail to /tmp/save/etc.mail
bash$ sudo rdiff-backup-save -d
Debug mode is on
Source is /etc/mail
Destination is /tmp/save/etc.mail
rdiff-backup --print-statistics /etc/mail /tmp/save/etc.mail
bash$ sudo rdiff-backup-report
Save set 1: save /etc/mail to /tmp/save/etc.mail
Sun Nov 2 07:21:33 2008: 322.66 KB, 32 adds and 0 deletes in 0.17 secs
(1.82 MBps)
Sun Nov 2 07:21:33 2008: current mirror
bash$ sudo cat /var/log/rdiff-backup.summary
Saving /etc/mail to /tmp/save/etc.mail...
ElapsedTime 0.17 (0.17 seconds)
SourceFileSize 330411 (323 KB)
MirrorFileSize 0 (0 bytes)
TotalDestinationSizeChange 330411 (323 KB)
Errors 0
Throughput 1.82 MBps
bash$ sudo rdiff-backup-recover -d 0D /etc/mail /tmp/recover/etc.mail
Starting recover of /tmp/save/etc.mail to /tmp/recover/etc.mail... this may
take awhile...
bash$ ls /tmp/recover/etc.mail/
Makefile domaintable.db sendmail.cf.bak submit.cf.orig
access helpfile sendmail.mc submit.mc
access.db local-host-names sendmail.mc.orig submit.mc.orig
authinfo mailertable spamassassin/ trusted-users
authinfo.db mailertable.db submit.cf virtusertable
domaintable sendmail.cf submit.cf.bak virtusertable.db
bash$ cat /etc/cron.daily/rdiff-backup.cron
( /usr/local/sbin/rdiff-backup-save -v && \
/usr/local/sbin/rdiff-backup-expire --quiet --force ) \
| mail -s "rdiff-backup report for $HOSTNAME" root
bash$ sudo cat /etc/logrotate.d/rdiff-backup
/var/log/rdiff-backup.log {
daily
missingok
notifempty
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [rdiff-backup-users] ANNOUNCEMENT: rdiff-backup-tools,
rader <=