duplicity failing if source is scp://

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

duplicity failing if source is scp://

Piotr Karbowski
Hi there,

I am trying backup remote webhost with duplicity, with no lock.

$ duplicity scp://[hidden email]/public_html /home/me/backups/site
GnuPG passphrase:
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
Traceback (most recent call last):
   File "/usr/bin/duplicity", line 1245, in <module>
     with_tempdir(main)
   File "/usr/bin/duplicity", line 1238, in with_tempdir
     fn()
   File "/usr/bin/duplicity", line 1192, in main
     restore(col_stats)
   File "/usr/bin/duplicity", line 539, in restore
     restore_get_patched_rop_iter(col_stats)):
   File "/usr/bin/duplicity", line 561, in restore_get_patched_rop_iter
     backup_chain = col_stats.get_backup_chain_at_time(time)
   File "/usr/lib64/python2.6/site-packages/duplicity/collections.py",
line 939, in get_backup_chain_at_time
     raise CollectionsError("No backup chains found")
CollectionsError: No backup chains found

But I can backup local dir to this remote server with scp:// as target.

Duplicity 0.6.11, python 2.6.5.

-- Piotr.

_______________________________________________
Duplicity-talk mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: duplicity failing if source is scp://

Kenneth Loafman
What you have specified is actually a restore.  Duplicity cannot backup from a URL.

See the man page.

...Ken

On Tue, Dec 7, 2010 at 3:10 PM, Piotr Karbowski <[hidden email]> wrote:
Hi there,

I am trying backup remote webhost with duplicity, with no lock.

$ duplicity scp://user@.../public_html /home/me/backups/site
GnuPG passphrase:
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
Traceback (most recent call last):
 File "/usr/bin/duplicity", line 1245, in <module>
   with_tempdir(main)
 File "/usr/bin/duplicity", line 1238, in with_tempdir
   fn()
 File "/usr/bin/duplicity", line 1192, in main
   restore(col_stats)
 File "/usr/bin/duplicity", line 539, in restore
   restore_get_patched_rop_iter(col_stats)):
 File "/usr/bin/duplicity", line 561, in restore_get_patched_rop_iter
   backup_chain = col_stats.get_backup_chain_at_time(time)
 File "/usr/lib64/python2.6/site-packages/duplicity/collections.py", line 939, in get_backup_chain_at_time
   raise CollectionsError("No backup chains found")
CollectionsError: No backup chains found

But I can backup local dir to this remote server with scp:// as target.

Duplicity 0.6.11, python 2.6.5.

-- Piotr.

_______________________________________________
Duplicity-talk mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/duplicity-talk


_______________________________________________
Duplicity-talk mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: duplicity failing if source is scp://

Piotr Karbowski
On 12/07/2010 10:28 PM, Kenneth Loafman wrote:
> What you have specified is actually a restore.  Duplicity cannot backup from
> a URL.
>
> See the man page.

SYNOPSIS
        duplicity [options] source_directory target_url
        duplicity [options] source_url target_directory

to restore I need --restore-too. In man it looks like I *can* backup
remote dir over scp.

I think it should be cleaner in man that duplicity can't backup remote dir.

-- Piotr.

_______________________________________________
Duplicity-talk mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: duplicity failing if source is scp://

Kenneth Loafman


On Tue, Dec 7, 2010 at 3:39 PM, Piotr Karbowski <[hidden email]> wrote:
On 12/07/2010 10:28 PM, Kenneth Loafman wrote:
What you have specified is actually a restore.  Duplicity cannot backup from
a URL.

See the man page.

SYNOPSIS
      duplicity [options] source_directory target_url
      duplicity [options] source_url target_directory

to restore I need --restore-too. In man it looks like I *can* backup remote dir over scp.

I think it should be cleaner in man that duplicity can't backup remote dir.

I'll agree.  One wishlist item is just that ability.  Someday...

...Ken
 

_______________________________________________
Duplicity-talk mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: duplicity failing if source is scp://

edgar.soldin
In reply to this post by Piotr Karbowski
added as bug: fix documentation: duplicity can't backup a remote folder
https://bugs.launchpad.net/duplicity/+bug/687291

ede/duply.net


On 07.12.2010 22:39, Piotr Karbowski wrote:

> On 12/07/2010 10:28 PM, Kenneth Loafman wrote:
>> What you have specified is actually a restore. Duplicity cannot backup from
>> a URL.
>>
>> See the man page.
>
> SYNOPSIS
> duplicity [options] source_directory target_url
> duplicity [options] source_url target_directory
>
> to restore I need --restore-too. In man it looks like I *can* backup remote dir over scp.
>
> I think it should be cleaner in man that duplicity can't backup remote dir.
>
> -- Piotr.
>
> _______________________________________________
> Duplicity-talk mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk

_______________________________________________
Duplicity-talk mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/duplicity-talk