RE: backup deleting old files



>Robert Mibus <mibus@bigpond.com> writes:
>> how would you recommend the naming system go?
>> eg. backupdir/database.pdb.1
>> or backupdir.1/database.pdb
>> or what?
>backupdir.1 is better than changing the file names because it will
>allow an easy restore with something like pilot-xfer.

or maybe backupdir/* for the current one, and backupdir/0/* to 
backupdir/(i-1)/* where i is the # of backups to be kept.
ie
 backupdir/
 backupdir/0
 backupdir/1
 backupdir/2
 backupdir/3
 backupdir/4
for 5 levels of backup after the current.

??

btw; ill do this unless anyone else has a pressing desire to do it.

mibus

--
Robert Mibus <mibus@bigpond.com>
fortune: no amusing quotes found
					





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]