[SOLVED] Backintime: delete files from earlier backups
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I create backintime backups to a local USB disk. My customer wants me to remove his confidential files from my computer and my backups. Can I just delete folders inside the backintime folder hierarchy without affecting the rest of the backup?
It is especially the file fileinfo.bz2 that is worrying me because it contains information about files that will have disappeared when I manually delete them.
And yes - I know that backintime uses hard links, so in principle I would need to repeat the delete for more backups, but fortunately, the confidential files only occur in the most recent backup.
Yes, that might be an option, but I would prefer to keep the snapshot, with only the sensitive files removed. My guts feeling is that deleting files would do no harm, but I would like to know if anyone has a different experience.
Oooh... I just found out that I can browse the snapshots and navigate to the folder that I want to remove. Then right-click and select "snapshots". Then you can delete files.... so yes, that will be the answer. I'll report after trying it out and then close this thread. Thanks a lot!
I confirm that shruggy's solution works. Here's again how to do it:
- In backintime, navigate to the backup and then the folder that you want to delete from the backup
- Right-click on the file or folder that you want to delete
- Choose snapshots
- Check if the right file or folder is listed in the top of the dialog
- Click on the red cross icon to delete
Afterwards, I checked if the files were really gone. They were.
I also noted that the file still has its original date, so that is probably not modified. Apparently, that does no harm.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.