Re: Backup and "-deleted" files

Toby Dickenson <[email protected]>
Newsgroups gmane.comp.web.zope.zodb.dirstorage
Message-ID <[email protected]>
On Thursday 25 Aug 2005 18:56, Paul Winkler wrote:
> I was going to ask if backup.py does anything "smart" like ignore
> the "-deleted" files left by packing, but then I looked at the source
> and answered myself:
> Yes, it skips those. They are not included in
> full backups.
>
> Just thought somebody else might like to know :)
>
> I'm wondering though... is piping find into cpio into gzip really faster
> or in some other way better than doing something like:
>
> tar --exclude="*-deleted" -czvf backup-foo.tgz A

A pipe into cpio is critical for incremental backups because that allows the 
backup tool to choose which files get included (it uses the whatsnew.py 
script).

Using the same technique for full backups has complexity advantages..... I 
dont need to care if there are subtle differences between cpio and tar. That 
nearly halves the amount of system testing.


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.