- Install and configure fonz's fun_plug. (look here for details)
- Grab and install the rysnc addon package for fonz's fun_plug.
- Define a rsync job to run on a nightly basis at 2:05am. The crontab line will look like this: 5 2 * * * /mnt/HD_a2/fun_plug.d/bin/rsync -rlptDv --delete /mnt/HD_a2 /mnt/HD_b2 >/mnt/HD_a2/fun_plug.d/log/rsync.last.log 2>&1
- Create a script in the start folder (i.e. /mnt/HD_a2/fun_plug.d/start) to add the above into the crontab every time you boot the box. (Remember to set execute permission for the script to auto run on the next boot.)
Saturday, December 15, 2007
Setting up backup on the DNS-323
Here's a quick and dirty way of doing backups from Volume_1 (aka HD_a2) to Volume_2 (aka HD_b2) on a nightly basis. In summary, here is what you need to do: