Backup failing (ftp, error 553)

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

Backup failing (ftp, error 553)

duplicity-talk mailing list
Per Subject.

What I am doing is
  duplicity --verbosity info --encrypt-sign-key=$GPG_KEY --log-file backup.log ~/Pictures/MyStuff ftp://foo:<SECRET!>@ftpserver//foo/MyStuff
and I then get some good data sent (and can see them on the ftp server):
  [...]
  Writing duplicity-full.20200519T173310Z.vol3.difftar.gpg
  Reading results of 'lftp -c "source /tmp/duplicity-eh6maW-tempdir/mkstemp-ZdZ0OJ-1; mkdir -p /foo/MyStuff/; put /tmp/duplicity-eh6maW-tempdir/mktemp-4MR95Y-5 -o /foo/MyStuff/duplicity-full.20200519T173310Z.vol3.difftar.gpg"'
  Deleting /tmp/duplicity-eh6maW-tempdir/mktemp-4MR95Y-5
  AsyncScheduler: task completed successfully

...until I get this:
  Writing duplicity-full.20200519T173310Z.vol4.difftar.gpg
  Reading results of 'lftp -c "source /tmp/duplicity-eh6maW-tempdir/mkstemp-ZdZ0OJ-1; mkdir -p /foo/MyStuff/; put   /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6 -o /foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg"'
  Giving up after 5 attempts. BackendException: Error running 'lftp -c "source /tmp/duplicity-eh6maW-tempdir/mkstemp-ZdZ0OJ-1; mkdir -p /foo/MyStuff/; put /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6 -o /foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg"': returned 1, with output:

  mkdir: Access failed: 550 foo/MyStuff/: File exists. (/foo/MyStuff/)
  put: /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6: Access failed: 553 foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg: Input/output error. (/foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg)


The log generated ends

WARNING 1
. Attempt 4 failed. BackendException: Error running 'lftp -c "source /tmp/duplicity-eh6maW-tempdir/mkstemp-ZdZ0OJ-1; mkdir -p /foo/MyStuff/; put /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6 -o /foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg"': returned 1, with output:
.
. mkdir: Access failed: 550 foo/MyStuff/: File exists. (/foo/MyStuff/)
. put: /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6: Access failed: 553 foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg: Input/output error. (/foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg)
.

INFO 1
. Writing duplicity-full.20200519T173310Z.vol4.difftar.gpg

INFO 1
. Reading results of 'lftp -c "source /tmp/duplicity-eh6maW-tempdir/mkstemp-ZdZ0OJ-1; mkdir -p /foo/MyStuff/; put /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6 -o /foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg"'

ERROR 50 put '/tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6' 'duplicity-full.20200519T173310Z.vol4.difftar.gpg'
. Giving up after 5 attempts. BackendException: Error running 'lftp -c "source /tmp/duplicity-eh6maW-tempdir/mkstemp-ZdZ0OJ-1; mkdir -p /foo/MyStuff/; put /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6 -o /foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg"': returned 1, with output:
.
. mkdir: Access failed: 550 foo/MyStuff/: File exists. (/foo/MyStuff/)
. put: /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6: Access failed: 553 foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg: Input/output error. (/foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg)
.

if that helps.

I don't understand why it should suddenly fail part way through. It now won't do anything at all (same error). Nothing changed on the ftp server configuration-wise (I can be sure of that because I'm the only one who has access and it's right there /points to the box, the other side of the room).

Can anyone help, please?

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

Re: Backup failing (ftp, error 553)

duplicity-talk mailing list
> It now won't do anything at all (same error).

I was mistaken. It overcomes the error when I try it again, but then fails again in the same place (vol 4)!

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

Re: Backup failing (ftp, error 553)

duplicity-talk mailing list
In reply to this post by duplicity-talk mailing list
On 19.05.2020 20:20, duplicityml--- via Duplicity-talk wrote:

> Per Subject.
>
> What I am doing is
>   duplicity --verbosity info --encrypt-sign-key=$GPG_KEY --log-file backup.log ~/Pictures/MyStuff ftp://foo:<SECRET!>@ftpserver//foo/MyStuff
> and I then get some good data sent (and can see them on the ftp server):
>   [...]
>   Writing duplicity-full.20200519T173310Z.vol3.difftar.gpg
>   Reading results of 'lftp -c "source /tmp/duplicity-eh6maW-tempdir/mkstemp-ZdZ0OJ-1; mkdir -p /foo/MyStuff/; put /tmp/duplicity-eh6maW-tempdir/mktemp-4MR95Y-5 -o /foo/MyStuff/duplicity-full.20200519T173310Z.vol3.difftar.gpg"'
>   Deleting /tmp/duplicity-eh6maW-tempdir/mktemp-4MR95Y-5
>   AsyncScheduler: task completed successfully
>
> ...until I get this:
>   Writing duplicity-full.20200519T173310Z.vol4.difftar.gpg
>   Reading results of 'lftp -c "source /tmp/duplicity-eh6maW-tempdir/mkstemp-ZdZ0OJ-1; mkdir -p /foo/MyStuff/; put   /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6 -o /foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg"'
>   Giving up after 5 attempts. BackendException: Error running 'lftp -c "source /tmp/duplicity-eh6maW-tempdir/mkstemp-ZdZ0OJ-1; mkdir -p /foo/MyStuff/; put /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6 -o /foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg"': returned 1, with output:
>
>   mkdir: Access failed: 550 foo/MyStuff/: File exists. (/foo/MyStuff/)
>   put: /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6: Access failed: 553 foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg: Input/output error. (/foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg)
>
>
> The log generated ends
>
> WARNING 1
> . Attempt 4 failed. BackendException: Error running 'lftp -c "source /tmp/duplicity-eh6maW-tempdir/mkstemp-ZdZ0OJ-1; mkdir -p /foo/MyStuff/; put /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6 -o /foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg"': returned 1, with output:
> .
> . mkdir: Access failed: 550 foo/MyStuff/: File exists. (/foo/MyStuff/)
> . put: /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6: Access failed: 553 foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg: Input/output error. (/foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg)
> .
>
> INFO 1
> . Writing duplicity-full.20200519T173310Z.vol4.difftar.gpg
>
> INFO 1
> . Reading results of 'lftp -c "source /tmp/duplicity-eh6maW-tempdir/mkstemp-ZdZ0OJ-1; mkdir -p /foo/MyStuff/; put /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6 -o /foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg"'
>
> ERROR 50 put '/tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6' 'duplicity-full.20200519T173310Z.vol4.difftar.gpg'
> . Giving up after 5 attempts. BackendException: Error running 'lftp -c "source /tmp/duplicity-eh6maW-tempdir/mkstemp-ZdZ0OJ-1; mkdir -p /foo/MyStuff/; put /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6 -o /foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg"': returned 1, with output:
> .
> . mkdir: Access failed: 550 foo/MyStuff/: File exists. (/foo/MyStuff/)
> . put: /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6: Access failed: 553 foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg: Input/output error. (/foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg)
> .
>
> if that helps.
>
> I don't understand why it should suddenly fail part way through. It now won't do anything at all (same error). Nothing changed on the ftp server configuration-wise (I can be sure of that because I'm the only one who has access and it's right there /points to the box, the other side of the room).
>
> Can anyone help, please?

sure. 553 is an ftp error that occurs on the server side. search the web
https://bobcares.com/blog/ftp-error-553/

especially your error says
> . mkdir: Access failed: 550 foo/MyStuff/: File exists. (/foo/MyStuff/)
> . put: /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6: Access failed: 553 foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg: Input/output error. (/foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg)

which is ok for the first error. it can be ignored.
but the second should not occur. not sure what's up on your server there. maybe some file system corruption or is it full maybe?

..ede/duply.net

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

Re: Backup failing (ftp, error 553)

duplicity-talk mailing list
> Sent: Tuesday, May 19, 2020 at 7:31 PM
> From: "edgar.soldin--- via Duplicity-talk" <[hidden email]>

> > . mkdir: Access failed: 550 foo/MyStuff/: File exists. (/foo/MyStuff/)
> > . put: /tmp/duplicity-eh6maW-tempdir/mktemp-3OAXaU-6: Access failed: 553 foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg: Input/output error. (/foo/MyStuff/duplicity-full.20200519T173310Z.vol4.difftar.gpg)
>
> which is ok for the first error. it can be ignored.

Okay, thank you.

> but the second should not occur. not sure what's up on your server there. maybe some file system corruption or is it full maybe?

Not full, but it wouldn't mount when connected directly to a computer so I've fixed that issue, which was something to do with it not having been dismounted cleanly, and have been running some checks on the unit since last night. Nothing has shown up so far. I don't know whether I can trust it long-term but I can at least do some more testing using it, even if I have to buy a new one.

Thanks for your help. If you don't hear anything more from me, it's fixed.

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