Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
My DNS-323 in now good working condition. I have spent some time to configure it with ffp, nfs server, mldonkey, openvpn and so on. I think it would be idea to make a backup of directories like ffp etc to restore if anything happens. What is the best way to make a backup preserving file ownership, access etc. Is there a command?
Offline
In my fun_plug I add a backup script to the crontab table that runs at 3 AM daily.
# Add USB FunPlug backup to RAID echo "Adding ffp backup job to crontab..." CRONTEXT=/mnt/HD_a2/crontab.txt /bin/crontab -l > $CRONTEXT /bin/echo "00 03 * * * /mnt/HD_a2/fun_plug_backup.sh" >> $CRONTEXT /bin/crontab $CRONTEXT /bin/rm $CRONTEXT
The backup shell script uses "rsync" to sync my /ffp (on the USB drive) with a backup located under /mnt/HD_a2/Backups/ffp.
#!/bin/sh echo "* Backing up ffp from usb stick..." /ffp/bin/rsync -a --delete /mnt/USB/ffp /mnt/HD_a2/Backups/ffp_usb echo "* Backing up ffp from /mnt/HD_a2..." /ffp/bin/rsync -a --delete /mnt/HD_a2/ffp /mnt/HD_a2/Backups/ffp_hd echo "* Backing up ffp scripts from HD_a2..." /ffp/bin/rsync -a --delete /mnt/HD_a2/fun_plug* /mnt/HD_a2/Backups/ffp_root touch /mnt/HD_a2/Backups/ffp_backed_up echo "* Backup Completed"
Works like a champ.
Last edited by jesbo (2008-11-25 16:05:55)
Offline
Has anyone experienced problems backing up files from the USB with "Bus Errors" and the USB stick requiring a re-insert to get it going again? I keep getting this with large I/O to/from the USB stick. Makes it tricky to backup the ffp directories...
Thanks.
Offline