Hi there,

I would like to add that, after multiple tests, "u1+http://Ubuntu%20One"; and 
"u1://one.ubuntu.com/Ubuntu%20One" are the only two URIs that work for me.

Both send the files at the root of the Ubuntu One repository. The documented 
format allows to specify a directory in which to store the files, but it 
doesn't seem to work. See below for a few tests (using duplicity 0.6.20-3 and 
/etc/vim as a source directory).

Cheers,

  Matteo

P.S.: Thank you Mattia for reporting a working URI in the first place!


***

$ duplicity --encrypt-key A329126B --sign-key A329126B --use-agent /etc/vim 
'u1+http://Ubuntu%20One'
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
No signatures found, switching to full backup.
--------------[ Backup Statistics ]--------------
StartTime 1362519019.54 (Tue Mar  5 16:30:19 2013)
EndTime 1362519019.54 (Tue Mar  5 16:30:19 2013)
ElapsedTime 0.00 (0.00 seconds)
SourceFiles 3
SourceFileSize 6951 (6.79 KB)
NewFiles 3
NewFileSize 6951 (6.79 KB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 3
RawDeltaSize 2855 (2.79 KB)
TotalDestinationSizeChange 2894 (2.83 KB)
Errors 0
-------------------------------------------------

$ duplicity --encrypt-key A329126B --sign-key A329126B --use-agent /etc/vim 
'u1+http://Ubuntu%20One/foo'
[after a long time:]
Giving up on request after 5 attempts, last status 403 FORBIDDEN

$ duplicity --encrypt-key A329126B --sign-key A329126B --use-agent /etc/vim 
'u1+http://foo'
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
No signatures found, switching to full backup.
[a ~/foo directory appears in "My synced folders" in the Ubuntu One web 
interface]
[after a long time:]
Giving up on request after 5 attempts, last exception 'ascii' codec can't 
decode byte 0x85 in position 0: ordinal not in range(128)

$ duplicity --encrypt-key A329126B --sign-key A329126B --use-agent /etc/vim 
'u1+http://foo/bar'
[after a long time:]
Giving up on request after 5 attempts, last status 403 FORBIDDEN


After creating the foo and foo/bar directories in the Ubuntu One web 
interface, I get a different result with the latter command (same results with 
all of the other commands):

$ duplicity --encrypt-key A329126B --sign-key A329126B --use-agent /etc/vim 
'u1+http://foo/bar'
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
No signatures found, switching to full backup.
[a ~/foo/bar directory appears in "My synced folders" in the Ubuntu One web 
interface]
[after a long time:]
Giving up on request after 5 attempts, last exception 'ascii' codec can't 
decode byte 0x85 in position 0: ordinal not in range(128)

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to