Daniel G. Siegel wrote on 06 Aug 2005 16:05 CEST:
> hello!
>
> im looking for an incremental backup program, which can put my
> backups on my external usb-harddisk. there i should find the files
> as on my root-harddisk. is there something in arch?
> before i used rsnapshot
>
> greetings daniel
Hey Daniel,
I use rdiff-backup for this purpose. It's in AUR, and it works great for
me. This is my backup script that I call using cron:
#!/bin/sh
#mount /bak
#mount /boot
#mount /mnt/win
rdiff-backup \
--exclude-regexp 'cache$' \
--exclude-regexp '(?i)/te?mp$' \
--exclude /mnt \
--exclude /vol \
--exclude /bak \
--exclude /usr/media \
--exclude /usr/media/misc \
--exclude /usr/lib \
--exclude /tmp \
--exclude /var/dl \
--exclude /var/spool \
--exclude /var/cache \
--exclude /proc \
--exclude /dev \
--exclude /sys \
/ /bak/sys
echo "----------------------------------------"
echo " * Listing increments of backup"
echo "----------------------------------------"
rdiff-backup --list-increments /bak/sys
echo ""
echo "----------------------------------------"
echo " * Removing backups older than 5 Weeks"
echo "----------------------------------------"
rdiff-backup --force --remove-older-than 5W /bak/sys
##Force is necessary because:
#Fatal Error: Found 2 relevant increments, dated:
#Sat Apr 10 12:39:24 2004
#Sat Apr 17 04:15:01 2004
#If you want to delete multiple increments in this way, use the --force.
echo ""
echo "----------------------------------------"
echo " * Disk usage after backup"
echo "----------------------------------------"
df -h
#umount /bak
#umount /boot
#umount /mnt/win
#EOF
HTH,
Hugo
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch