Choose style:

Author Topic: SSD failure and Deja-Dup failure  (Read 199 times)

0 Members and 1 Guest are viewing this topic.

Offline lswarte

  • Trusted User
  • Member
  • *****
  • Posts: 173
  • Karma: 200
  • Once a noob, always a noob.
    • View Profile
    • Facebook
  • Peppermint version(s): Peppermint 9
SSD failure and Deja-Dup failure
« on: December 27, 2018, 09:50:44 am »
My dad's computer had a SSD failure. Frequent backups from his home folder are made with Deja-Dup to an external hard drive which were always succesful.

I bought a new SSD and after installing I wanted to restore the backup from the external hard disk to his new SSD.

I was very surprised to get the message that Deja-Dup couldn't find a single backup on the external hard drive. Hence, I checked the hard drive and found countless duplicity difftar files on the exernal hard drive. Hence, the backups were made, they are present, but for some reason Deja-Dup can't find them.

Since the old SSD is still functional I tried to copy his home folder to the new SSD but that did not work as well since so many faults on the SSD are being reported that the action never ends.

Now I am stuck with many backup files, but not able to restore them to the new SSD. Is there anybody out there who can help?

By the way, should this work? And if so, should the "--file-to-restore" be a difftar file?
Code: [Select]
duplicity restore --file-to-restore / file:///path/to/backups /path/to/dir

Thank you in advance, and with kind regards,

Laurens Swarte
The Netherlands

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1571
  • Karma: 425
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 9 - 64bit
Re: SSD failure and Deja-Dup failure
« Reply #1 on: December 28, 2018, 03:01:49 am »
Hi lswarte,

Have you checked out this page (https://wiki.gnome.org/Apps/DejaDup) and its related links? They might know more about the inner workings of Deja Dup than anyone else.

Regards,

-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, awesome, Openbox, i3, JWM

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22924
  • Karma: 2556
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: SSD failure and Deja-Dup failure
« Reply #2 on: December 28, 2018, 08:55:03 am »
What do you see if you attempt to open one of these "difftar" files in archive manager ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline lswarte

  • Trusted User
  • Member
  • *****
  • Posts: 173
  • Karma: 200
  • Once a noob, always a noob.
    • View Profile
    • Facebook
  • Peppermint version(s): Peppermint 9
Re: SSD failure and Deja-Dup failure
« Reply #3 on: January 02, 2019, 04:03:41 pm »
I have been busy with this subject for days. So far with no success. I have not tried with the archive manager yet.

First I went to the command line.

Code: [Select]
duplicity list-current-files file:///media/joop/94ece50d-d453-41e4-b449-339097576dee

This resulted in a good result, hence, there is a valid backup on the disk.

Than I tried:
Code: [Select]
duplicity restore file:///media/joop/94ece50d-d453-41e4-b449-339097576dee /home/joop

which gave me the following output:
Code: [Select]
gpg: WARNING: unsafe ownership on homedir '/home/joop/.gnupg'
Restore destination directory /home already exists.
Will not overwrite.

Than I tried:
Code: [Select]
duplicity restore --force file:///media/joop/94ece50d-d453-41e4-b449-339097576dee /home/joop

which gave me the following output:
Code: [Select]
Last full backup date: Sat May 26 12:58:55 2018
GnuPG passphrase for decryption:

I have never given a passphrase for duplicity, hence I entered nothing:
Code: [Select]
Cannot use empty passphrase with symmetric encryption!  Please try again.
GnuPG passphrase for decryption:

I managed to retrieve the
Code: [Select]
.gnupg
folder and its content from the faulty SSD. I than replaced the current
Code: [Select]
.gnupg
with the one from the faulty SSD. Than I tried again:
Code: [Select]
duplicity restore --force file:///media/joop/94ece50d-d453-41e4-b449-339097576dee /home/joop

which gave me the following output:
Code: [Select]
gpg: WARNING: unsafe permissions on homedir '/home/joop/.gnupg'
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sat May 26 12:58:55 2018
GnuPG passphrase for decryption:
Error '[Errno 17] File exists' processing home/joop/.mozilla/firefox/s6sd02h0.default/lock
...

So far, I don't know what to do next. I have studied a lot of sources, but unfortunately my English is not always good enough to really grasp what is meant. I especially do not understand at all what is meant with this gpg stuff and the passphrase. While setting the backup I have never given a passphrase, hence I assumed I would be able to restore the backup without a passphrase, or, as I understand, with a password. Even if I use the password that my dad usually uses (he is 87) there is no result. Unfortunately the man stored 22000 eBooks in Calibre which are, so far, unreachable.

With kind regards,

Laurens Swarte
the Netherlands.

Offline lswarte

  • Trusted User
  • Member
  • *****
  • Posts: 173
  • Karma: 200
  • Once a noob, always a noob.
    • View Profile
    • Facebook
  • Peppermint version(s): Peppermint 9
Re: SSD failure and Deja-Dup failure
« Reply #4 on: January 13, 2019, 03:57:34 pm »
I can open any random difftar file with the archive manager.



With kind regards,

Laurens Swarte
the Netherlands

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22924
  • Karma: 2556
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: SSD failure and Deja-Dup failure
« Reply #5 on: January 13, 2019, 04:02:42 pm »
is your home partition encrypted .. either now, or when the backup was taken ?

What exactly are you trying to restore ? .. couldn't you just extract the files you need manually from the difftar ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline lswarte

  • Trusted User
  • Member
  • *****
  • Posts: 173
  • Karma: 200
  • Once a noob, always a noob.
    • View Profile
    • Facebook
  • Peppermint version(s): Peppermint 9
Re: SSD failure and Deja-Dup failure
« Reply #6 on: January 13, 2019, 04:10:27 pm »
No, the home partition was never encrypted. Not the current partition, nor the old one.

The idea was to restore the backup to the new disk, but for some reason it doesn't work ..... I could off course extract the difftar files, but I do not know how that will exactly work out since it is in incremental backup that has been made. The only full back up was made in May last year, the last incremental backup was made in December last year.

With kind regards,

Laurens Swarte
the Netherlands

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22924
  • Karma: 2556
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: SSD failure and Deja-Dup failure
« Reply #7 on: January 13, 2019, 04:31:54 pm »
What did deja-dup actually backup .. just your home folder ?

Maybe try extracting it to a disk that doesn't already contain a home folder .. at least you could then copy stuff across.

Beyond that, you're probably going to have to seek assistance from the application authors .. I'm afraid I've never used it.
« Last Edit: January 13, 2019, 08:17:33 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline samzike

  • nOOb
  • *
  • Posts: 1
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: SSD failure and Deja-Dup failure
« Reply #8 on: January 14, 2019, 03:29:34 am »
Maybe its an issue of your ssd, I recently Samsung 960 Pro, It is working aweosme for me, Maybe you have to change your SSD, And i hope your issue will be resolved.