LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-03-2012, 05:22 PM   #1
scorchgeek
LQ Newbie
 
Registered: Jul 2011
Posts: 25

Rep: Reputation: Disabled
Duplicity Backups Do Not Appear in Destination Location


I'm trying to set up a backup using duplicity. I'm backing up to my server in the basement, over a LAN. I can run duplicity just fine, with no errors--but the files don't appear in the destination directory. Yet I can verify and restore just fine!

I can scp files to that directory (using scp protocol for duplicity as well) and they show up normally. I also tried ls -al (as root, for good measure) to double-check that duplicity doesn't hide files.

To back up, I used the command:
Code:
soren@Alice:~$ duplicity /home/soren/Anki scp://soren@ser/mnt/fileserver/hello --encrypt-key 473B661D
("ser" is set to the server's ip address in /etc/hosts; I tried with the IP just in case)

...and to restore:
Code:
soren@Alice:~$ duplicity scp://soren@ser/mnt/fileserver/hello /home/soren/restoration --encrypt-key 473B661D
The files appear in the "restoration" directory as expected after running restore. It's like duplicity is copying and retrieving files from a black hole.

Am I just using ls wrong or something? I feel like it's probably going to be something stupid, but I can't think of what it would be.

Last edited by scorchgeek; 05-03-2012 at 05:23 PM. Reason: pasted command incorrectly
 
Old 05-03-2012, 05:38 PM   #2
scorchgeek
LQ Newbie
 
Registered: Jul 2011
Posts: 25

Original Poster
Rep: Reputation: Disabled
As I thought, I was being stupid. I forgot a double slash in the command; it should have been
Code:
soren@Alice:~$ duplicity /home/soren/Anki scp://soren@ser//mnt/fileserver/hello --encrypt-key 473B661D
So the files landed in /home/soren/mnt/fileserver/hello instead of /mnt/fileserver/hello as they should have. Hope this helps the next person who isn't paying attention...
 
  


Reply



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
LXer: Creating Encrypted FTP Backups With duplicity And ftplicity On Debian Lenny LXer Syndicated Linux News 0 04-23-2010 09:50 AM
LXer: Creating Encrypted FTP Backups With duplicity And ftplicity On Debian Etch LXer Syndicated Linux News 0 12-18-2007 11:20 PM
duplicity won't make incremental backups niehls Linux - Software 1 11-03-2007 06:55 AM
destination unavailable W/ vpn. All other net destination o.k. MikeOfAustin Linux - Networking 1 04-07-2007 04:42 PM
Duplicity problem ec3042 Linux - Software 0 09-02-2006 01:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:04 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
Open Source Consulting | Domain Registration