On 4/25/07, jan gestre <[EMAIL PROTECTED]> wrote:


On 4/24/07, Edel SM <[EMAIL PROTECTED]> wrote:
> have you tried rdiff-backup
<http://www.nongnu.org/rdiff-backup/>?
> that's what i am using. i have my cron job running every 4am everyday.

 i've read about it, my problem is to make an incremental backup script that
works :D


btw, script for initiating backup? here is an untested simple script
to be called from cron.

---
#!/bin/bash
# dest
D=/dev/sdaX
M=/media/usbdisk
# source
B=/home
# go backup
mount ${D} ${M}
rdiff-backup ${B} ${M}
echo "`date`: backup of ${B} to ${M} done" >>/tmp/backup.log
umount ${D}
---

there are docs/examples[1] at the website. also, it's incremental
backup not limited to 7days rotation. all snapshots are stored in a
directory with logs (for version history).

--edel

[1] http://www.nongnu.org/rdiff-backup/examples.html
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to