Page 1 of 1
Backup problem
Posted: 01 Aug 2011, 11:24
by pcrene
Hello All,
Since the last update (nice backup interface) i get this error message:
BackendException: Error running 'ncftpput -f /tmp/duplicity-_wUKP7-tempdir/mkstemp-jsz_IK-1 -F -t 30 -o useCLNT=0,useHELP_SITE=0 -m -V -C '/tmp/duplicity-_wUKP7-tempdir/mktemp-nI1Vi8-3' './rene/duplicity-full.20110801T151032Z.vol1.difftar.gz''
Has any one an idea?
And, cant seem to find it, but i want to backup a complete user BUT dont want to backup for instance the download folder. How can i do this? In the prior version i could exclude maps.
Rene
Re: Backup problem
Posted: 01 Aug 2011, 11:43
by carl
Can you see what it says in any relevant log files under /var/log/backup?
Re: Backup problem
Posted: 01 Aug 2011, 12:22
by pcrene
Hello Carl,
I just see illegal filename in the logging:
Code: Select all
INFO 1
. Using archive dir: /home/admin/.backup/rene/archives/7c2e76205b0b0628fd3e16f0be3277b6
INFO 1
. Using backup name: 7c2e76205b0b0628fd3e16f0be3277b6
INFO 1
. Import of duplicity.backends.webdavbackend Succeeded
INFO 1
. Import of duplicity.backends.hsibackend Succeeded
INFO 1
. Import of duplicity.backends.giobackend Succeeded
INFO 1
. Import of duplicity.backends.localbackend Succeeded
INFO 1
. Import of duplicity.backends.rsyncbackend Succeeded
INFO 1
. Import of duplicity.backends.ftpbackend Succeeded
INFO 1
. Import of duplicity.backends.ftpsbackend Succeeded
INFO 1
. Import of duplicity.backends.cloudfilesbackend Succeeded
INFO 1
. Import of duplicity.backends.imapbackend Succeeded
INFO 1
. Import of duplicity.backends.tahoebackend Succeeded
INFO 1
. Import of duplicity.backends.sshbackend Succeeded
INFO 1
. Import of duplicity.backends.botobackend Succeeded
NOTICE 1. NcFTP version is 3.2.4
INFO 1
. Using temporary directory /tmp/duplicity-exnvMj-tempdir
NOTICE 1
. Reading globbing filelist /home/admin/.backup/rene/excludeglob.list
NOTICE 1
. Reading globbing filelist /home/admin/.backup/rene/includeglob.list
INFO 1
. Main action: inc
INFO 1
. ================================================================================
INFO 1
. duplicity 0.6.13 (April 02, 2011)
INFO 1
. Args: /usr/bin/duplicity --time-separator . -v 5 --full-if-older-than 6M --no-encryption --num-retries 2 --volsize 5 --log-file /var/log/backup/admin/rene/2011-08-01-17:10:25.log --archive-dir /home/admin/.backup/rene/archives --exclude-globbing-file /home/admin/.backup/rene/excludeglob.list --include-globbing-file /home/admin/.backup/rene/includeglob.list --include /home/admin/.backup/rene/fileinfo --include /home/admin/.backup/rene/*glob.list --include /home/admin/.backup/rene/jobdata --exclude ** /home ftp://[email protected]/./rene
INFO 1
. Linux SERVER9 2.6.38 #1 Tue Mar 22 16:27:55 CET 2011 armv5tel
INFO 1
. /usr/bin/python 2.6.6 (r266:84292, Dec 27 2010, 21:57:32)
. [GCC 4.4.5 20100902 (prerelease)]
INFO 1
. ================================================================================
INFO 1
. Temp has 7340584960 available, backup will use approx 6815744.
INFO 1
. Reading results of 'ncftpls -f /tmp/duplicity-exnvMj-tempdir/mkstemp-majEMw-1 -F -t 30 -o useCLNT=0,useHELP_SITE=0 -l 'ftp://192.168.1.210/./rene/''
NOTICE 1
. Reading results of 'ncftpls -f /tmp/duplicity-exnvMj-tempdir/mkstemp-majEMw-1 -F -t 30 -o useCLNT=0,useHELP_SITE=0 -l 'ftp://192.168.1.210/./rene/''
NOTICE 1
. Last full backup left a partial set, restarting.
NOTICE 1
. Last full backup date: Mon Aug 1 01:00:08 2011
NOTICE 1
. RESTART: The first volume failed to upload before termination.
. Restart is impossible...starting backup from beginning.
INFO 1
. Reading results of 'ncftpls -f /tmp/duplicity-exnvMj-tempdir/mkstemp-majEMw-1 -F -t 30 -o useCLNT=0,useHELP_SITE=0 -X 'DELE duplicity-full.20110731T230008Z.manifest.part' 'ftp://192.168.1.210/./rene/''
INFO 1
. Deleting /home/admin/.backup/rene/archives/7c2e76205b0b0628fd3e16f0be3277b6/duplicity-full.20110731T230008Z.manifest.part
INFO 1
. Deleting /home/admin/.backup/rene/archives/7c2e76205b0b0628fd3e16f0be3277b6/duplicity-full-signatures.20110731T230008Z.sigtar.part
INFO 1
. Using archive dir: /home/admin/.backup/rene/archives/7c2e76205b0b0628fd3e16f0be3277b6
INFO 1
. Using backup name: 7c2e76205b0b0628fd3e16f0be3277b6
INFO 1
. Import of duplicity.backends.webdavbackend Succeeded
INFO 1
. Import of duplicity.backends.hsibackend Succeeded
INFO 1
. Import of duplicity.backends.giobackend Succeeded
INFO 1
. Import of duplicity.backends.localbackend Succeeded
INFO 1
. Import of duplicity.backends.rsyncbackend Succeeded
. Import of duplicity.backends.ftpbackend Succeeded
INFO 1
. Import of duplicity.backends.ftpsbackend Succeeded
INFO 1
. Import of duplicity.backends.cloudfilesbackend Succeeded
INFO 1
. Import of duplicity.backends.imapbackend Succeeded
INFO 1
. Import of duplicity.backends.tahoebackend Succeeded
INFO 1
. Import of duplicity.backends.sshbackend Succeeded
INFO 1
. Import of duplicity.backends.botobackend Succeeded
NOTICE 1
. NcFTP version is 3.2.4
INFO 1
. Using temporary directory /tmp/duplicity-_wUKP7-tempdir
NOTICE 1
. Reading globbing filelist /home/admin/.backup/rene/excludeglob.list
NOTICE 1
. Reading globbing filelist /home/admin/.backup/rene/includeglob.list
INFO 1
. Main action: inc
INFO 1
. ================================================================================
INFO 1
. duplicity 0.6.13 (April 02, 2011)
INFO 1
. Args: /usr/bin/duplicity --time-separator . -v 5 --full-if-older-than 6M --no-encryption --num-retries 2 --volsize 5 --log-file /var/log/backup/admin/rene/2011-08-01-17:10:25.log --archive-dir /home/admin/.backup/rene/archives --exclude-globbing-file /home/admin/.backup/rene/excludeglob.list --include-globbing-file /home/admin/.backup/rene/includeglob.list --include /home/admin/.backup/rene/fileinfo --include /home/admin/.backup/rene/*glob.list --include /home/admin/.backup/rene/jobdata --exclude ** /home ftp://[email protected]/./rene
INFO 1
. Linux SERVER9 2.6.38 #1 Tue Mar 22 16:27:55 CET 2011 armv5tel
INFO 1
. /usr/bin/python 2.6.6 (r266:84292, Dec 27 2010, 21:57:32)
. [GCC 4.4.5 20100902 (prerelease)]
INFO 1
. ================================================================================
INFO 1
. Temp has 7340572672 available, backup will use approx 6815744.
INFO 1
. Reading results of 'ncftpls -f /tmp/duplicity-_wUKP7-tempdir/mkstemp-jsz_IK-1 -F -t 30 -o useCLNT=0,useHELP_SITE=0 -l 'ftp://192.168.1.210/./rene/''
NOTICE 1
. Local and Remote metadata are synchronized, no sync needed.
INFO 1
. Reading results of 'ncftpls -f /tmp/duplicity-_wUKP7-tempdir/mkstemp-jsz_IK-1 -F -t 30 -o useCLNT=0,useHELP_SITE=0 -l 'ftp://192.168.1.210/./rene/''
NOTICE 1
. Last full backup date: none
NOTICE 1
. Last full backup is too old, forcing full backup
INFO 1
. Using temporary directory /home/admin/.backup/rene/archives/7c2e76205b0b0628fd3e16f0be3277b6/duplicity-b_z7vb-tempdir
INFO 1
. Using temporary directory /home/admin/.backup/rene/archives/7c2e76205b0b0628fd3e16f0be3277b6/duplicity-rT4Arp-tempdir
INFO 1
. AsyncScheduler: instantiating at concurrency 0
INFO 4 '.'
. A .
INFO 4 'admin'
. A admin
INFO 4 'admin/.backup'
. A admin/.backup
INFO 4 'admin/.backup/rene'
. A admin/.backup/rene
INFO 4 'admin/.backup/rene/excludeglob.list'
. A admin/.backup/rene/excludeglob.list
INFO 4 'admin/.backup/rene/fileinfo'
. A admin/.backup/rene/fileinfo
INFO 4 'admin/.backup/rene/fileinfo/2011-03-16-20:55:34.info'
. A admin/.backup/rene/fileinfo/2011-03-16-20:55:34.info
INFO 4 'admin/.backup/rene/fileinfo/2011-04-07-11:53:45.info'
. A admin/.backup/rene/fileinfo/2011-04-07-11:53:45.info
INFO 4 'admin/.backup/rene/fileinfo/2011-05-01-05:06:05.info'
. A admin/.backup/rene/fileinfo/2011-05-01-05:06:05.info
INFO 4 'admin/.backup/rene/fileinfo/2011-06-01-05:06:20.info'
. A admin/.backup/rene/fileinfo/2011-06-01-05:06:20.info
INFO 4 'admin/.backup/rene/fileinfo/2011-07-01-05:29:52.info'
. A admin/.backup/rene/fileinfo/2011-07-01-05:29:52.info
INFO 4 'admin/.backup/rene/fileinfo/2011-08-01-01:00:44.err.info'
. A admin/.backup/rene/fileinfo/2011-08-01-01:00:44.err.info
INFO 4 'admin/.backup/rene/include_childglob.list'
. A admin/.backup/rene/include_childglob.list
INFO 4 'admin/.backup/rene/includeglob.list'
. A admin/.backup/rene/includeglob.list
INFO 4 'admin/.backup/rene/jobdata'
. A admin/.backup/rene/jobdata
INFO 4 'rene'
. A rene
INFO 4 'rene/private'
. A rene/private
INFO 4 'rene/private/3786278_01-01-2010_01-07-2010.txt'
. A rene/private/3786278_01-01-2010_01-07-2010.txt
INFO 4 'rene/private/DWL-2000applus_man_en_040401.pdf'
. A rene/private/DWL-2000applus_man_en_040401.pdf
INFO 4 'rene/private/IMG_1120.JPG'
. A rene/private/IMG_1120.JPG
INFO 4 'rene/private/IMG_1675.JPG'
. A rene/private/IMG_1675.JPG
INFO 1
. Cleanup of temporary file /home/admin/.backup/rene/archives/7c2e76205b0b0628fd3e16f0be3277b6/duplicity-b_z7vb-tempdir/mktemp-IDYvTc-1 failed
INFO 1
. Cleanup of temporary file /home/admin/.backup/rene/archives/7c2e76205b0b0628fd3e16f0be3277b6/duplicity-rT4Arp-tempdir/mktemp-HvYAx3-1 failed
INFO 11
. AsyncScheduler: running task synchronously (asynchronicity disabled)
INFO 1
. Reading results of 'ncftpput -f /tmp/duplicity-_wUKP7-tempdir/mkstemp-jsz_IK-1 -F -t 30 -o useCLNT=0,useHELP_SITE=0 -m -V -C '/tmp/duplicity-_wUKP7-tempdir/mktemp-nI1Vi8-3' './rene/duplicity-full.20110801T151032Z.vol1.difftar.gz''
WARNING 1
. Running 'ncftpput -f /tmp/duplicity-_wUKP7-tempdir/mkstemp-jsz_IK-1 -F -t 30 -o useCLNT=0,useHELP_SITE=0 -m -V -C '/tmp/duplicity-_wUKP7-tempdir/mktemp-nI1Vi8-3' './rene/duplicity-full.20110801T151032Z.vol1.difftar.gz'' failed with code 14 (attempt #1)
WARNING 1
. Error is:
. Cwd=/; MKD rene failed; [rene: Forbidden filename]
.
INFO 1
. Reading results of 'ncftpput -f /tmp/duplicity-_wUKP7-tempdir/mkstemp-jsz_IK-1 -F -t 30 -o useCLNT=0,useHELP_SITE=0 -m -V -C '/tmp/duplicity-_wUKP7-tempdir/mktemp-nI1Vi8-3' './rene/duplicity-full.20110801T151032Z.vol1.difftar.gz''
WARNING 1
. Running 'ncftpput -f /tmp/duplicity-_wUKP7-tempdir/mkstemp-jsz_IK-1 -F -t 30 -o useCLNT=0,useHELP_SITE=0 -m -V -C '/tmp/duplicity-_wUKP7-tempdir/mktemp-nI1Vi8-3' './rene/duplicity-full.20110801T151032Z.vol1.difftar.gz'' failed with code 14 (attempt #2)
WARNING 1
. Error is:
. Cwd=/; MKD rene failed; [rene: Forbidden filename]
.
WARNING 1
. Giving up trying to execute 'ncftpput -f /tmp/duplicity-_wUKP7-tempdir/mkstemp-jsz_IK-1 -F -t 30 -o useCLNT=0,useHELP_SITE=0 -m -V -C '/tmp/duplicity-_wUKP7-tempdir/mktemp-nI1Vi8-3' './rene/duplicity-full.20110801T151032Z.vol1.difftar.gz'' after 2 attempts
INFO 1
. Backend error detail: Traceback (most recent call last):
. File "/usr/bin/duplicity", line 1262, in <module>
. with_tempdir(main)
. File "/usr/bin/duplicity", line 1255, in with_tempdir
. fn()
. File "/usr/bin/duplicity", line 1228, in main
. full_backup(col_stats)
. File "/usr/bin/duplicity", line 417, in full_backup
. globals.backend)
. File "/usr/bin/duplicity", line 316, in write_multivol
. (tdp, dest_filename)))
. File "/usr/lib/python2.6/dist-packages/duplicity/asyncscheduler.py", line 145, in schedule_task
. return self.__run_synchronously(fn, params)
. File "/usr/lib/python2.6/dist-packages/duplicity/asyncscheduler.py", line 171, in __run_synchronously
. ret = fn(*params)
. File "/usr/bin/duplicity", line 315, in <lambda>
. async_waiters.append(io_scheduler.schedule_task(lambda tdp, dest_filename: put(tdp, dest_filename),
. File "/usr/bin/duplicity", line 241, in put
. backend.put(tdp, dest_filename)
. File "/usr/lib/python2.6/dist-packages/duplicity/backends/ftpbackend.py", line 98, in put
. self.run_command_persist(commandline)
. File "/usr/lib/python2.6/dist-packages/duplicity/backend.py", line 382, in run_command_persist
. return self.subprocess_popen_persist(commandline)
. File "/usr/lib/python2.6/dist-packages/duplicity/backend.py", line 463, in subprocess_popen_persist
. raise BackendException("Error running '%s'" % private)
. BackendException: Error running 'ncftpput -f /tmp/duplicity-_wUKP7-tempdir/mkstemp-jsz_IK-1 -F -t 30 -o useCLNT=0,useHELP_SITE=0 -m -V -C '/tmp/duplicity-_wUKP7-tempdir/mktemp-nI1Vi8-3' './rene/duplicity-full.20110801T151032Z.vol1.difftar.gz''
.
ERROR 23 BackendException
. BackendException: Error running 'ncftpput -f /tmp/duplicity-_wUKP7-tempdir/mkstemp-jsz_IK-1 -F -t 30 -o useCLNT=0,useHELP_SITE=0 -m -V -C '/tmp/duplicity-_wUKP7-tempdir/mktemp-nI1Vi8-3' './rene/duplicity-full.20110801T151032Z.vol1.difftar.gz''
Rene
Re: Backup problem
Posted: 03 Aug 2011, 14:05
by pcrene
Hello Carl, All,
I have removed all backup task and created 1 new one using FTP.
After starting the backup i enter 192.168.1.210 as server adres, user, password and target directorie.
Start a backup and it fails. When is check the backup task i notice that the name i entered in the target directorie has dissapeard.
Rene
Re: Backup problem
Posted: 04 Aug 2011, 13:18
by Ubi
see Carls comment a few days back