directory commands in linux

Asked by Loren41

I am trying to use Duplicity in terminal but can't identify the file commands properly.
A copies of my Deja Dup backup files are located in /home/loren
My destination directory is /tmp/restore

The command I tried to execute is duplicity --gio --no-encryption file:/home/loren /tmp/restore

Why can't the program find the files?

Question information

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

You're missing a couple slashes. It should be:

duplicity --gio --no-encryption file:///home/loren /tmp/restore

Revision history for this message
Loren41 (loren41) said :
#2

I executed the command with your corrections. The write seems to have failed. /tmp/restore contains zero files.

loren@loren-laptop:/$ duplicity --gio --no-encryption file:///home/loren /tmp/restore
Synchronizing remote metadata to local cache...
Copying duplicity-full.20110216T153127Z.manifest to local cache.
Write of '/tmp/duplicity-6rHrkK-tempdir/mktemp-jbeTZk-2' failed (attempt 1): Error: Error stating file '/home/loren/duplicity-full.20110216T153127Z.manifest': No such file or directory
Write of '/tmp/duplicity-6rHrkK-tempdir/mktemp-jbeTZk-2' failed (attempt 2): Error: Error stating file '/home/loren/duplicity-full.20110216T153127Z.manifest': No such file or directory
Write of '/tmp/duplicity-6rHrkK-tempdir/mktemp-jbeTZk-2' failed (attempt 3): Error: Error stating file '/home/loren/duplicity-full.20110216T153127Z.manifest': No such file or directory
Write of '/tmp/duplicity-6rHrkK-tempdir/mktemp-jbeTZk-2' failed (attempt 4): Error: Error stating file '/home/loren/duplicity-full.20110216T153127Z.manifest': No such file or directory
Write of '/tmp/duplicity-6rHrkK-tempdir/mktemp-jbeTZk-2' failed (attempt 5): Error: Error stating file '/home/loren/duplicity-full.20110216T153127Z.manifest': No such file or directory
Error stating file '/home/loren/duplicity-full.20110216T153127Z.manifest': No such file or directory

Revision history for this message
Loren41 (loren41) said :
#3

I executed a full backup command after setting the file locations to
match your instructions and the backup executed successfully. I note
that the files in /tmp/restore now have the extension .gz whereas the
files I originally tried to restore used the .gpg extension. Why are
they different?

On Sun, 2011-07-03 at 19:01 +0000, Loren41 wrote:
> Your question #163628 on Déjà Dup changed:
> https://answers.launchpad.net/deja-dup/+question/163628
>
> Status: Answered => Open
>
> You are still having a problem:
> I executed the command with your corrections. The write seems to have
> failed. /tmp/restore contains zero files.
> Copying duplicity-full.20110216T153127Z.manifest to local cache.
> Write of '/tmp/duplicity-6rHrkK-tempdir/mktemp-jbeTZk-2' failed (attempt 1): Error: Error stating file '/home/loren/duplicity-full.20110216T153127Z.manifest': No such file or directory
> Write of '/tmp/duplicity-6rHrkK-tempdir/mktemp-jbeTZk-2' failed (attempt 2): Error: Error stating file '/home/loren/duplicity-full.20110216T153127Z.manifest': No such file or directory
> Write of '/tmp/duplicity-6rHrkK-tempdir/mktemp-jbeTZk-2' failed (attempt 3): Error: Error stating file '/home/loren/duplicity-full.20110216T153127Z.manifest': No such file or directory
> Write of '/tmp/duplicity-6rHrkK-tempdir/mktemp-jbeTZk-2' failed (attempt 4): Error: Error stating file '/home/loren/duplicity-full.20110216T153127Z.manifest': No such file or directory
> Write of '/tmp/duplicity-6rHrkK-tempdir/mktemp-jbeTZk-2' failed (attempt 5): Error: Error stating file '/home/loren/duplicity-full.20110216T153127Z.manifest': No such file or directory
> Error stating file '/home/loren/duplicity-full.20110216T153127Z.manifest': No such file or directory
>

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

One set is encrypted (gpg ending), the other is not (gz ending). Could that have been your problem originally? Because you were using the --no-encryption argument. So that might explain why you got errors and no restored files.

Can you help with this problem?

Provide an answer of your own, or ask Loren41 for more information if necessary.

To post a message you must log in.