LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-08-2013, 04:34 PM   #16
michaelk
Moderator
 
Registered: Aug 2002
Posts: 17,614

Rep: Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340

Do you know how to use the terminal window? You can use the cd (change directory) command to navigate to the location of the archive files.

cd /media/username/archive_location (replace with the exact path)

The see what happens when you run the following command. Replace archive.gpg with an actual backup name and you can change mybackup.tar to anything else as long as it is not the same as an existing file in that same directory.

gpg archive.gpg -o mybackup.tar
 
1 members found this post helpful.
Old 10-08-2013, 04:53 PM   #17
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,261

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
You need to find where your backup files are stored. What shows location field when you choose "Restore" from deja-dup? If you have some graphical search tool (like kfind) use it to search "*.gpg" files inside "/media/kirsten" directory, if not use command line tool
Code:
find /media/kirsten -name '*.gpg'
For clarification show output of "mount" and "ls -la /media" and "ls -la /media/kirsten".

Last edited by eSelix; 10-08-2013 at 05:01 PM.
 
1 members found this post helpful.
Old 10-08-2013, 04:58 PM   #18
michaelk
Moderator
 
Registered: Aug 2002
Posts: 17,614

Rep: Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340
Many distributions are now configured to auto mount external media to /media/$USER/disk_name vs /media/disk_name. Did you delete the Kirsten directory when you plugged in the external hard drive?
 
1 members found this post helpful.
Old 10-08-2013, 05:12 PM   #19
Kirsten
Member
 
Registered: Aug 2012
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: Disabled
michaelk,

I'm somewhat acquainted with the terminal, just still pretty unskilled. Here's what I got:
Code:
kirsten@Nigel:/$ ls /media/kirsten
84bc4d28-103d-402d-b620-5cd162a4dd48  Oyen Digital UN2
kirsten@Nigel:/$ cd /media/kirsten/84bc4d28-103d-402d-b620-5cd162a4dd48
kirsten@Nigel:/media/kirsten/84bc4d28-103d-402d-b620-5cd162a4dd48$ gpg duplicity-new-signatures.20131004T181326Z.to.20131005T171257Z.sigtar.gpg -o tuesdaybackup.tar
usage: gpg [options] [filename]
Here's a question: Since my scheduled backups have been incremental, won't I need to start with the latest full backup? I'm willing to do that, of course, and go through steps to restore each one since, if need be. Only I don't know which is the latest full backup. The first listed file, from last March, is called
duplicity-full.20130318T121641Z.manifest.gpg
and is 7.2kb.
The next 194 files are named like this:
duplicity-full.20130918T163827Z.vol194.difftar.gpg
Each, it seems, is approximately 52.5MB, except that last, which is slightly smaller.
After that there are three files whose names begin with "duplicity-full-signatures" and end with "sigtar.gpg".
After that there are a mess of files starting "duplicity-inc" and finally several starting "duplicity-new".

Greek to me.

Thank you so much.
 
Old 10-08-2013, 05:21 PM   #20
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,032

Rep: Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788
It might not be as bad as indicated in that "disparaging tone." According to https://answers.launchpad.net/deja-dup/+question/130020,
Déjà Dup relies on duplicity to handle the encryption, and it uses gpg with a symmetric cipher. Basically, that means it is encrypted just with the password your provide. You will need to remember that password to restore your data.

If you choose to have Déjà Dup remember your password, it will be stored in the default GNOME keyring.
So, it all depends on whether you were entering the actual encryption password, or just unlocking your GNOME keyring so that duplicity could extract the encryption key from there. If the latter, your encryption key is truly gone and your data is unrecoverable.

If your password was being used directly, your problem now might just be with different defaults for encryption type between your old system and the new.
 
1 members found this post helpful.
Old 10-08-2013, 05:22 PM   #21
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,261

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
Show output of
Code:
duplicity -v8 list-current-files file:///media/kirsten/84bc4d28-103d-402d-b620-5cd162a4dd48

Last edited by eSelix; 10-08-2013 at 05:53 PM. Reason: Adding required "file://" to filepath
 
1 members found this post helpful.
Old 10-08-2013, 05:41 PM   #22
Kirsten
Member
 
Registered: Aug 2012
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: Disabled
eSelix,
Code:
$ duplicity -v8 list-current-files /media/kirsten/84bc4d28-103d-402d-b620-5cd162a4dd48
Using archive dir: /home/kirsten/.cache/duplicity/84d8a5a76a9e750d82ca9213338e6936
Using backup name: 84d8a5a76a9e750d82ca9213338e6936
Import of duplicity.backends.webdavbackend Succeeded
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.gdocsbackend Succeeded
Import of duplicity.backends.cloudfilesbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.u1backend Succeeded
Import of duplicity.backends.ftpsbackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.botobackend Succeeded
Bad URL '/media/kirsten/84bc4d28-103d-402d-b620-5cd162a4dd48'.
Examples of URL strings are "scp://user@host.net:1234/path" and
"file:///usr/local".  See the man page for more information.
Using temporary directory /tmp/duplicity-T1B5Ex-tempdir
Thanks.

And, rknichols, thanks for the hopeful words. I don't know what a GNOME keyring is, and I'm sure I never asked any part of my computer to remember the password for me.
 
Old 10-08-2013, 05:51 PM   #23
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,261

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
Sorry, it should be
Code:
duplicity -v8 list-current-files file:///media/kirsten/84bc4d28-103d-402d-b620-5cd162a4dd48
 
1 members found this post helpful.
Old 10-08-2013, 06:05 PM   #24
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,032

Rep: Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788Reputation: 1788
Quote:
Originally Posted by Kirsten View Post
I don't know what a GNOME keyring is, and I'm sure I never asked any part of my computer to remember the password for me.
Unfortunately, what "Ubuntu's automated backup" might have set up by default remains a question.
 
Old 10-08-2013, 06:05 PM   #25
Kirsten
Member
 
Registered: Aug 2012
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: Disabled
eSelix,

Code:
/$ duplicity -v8 list-current-files file:///media/kirsten/84bc4d28-103d-402d-b620-5cd162a4dd48
Using archive dir: /home/kirsten/.cache/duplicity/c05847108809f2667fe88432315d93d0
Using backup name: c05847108809f2667fe88432315d93d0
Import of duplicity.backends.webdavbackend Succeeded
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.gdocsbackend Succeeded
Import of duplicity.backends.cloudfilesbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.u1backend Succeeded
Import of duplicity.backends.ftpsbackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.botobackend Succeeded
Main action: list-current
================================================================================
duplicity 0.6.21 (January 23, 2013)
Args: /usr/bin/duplicity -v8 list-current-files file:///media/kirsten/84bc4d28-103d-402d-b620-5cd162a4dd48
Linux Nigel 3.8.0-31-generic #46-Ubuntu SMP Tue Sep 10 20:03:44 UTC 2013 x86_64 x86_64
/usr/bin/python 2.7.4 (default, Sep 26 2013, 03:20:26) 
[GCC 4.7.3]
================================================================================
[Errno 2] No such file or directory: '/media/kirsten/84bc4d28-103d-402d-b620-5cd162a4dd48'
Using temporary directory /tmp/duplicity-ZFFp82-tempdir
Could the error be because of that wanton /kirsten removal I talked about earlier?

Thanks.
 
Old 10-08-2013, 06:19 PM   #26
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,261

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
Now it is strange. Ealier you had this directory. In post #19 you did
Quote:
kirsten@Nigel:/$ cd /media/kirsten/84bc4d28-103d-402d-b620-5cd162a4dd48
And now you have no that directory
Quote:
[Errno 2] No such file or directory: '/media/kirsten/84bc4d28-103d-402d-b620-5cd162a4dd48'
Can you investigate this? Is your external drive still connected? What about output of commands
Code:
mount
ls -la /media
ls -la /media/kirsten

Last edited by eSelix; 10-08-2013 at 06:21 PM.
 
1 members found this post helpful.
Old 10-08-2013, 06:36 PM   #27
Kirsten
Member
 
Registered: Aug 2012
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: Disabled
eSelix,

I'm pretty certain I've not unplugged the external drive, even briefly, since Post #19. It is plugged in now, and it shows up normally in the file manager.

This sort of yes-there-is-no-there-isn't re directories under /media is quite like the trouble I was having with watching movies from DVD.
Code:
/$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfsd-fuse on /run/user/kirsten/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=kirsten)
/dev/sdb1 on /media/kirsten/Oyen Digital UN2 type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
Code:
/$ ls -la /media
total 12
drwxr-xr-x   3 root root 4096 Oct  8 12:26 .
drwxr-xr-x  24 root root 4096 Oct  8 13:08 ..
drwxr-x---+  3 root root 4096 Oct  8 18:51 kirsten
Code:
$ ls -la /media/kirsten
total 12
drwxr-x---+ 3 root    root    4096 Oct  8 18:51 .
drwxr-xr-x  3 root    root    4096 Oct  8 12:26 ..
drwx------  1 kirsten kirsten 4096 Mar 18  2013 Oyen Digital UN2
Does that help? Thanks!
 
Old 10-08-2013, 06:48 PM   #28
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,261

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
And what is inside "/media/kirsten/Oyen Digital UN2"?
Code:
ls -la '/media/kirsten/Oyen Digital UN2'
Maybe this external drive is unmounted automatically when not used... Can you show output of command:
Code:
sudo fdisk -l

Last edited by eSelix; 10-08-2013 at 06:52 PM.
 
1 members found this post helpful.
Old 10-08-2013, 06:56 PM   #29
Kirsten
Member
 
Registered: Aug 2012
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: Disabled
Code:
$ ls -la '/media/kirsten/Oyen Digital UN2'
total 316
drwx------  1 kirsten kirsten   4096 Mar 18  2013 .
drwxr-x---+ 3 root    root      4096 Oct  8 18:51 ..
drwx------  1 kirsten kirsten      0 Jul 10  2011 320 mp3
drwx------  1 kirsten kirsten      0 Jul  5  2012 Audiobooks
drwx------  1 kirsten kirsten   4096 Jan 24  2013 January 2013 backup
drwx------  1 kirsten kirsten      0 Jul 28  2012 July 2012 backup
drwx------  1 kirsten kirsten      0 May 21  2011 May 2011 Backup
drwx------  1 kirsten kirsten  57344 Jul 10  2011 My Music
drwx------  1 kirsten kirsten 245760 Oct  8 13:42 Nigel Ubuntu backups
drwx------  1 kirsten kirsten   4096 May 24  2012 Photos
drwx------  1 kirsten kirsten      0 May 21  2011 RECYCLER
-rw-------  1 kirsten kirsten      0 Jul  7  2011 RHA6A.tmp
drwx------  1 kirsten kirsten   4096 Feb 17  2013 System Volume Information
drwx------  1 kirsten kirsten      0 Feb 17  2013 .Trash-1000
Thank you for showing me the apostrophes. I've been having fits, not knowing how to work with multi-word file names.

The output for

Code:
$ ls -la '/media/kirsten/Oyen Digital UN2/Nigel Ubuntu backups'
was many, many lines. Scrolling back up to the top of the terminal just shows more of the same; the earlier commands are gone. The last four lines are:

Code:
-rw------- 1 kirsten kirsten   6978188 Oct  4 14:14 duplicity-new-signatures.20130926T151141Z.to.20131004T181326Z.sigtar.gpg
-rw------- 1 kirsten kirsten   3132266 Oct  5 12:51 duplicity-new-signatures.20131004T181326Z.to.20131005T165130Z.sigtar.gpg
-rw------- 1 kirsten kirsten   5560997 Oct  5 13:14 duplicity-new-signatures.20131004T181326Z.to.20131005T171257Z.sigtar.gpg
-rw------- 1 kirsten kirsten  15966208 Oct  5 13:08 .fuse_hidden000002a900000001
I entered the command again, and piped it to "less" (that's absolutely as sophisticated as I get in CLI). Here are the first five lines, for what it's worth:
Code:
total 27581917
drwx------ 1 kirsten kirsten    245760 Oct  8 13:42 .
drwx------ 1 kirsten kirsten      4096 Mar 18  2013 ..
-rw------- 1 kirsten kirsten      7159 Mar 18  2013 duplicity-full.20130318T121641Z.manifest.gpg
-rw------- 1 kirsten kirsten  52469030 Mar 18  2013 duplicity-full.20130318T121641Z.vol100.difftar.gpg
 
Old 10-08-2013, 07:30 PM   #30
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,261

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
So, this looks like your backups are in directory "/media/kirsten/Oyen Digital UN2/Nigel Ubuntu backups". Check if you get any error when invoke
Code:
duplicity -v8 list-current-files 'file:///media/kirsten/Oyen Digital UN2/Nigel Ubuntu backups'
If you get file list, enter this directory path in "Restore" window of "deja-dup".

To looking for these backup files you can use
Code:
find /media/kirsten -name '*.gpg'
Maybe there are other locations in your drive. Now I must go sleep, maybe people from other countries can continue this if needed.
 
1 members found this post helpful.
  


Reply

Tags
13.04, 64-bit, backup, encryption, password


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Computer password won't work fallbaker@netscape.net Linux - Newbie 1 01-14-2013 06:43 PM
Belkin USB wireless won't work with Xubuntu - restore my faith! senick Linux - Wireless Networking 21 07-20-2010 03:10 PM
best way to backup and restore /home directory and reinstall kubuntu ddrohan Linux - Newbie 2 12-03-2009 07:33 PM
HELP! - PHP scripts won't work after reinstall of Apache linuxfond Linux - Server 3 11-22-2008 05:03 AM
Backup and restore accounts and password jorasmi Slackware 1 02-17-2005 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration