Tino Schwarze wrote at about 16:56:35 +0200 on Monday, August 10, 2009: > On Mon, Aug 10, 2009 at 02:36:38PM +0000, Peter Hanston wrote: > > > Is there any way I can delete a spesific file from all backups? For some > > reason > > I have a file backed up which is 50gigs in /var/log (/var/lib/smac.log) > > and I'd > > like to delete it from every backup that has been made. > > > > If I go into a spesific backup number directly on the backup disk: > > pc/db-master/57/f%2fvar/flib/fsmac.log) > > > > Could I just simply recursively search through all backup numbers (pc/db- > > master/1-2-3 etc) and delete all fsmac.log occurances? Could there be any > > unwanted consequences if this is done? Any better way? > > It would work, BackupPC_nightly would remove the files from the pool as > well, but the backup size displayed by the web interface would be wrong. True.
But also your attrib files would be wrong since they would still list the file as being present. Not sure what happens in the Web interface (or restore) when there is a conflict between the attrib file and the pc tree itself - hopefully, it would recover gracefully but just brute force deleting the file is certainly not the neatest way to do things. > > Jeffrey J. Kosowsky wrote a nice tool for removing files from backups > called BackupPC_deleteFiles. See > http://www.mail-archive.com/[email protected]/msg12265.html. > > HTH, > > Tino. > > -- > "What we nourish flourishes." - "Was wir nähren erblüht." > > www.lichtkreis-chemnitz.de > www.craniosacralzentrum.de > > ------------------------------------------------------------------------------ > 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 > [email protected] > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ 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 [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
