[BlueOnyx:07947] Re: Incremental backups

Darrell D. Mobley dmobley at uhostme.com
Mon Aug 1 19:04:01 -05 2011


> -----Original Message-----
> From: blueonyx-bounces at mail.blueonyx.it [mailto:blueonyx-
> bounces at mail.blueonyx.it] On Behalf Of Richard Morgan
> Sent: Monday, August 01, 2011 6:19 PM
> To: BlueOnyx General Mailing List
> Subject: [BlueOnyx:07943] Re: Incremental backups
> 
> In this location, create a file called start.sh and copy the following in:
> 
> WORKDIR="/home/solarspeed/solbackup/server_backup"
> rm -fr $WORKDIR/data_5
> mv $WORKDIR/data_4 $WORKDIR/data_5
> mv $WORKDIR/data_3 $WORKDIR/data_4
> mv $WORKDIR/data_2 $WORKDIR/data_3
> mv $WORKDIR/data_1 $WORKDIR/data_2
> mv $WORKDIR/data $WORKDIR/data_1
> 
> This will now keep five days plus the current one.  If you want less just
> delete the mv lines that arn't required, then adjust the rm line to remove
> the highest number.

Won't that keep six days?




More information about the Blueonyx mailing list