Comment 5 for bug 1523498

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 1523498] Re: HTTPError: HTTP Error 404: Not Found

It sounds like you may need to create the directory before uploading to it.

On Mon, Dec 7, 2015 at 9:56 AM, adriankoooo <email address hidden> wrote:

> I tried on another bucket:
>
> FTP_PASSWORD=xy duplicity Dropbox/BackupUbuntu/scripts/
> b2://xy@newbucket/123/ -v9
>
> Duplicity fine create the 123 directory on b2 and uploads the backup.
>
> Immediately after that If I try to make backup to another directory on
> the b2:
>
> FTP_PASSWORD=xy duplicity Dropbox/BackupUbuntu/scripts/
> b2://xy@newbucket/123adrian/ -v9
>
> I get 404 error.
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/1523498
>
> Title:
> HTTPError: HTTP Error 404: Not Found
>
> Status in Duplicity:
> New
>
> Bug description:
> I am trying to use the new b2 plugin, but it works for one directory
> only. If I try to select another directory on b2, then I get this
> error:
>
> (/scripts dir working):
>
> @ubuntu:~$ FTP_PASSWORD=XY duplicy Dropbox/BackupUbuntu/scripts/
> b2://XY@bucket_name/scripts/
> Local and Remote metadata are synchronized, no sync needed.
> Last full backup date: Sat Dec 5 00:14:14 2015
> GnuPG passphrase:
> Retype passphrase to confirm:
> --------------[ Backup Statistics ]--------------
> StartTime 1449494533.93 (Mon Dec 7 14:22:13 2015)
> EndTime 1449494533.97 (Mon Dec 7 14:22:13 2015)
> ElapsedTime 0.04 (0.04 seconds)
> SourceFiles 6
> SourceFileSize 135695 (133 KB)
> NewFiles 2
> NewFileSize 30619 (29.9 KB)
> DeletedFiles 1
> ChangedFiles 0
> ChangedFileSize 0 (0 bytes)
> ChangedDeltaSize 0 (0 bytes)
> DeltaEntries 3
> RawDeltaSize 26523 (25.9 KB)
> TotalDestinationSizeChange 26690 (26.1 KB)
> Errors 0
> -------------------------------------------------
>
> not working directory (123/, of course it is exist in the bucket):
>
> @ubuntu:~$ FTP_PASSWORD=XY duplicity Dropbox/BackupUbuntu/scripts/
> b2://XY@bucket_name/123/
> Synchronizing remote metadata to local cache...
> GnuPG passphrase:
> Copying duplicity-full-signatures.20151204T231414Z.sigtar.gpg to local
> cache.
> Attempt 1 failed. HTTPError: HTTP Error 404: Not Found
> Attempt 2 failed. HTTPError: HTTP Error 404: Not Found
> Attempt 3 failed. HTTPError: HTTP Error 404: Not Found
> Attempt 4 failed. HTTPError: HTTP Error 404: Not Found
> Giving up after 5 attempts. HTTPError: HTTP Error 404: Not Found
>
> Already tried to delete .cache/duplicity/, not helped.
>
> v9 log:
>
> http://hopp.mihalko.eu/1RzBUrl
>
> Interesting it's showing 0.7.04, but not, I have 0.7.06 from your
> ubuntu repo.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1523498/+subscriptions
>