Re: [BackupPC-users] Problems with hardlink-based backups...
2009-09-01 14:48:00
Jeffrey J. Kosowsky wrote:
> Les Mikesell wrote at about 12:15:34 -0500 on Tuesday, September 1, 2009:
> > Jeffrey J. Kosowsky wrote:
> > > > 2) you lose power/crash while expiring
> > > This would just mean that expiry not completed meaning that some
> > > expired files not deleted. Same problem occurs if power/crash during
> > > BackupPC_Nightly. The actual deletion is atomic. Just run expiry again.
> >
> > The actual deletion can't be atomic - you have to one thing in the
> > database and one thing in the filesystem.
>
> No. Expiry only involves deletions to the filesystem. i.e., you delete
> files that no longer are referenced in the database. No changes need
> to be made to the database. If something crashes, just start again.
Will you enforce not running backups while you make this decision?
Otherwise you have a window between asking the database whether a
filename should be deleted or not and the time you remove the file.
Meanwhile a running backup could have just added another entry
referencing that filename.
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|