Delete A Backup

sthivaios

New Member
May 30, 2023
3
1
3
Hi

I want to delete a backup on my PBS.
I clicked the little "prune" icon (the small red bin icon next to the backup), and the backup was pruned.

Now, from what I understand, to completely delete the backup, you need to do a garbage collection to collect all the "trash" that the backup left behind.

So, I do the garbage collection.

Code:
2023-05-30T13:57:25+03:00: Pending removals: 2.256 GiB (in 1509 chunks)

Now, how am I supposed to delete the "Pending Removals"????

Do they delete themselves?

Do I have to do something to delete those???
 
There needs to be 24 hours and 5 minutes between your prune and GC. Otherwise the GC won'T delete the chunks and they are still pending. So best you try the GC again tomorrow.
 
Last edited:
Ah thanks.

I'll try again, and if it doesn't delete the files I will repost.

(I have scheduled it to run at 6:00am every day, so it'll probably do it itself)

:)
 
Is this a secure erase operation? I accidentally backed up a number of VM and LXCs to a PBS server that I thought had been added to PVE with client-side encryption.

However, I had to delete and re-add the PBS server to my storage config, and it looks like I ended up going live with no encryption.

I'm good to delete the backup job and PBS storage from my PVE node, but how do I make sure I've erased the unencrypted backups from PBS in a way that they can't be recovered?
 
Deleting backups simply deletes them from the filesystem, meaning that the filesystem no longer knows that the files exist. They may be overwritten anytime, but this obviously means that the data is not securely erased. If you have a hard requirement on securely erasing data, there are special tools for doing that. PBS does not allow doing that, and the special tools I was talking about would wipe the whole disk anyway, not just the backups.