Comment 23 for bug 1728548

Revision history for this message
Thomas Hamilton Lipscomb (hari-seldon) wrote (last edit ):

I deleted both the cache and the backup on my external SSD and that didn't fix it. Every time I tried one of the below I deleted those and made a fresh one. Attached is the screenshot showing the error.

I used the code below to trim all of my filenames in Desktop, Documents, Downloads, Music, Pictures, and Videos to be no more than 100 characters long, just in case filenames being too long was the issue. That didn't fix it.
export n=100
find . -type f \
     ! -name '.*' \
       -regextype egrep \
     ! -regex '.*\.[^/.]{'"$n"',}' \
       -regex '.*[^/]{'$((n+1))',}' \
       -execdir bash -c '
    for f in "${@#./}"; do
        ext=${f#"${f%.*}"}
        mv -- "$f" "${f:0:n-${#ext}}${ext}"
    done' bash {} +

I manually (not using Deja Dup) copied my files from my ext4 Linux filesystem to an NTFS external backup drive to check to make sure no filename has illegal characters like | because for example if the filename has | in it then a warning message pops up and says you can't copy that file to an NTFS file system do you want to skip it. I removed the illegal characters and now it copies to NTFS without any warnings but the backup still fails so that wasn't it.

I reformatted my Deja Dup backup drive Samsung_T5 from exFAT to ext4 just in case Deja Dup doesn’t like exFAT (cross-platform Solid State Drive filesystem) and likes ext4 (Linux filesystem) better. That didn't fix it.

I uninstalled Deja Dup using "sudo apt-get purge deja-dup" then reinstalled it from the Ubuntu Snap store. I also tried unencrypted backup using Deja Dup instead of encrypted. Doing both of those didn't fix it. Attached is the "Restore Failed: Failed with an unknown error." screenshot of my Ubuntu.

I cannot find /tmp/deja-dup.gsettings anymore

At this point my computer repair guy recommended trying Bacula (https://ubuntu.com/server/docs/backups-bacula) and if that doesn't work reinstalling my Ubuntu from scratch. I will try Bacula and will post here again about whether that worked. If Bacula also doesn't work then we know something it's not the backup program itself not working it's the operating system or the files. If I then have to reinstall my Ubuntu from scratch then we can see if Deja Dup works on that then if copying my files back in breaks the Deja Dup that had just worked without my files, then we know it's not the operating system it's my files.