Data backup

Tim Nowaczyk zimage@upl.cs.wisc.edu
Fri, 15 Jun 2001 13:39:52 -0500


On Fri, Jun 15, 2001 at 11:17:21AM -0700, Rob Walker wrote:
> 
> >>>>> On 14 Jun 2001 23:34:52 -0700, Dave Peticolas <dave@krondo.com>
> >>>>> said:
> 
> Dave> The only file you have to backup is the main one -- the one you
> Dave> open.
> 
> Would it hold true that the largest file is the main one?  Do the
> files get smaller as you delete transactions, or do they stay around,
> as 'deleted yyyymmddhhmmss' transactions, and thus invisible, for some
> sort of "undo-redo" game?
> 
> rob
 The main file will have the filename 'foo' while all the un-needed (in this case at least) files will be ^foo\.\d{14}\.(log|xac)$ (in other words, the filename, followed by a period, followed by 14 digits, followed by a period, then either log or xac).  The main file will also usually be the newest (`ls -t | head -n1`).  The main file is not always the largest though.

 Tim Nowaczyk

 <>< Truth