Delete corrupted backup

Asked by Thomas Hamilton Lipscomb

I have a corrupted Deja Dup backup (fails to decrypt) because of this bug (see comment #21):
https://bugs.launchpad.net/deja-dup/+bug/1728548

I need to know how to delete it so Deja Dup can make another clean backup from scratch.

Which files do I delete? I see 3 folders in my /media/thomas/Samsung_T5 backup drive:
$RECYCLE.BIN
System Volume Information
thomas-G752VL (my backup folder)
What about deleting ~/.cache/deja-dup/

My best guess is delete /media/thomas/Samsung_T5/thomas-G752VL and ~/.cache/deja-dup/

I think it happened when my laptop froze and I forced a shutdown. Even though I think Deja Dup was not backing up at the time that may have corrupted the backup.

1. The distribution of Linux:
Ubuntu 20.04.3 LTS

2. The version of deja-dup and duplicity:
deja-dup 40.7-0ubuntu1
duplicity 0.8.11.1612-1

Question information

Language:
English Edit question
Status:
Solved
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Terry
Solved:
Last query:
Last reply:
Revision history for this message
Best Michael Terry (mterry) said :
#1

> My best guess is delete /media/thomas/Samsung_T5/thomas-G752VL and ~/.cache/deja-dup/

That should work! On the drive, we don't write anywhere outside of the target folder.

Sorry you got bit by that bug.

Revision history for this message
Thomas Hamilton Lipscomb (hari-seldon) said :
#2

I deleted /media/thomas/Samsung_T5/thomas-G752VL and it was moved to /media/thomas/Samsung_T5/.Trash-1000/files/thomas-G752VL

Should I delete .Trash-1000 to make room for my new backup or does .Trash-1000 automatically delete itself before the external SSD runs out of space?

Revision history for this message
Michael Terry (mterry) said :
#3

> Should I delete .Trash-1000 to make room for my new backup or does .Trash-1000 automatically delete itself before the external SSD runs out of space?

Good question - that's a GNOME thing. You can safely delete it if you like - though if it's not too big, maybe just move it off-drive for now, until you get a working backup again.

I don't *think* trash gets auto-deleted? But possibly GNOME will prompt you to do that, if it's close to running out.

Revision history for this message
Thomas Hamilton Lipscomb (hari-seldon) said :
#4

Thanks Michael Terry, that solved my question.

Revision history for this message
Thomas Hamilton Lipscomb (hari-seldon) said :
#5

It seems that GNOME in Ubuntu 20.04.3 LTS "Automatically Delete Trash Content" is off by default.
https://help.ubuntu.com/stable/ubuntu-help/privacy-purge.html.en

So I went to trash and deleted thomas-G752VL to make space.