← Back to team overview

duplicity-team team mailing list archive

Re: [Question #250357]: FTP fails from root directory

 

Question #250357 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/250357

    Status: Open => Answered

Kenneth Loafman proposed the following answer:
Try *ftp://ftpuser@1.2.3.4//serverbak <ftp://ftpuser@1.2.3.4//serverbak>* (note
two slashes before serverbak).  One slash makes it a relative directory to
the user home, two make it absolute.


On Tue, Jun 17, 2014 at 8:26 AM, gobbo <question250357@xxxxxxxxxxxxxxxxxxxxx
> wrote:

> Question #250357 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/250357
>
>     Status: Answered => Open
>
> gobbo is still having a problem:
> Ken,
> thanks for your quick reply!
> I installed 0.6.24 now but still the same behaviour. Here the log you
> asked for:
>
> Using archive dir:
> /home/username/.cache/duplicity/1c41714b35828a345bd61cea3e3ee9c4
> Using backup name: 1c41714b35828a345bd61cea3e3ee9c4
> Import of duplicity.backends.botobackend Succeeded
> Import of duplicity.backends.cfbackend Succeeded
> Import of duplicity.backends.dpbxbackend Succeeded
> Import of duplicity.backends.ftpbackend Succeeded
> Import of duplicity.backends.ftpsbackend Succeeded
> Import of duplicity.backends.gdocsbackend Succeeded
> Import of duplicity.backends.hsibackend Succeeded
> Import of duplicity.backends.imapbackend Succeeded
> Import of duplicity.backends.localbackend Succeeded
> Import of duplicity.backends.megabackend Succeeded
> Import of duplicity.backends.rsyncbackend Succeeded
> Import of duplicity.backends.sshbackend Succeeded
> Import of duplicity.backends.swiftbackend Succeeded
> Import of duplicity.backends.tahoebackend Succeeded
> Import of duplicity.backends.webdavbackend Succeeded
> Import of duplicity.backends.~par2wrapperbackend Succeeded
> NcFTP version is 3.2.5
> Using temporary directory /tmp/duplicity-g1T0QC-tempdir
> Registering (mkstemp) temporary file
> /tmp/duplicity-g1T0QC-tempdir/mkstemp-i1Jfqy-1
> Main action: inc
>
> ================================================================================
> duplicity 0.6.24 (May 09, 2014)
> Args: /usr/local/bin/duplicity -v9 /backuptester
> ftp://ftpuser@1.2.3.4/serverbak
> Linux ######################## 3.2.0-63-generic #95-Ubuntu SMP Thu May 15
> 23:05:57 UTC 2014 x86_64 x86_64
> /usr/bin/python 2.7.3 (default, Feb 27 2014, 19:58:35)
> [GCC 4.6.3]
>
> ================================================================================
> Registering (mkstemp) temporary file
> /tmp/duplicity-g1T0QC-tempdir/mkstemp-_1jobE-2
> Temp has 17402576896 available, backup will use approx 34078720.
> Reading results of 'ncftpls -f
> /tmp/duplicity-g1T0QC-tempdir/mkstemp-i1Jfqy-1 -F -t 30 -o
> useCLNT=0,useHELP_SITE=0  -l 'ftp://1.2.3.4/serverbak/''
> Local and Remote metadata are synchronized, no sync needed.
> Reading results of 'ncftpls -f
> /tmp/duplicity-g1T0QC-tempdir/mkstemp-i1Jfqy-1 -F -t 30 -o
> useCLNT=0,useHELP_SITE=0  -l 'ftp://1.2.3.4/serverbak/''
> 2 files exist on backend
> 4 files exist in cache
> Extracting backup chains from list of files:
> [u'duplicity-full-signatures.20140617T120808Z.sigtar.part',
> u'duplicity-full.20140617T120808Z.manifest.part', u'bak', u'todo.txt']
> File duplicity-full-signatures.20140617T120808Z.sigtar.part is not part of
> a known set; creating new set
> Ignoring file (rejected by backup set)
> 'duplicity-full-signatures.20140617T120808Z.sigtar.part'
> File duplicity-full.20140617T120808Z.manifest.part is not part of a known
> set; creating new set
> File bak is not part of a known set; creating new set
> Ignoring file (rejected by backup set) 'bak'
> File todo.txt is not part of a known set; creating new set
> Ignoring file (rejected by backup set) 'todo.txt'
> Found backup chain [Tue Jun 17 14:08:08 2014]-[Tue Jun 17 14:08:08 2014]
> Last full backup left a partial set, restarting.
> Last full backup date: Tue Jun 17 14:08:08 2014
> Collection Status
> -----------------
> Connecting with backend: FTPBackend
> Archive dir:
> /home/username/.cache/duplicity/1c41714b35828a345bd61cea3e3ee9c4
>
> Found 0 secondary backup chains.
>
> Found primary backup chain with matching signature chain:
> -------------------------
> Chain start time: Tue Jun 17 14:08:08 2014
> Chain end time: Tue Jun 17 14:08:08 2014
> Number of contained backup sets: 1
> Total number of contained volumes: 0
>  Type of backup set:                            Time:      Num volumes:
> -------------------------
> No orphaned or incomplete backup sets found.
> RESTART: The first volume failed to upload before termination.
>          Restart is impossible...starting backup from beginning.
> Deleting
> /home/username/.cache/duplicity/1c41714b35828a345bd61cea3e3ee9c4/duplicity-full-signatures.20140617T120808Z.sigtar.part
> Deleting
> /home/username/.cache/duplicity/1c41714b35828a345bd61cea3e3ee9c4/duplicity-full.20140617T120808Z.manifest.part
> Releasing lockfile <lockfile.LinkFileLock instance at 0x1c625a8>
> Using archive dir:
> /home/username/.cache/duplicity/1c41714b35828a345bd61cea3e3ee9c4
> Using backup name: 1c41714b35828a345bd61cea3e3ee9c4
> Import of duplicity.backends.botobackend Succeeded
> Import of duplicity.backends.cfbackend Succeeded
> Import of duplicity.backends.dpbxbackend Succeeded
> Import of duplicity.backends.ftpbackend Succeeded
> Import of duplicity.backends.ftpsbackend Succeeded
> Import of duplicity.backends.gdocsbackend Succeeded
> Import of duplicity.backends.hsibackend Succeeded
> Import of duplicity.backends.imapbackend Succeeded
> Import of duplicity.backends.localbackend Succeeded
> Import of duplicity.backends.megabackend Succeeded
> Import of duplicity.backends.rsyncbackend Succeeded
> Import of duplicity.backends.sshbackend Succeeded
> Import of duplicity.backends.swiftbackend Succeeded
> Import of duplicity.backends.tahoebackend Succeeded
> Import of duplicity.backends.webdavbackend Succeeded
> Import of duplicity.backends.~par2wrapperbackend Succeeded
> NcFTP version is 3.2.5
> Using temporary directory /tmp/duplicity-y4vFEF-tempdir
> Registering (mkstemp) temporary file
> /tmp/duplicity-y4vFEF-tempdir/mkstemp-FKCmLm-1
> Main action: inc
>
> ================================================================================
> duplicity 0.6.24 (May 09, 2014)
> Args: /usr/local/bin/duplicity -v9 /backuptester
> ftp://ftpuser@1.2.3.4/serverbak
> Linux ######################## 3.2.0-63-generic #95-Ubuntu SMP Thu May 15
> 23:05:57 UTC 2014 x86_64 x86_64
> /usr/bin/python 2.7.3 (default, Feb 27 2014, 19:58:35)
> [GCC 4.6.3]
>
> ================================================================================
> Registering (mkstemp) temporary file
> /tmp/duplicity-y4vFEF-tempdir/mkstemp-kI1TeC-2
> Temp has 17402564608 available, backup will use approx 34078720.
> Reading results of 'ncftpls -f
> /tmp/duplicity-y4vFEF-tempdir/mkstemp-FKCmLm-1 -F -t 30 -o
> useCLNT=0,useHELP_SITE=0  -l 'ftp://1.2.3.4/serverbak/''
> Local and Remote metadata are synchronized, no sync needed.
> Reading results of 'ncftpls -f
> /tmp/duplicity-y4vFEF-tempdir/mkstemp-FKCmLm-1 -F -t 30 -o
> useCLNT=0,useHELP_SITE=0  -l 'ftp://1.2.3.4/serverbak/''
> 2 files exist on backend
> 2 files exist in cache
> Extracting backup chains from list of files: [u'bak', u'todo.txt']
> File bak is not part of a known set; creating new set
> Ignoring file (rejected by backup set) 'bak'
> File todo.txt is not part of a known set; creating new set
> Ignoring file (rejected by backup set) 'todo.txt'
> Last full backup date: none
> Collection Status
> -----------------
> Connecting with backend: FTPBackend
> Archive dir:
> /home/username/.cache/duplicity/1c41714b35828a345bd61cea3e3ee9c4
>
> Found 0 secondary backup chains.
> No backup chains with active signatures found
> No orphaned or incomplete backup sets found.
> No signatures found, switching to full backup.
> Using temporary directory
> /home/username/.cache/duplicity/1c41714b35828a345bd61cea3e3ee9c4/duplicity-xb5W3i-tempdir
> Registering (mktemp) temporary file
> /home/username/.cache/duplicity/1c41714b35828a345bd61cea3e3ee9c4/duplicity-xb5W3i-tempdir/mktemp-31BtG0-1
> Using temporary directory
> /home/username/.cache/duplicity/1c41714b35828a345bd61cea3e3ee9c4/duplicity-IJDLXv-tempdir
> Registering (mktemp) temporary file
> /home/username/.cache/duplicity/1c41714b35828a345bd61cea3e3ee9c4/duplicity-IJDLXv-tempdir/mktemp-tmvda2-1
> AsyncScheduler: instantiating at concurrency 0
> Registering (mktemp) temporary file
> /tmp/duplicity-y4vFEF-tempdir/mktemp-O5vVuK-3
> Selecting /backuptester
> Comparing . and None
> Getting delta of (. dir) and None
> A .
> Selecting /backuptester/file.txt
> Comparing file.txt and None
> Getting delta of (file.txt reg) and None
> A file.txt
> Selecting /backuptester/file2.txt
> Comparing file2.txt and None
> Getting delta of (file2.txt reg) and None
> A file2.txt
> Removing still remembered temporary file
> /home/username/.cache/duplicity/1c41714b35828a345bd61cea3e3ee9c4/duplicity-xb5W3i-tempdir/mktemp-31BtG0-1
> Removing still remembered temporary file
> /home/username/.cache/duplicity/1c41714b35828a345bd61cea3e3ee9c4/duplicity-IJDLXv-tempdir/mktemp-tmvda2-1
> AsyncScheduler: running task synchronously (asynchronicity disabled)
> Reading results of 'ncftpput -f
> /tmp/duplicity-y4vFEF-tempdir/mkstemp-FKCmLm-1 -F -t 30 -o
> useCLNT=0,useHELP_SITE=0  -m -V -C
> '/tmp/duplicity-y4vFEF-tempdir/mktemp-O5vVuK-3'
> 'serverbak/duplicity-full.20140617T120904Z.vol1.difftar.gpg''
> Running 'ncftpput -f /tmp/duplicity-y4vFEF-tempdir/mkstemp-FKCmLm-1 -F -t
> 30 -o useCLNT=0,useHELP_SITE=0  -m -V -C
> '/tmp/duplicity-y4vFEF-tempdir/mktemp-O5vVuK-3'
> 'serverbak/duplicity-full.20140617T120904Z.vol1.difftar.gpg'' failed with
> code 3 (attempt #1)
> Error is:
> ncftpput serverbak/duplicity-full.20140617T120904Z.vol1.difftar.gpg:
> server said: Permission denied.
>
> Releasing lockfile <lockfile.LinkFileLock instance at 0x1e7a5a8>
> Removing still remembered temporary file
> /tmp/duplicity-y4vFEF-tempdir/mkstemp-FKCmLm-1
> Removing still remembered temporary file
> /tmp/duplicity-y4vFEF-tempdir/mktemp-O5vVuK-3
> Removing still remembered temporary file
> /tmp/duplicity-y4vFEF-tempdir/mkstemp-kI1TeC-2
> INT intercepted...exiting.
>
> --
> You received this question notification because you are a member of
> duplicity-team, which is an answer contact for Duplicity.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~duplicity-team
> Post to     : duplicity-team@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~duplicity-team
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because you are a member of
duplicity-team, which is an answer contact for Duplicity.