RemoveSpecifiedFiles

From RdiffBackupWiki

Jump to: navigation, search

Gregor Gorjanc:

The feature I would also like to see in rdiff-backup is deletion of some files from archive. Once I've downloaded some huge files for application to my home directory. I didn't managed to install the application and over the night those files were backed up --> archive grown a lot! It would be nice that those files could be deleted somehow.


I'm encountering this kind of accidents quite freqently. Alternative way how to remove unwanted backups is to remove/revert/rollback last backup session from the archive - as it never happens. This isn't exactly the same as previous feature (because it removes all - possibly necessary - files), but it can be implemented together with DeleteIntermediate request.

--Luskt 21:28, 26 February 2007 (EST)


You can free up the space by deleting the associated files in the rdiff-backup-data/increments directory.

With a little modification this could be done with the SplitRdiffBackup contrib script. It already removes the associated entries from the control files in rdiff-backup-data.

--Jewel 08:48, 15 March 2007 (EST)


It seems like making the already-existing exclude/include file selection parameters work with --remove-older-than would be a good way to implement this. My particular use case is that I'd like to retain incrementals for some areas (config files, important stuff) for a very long time, and less so for data areas with a lot of churn but no real need to keep old versions (media archives). I can split into using multiple different backups, but that's a pain. --Mattdm 22:03, 11 September 2008 (EST)

Personal tools