← Back to team overview

duplicity-team team mailing list archive

Re: [Question #270299]: --- Finished state FAILED 'code 23'

 

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

    Status: Open => Answered

edso proposed the following answer:
On 12.08.2015 18:31, juniorfga wrote:
> New question #270299 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/270299
> 
> Hi
> a newly installed server I´m trying to do a backup and finish with error 23 this is the verbose output:
> --- Start running command POST at 12:12:54.482 ---
> Running '/root/.duply/ispconfig_s3/post' - OK
> --- Finished state OK at 12:12:54.612 - Runtime 00:00:00.129 ---
> Start duply v1.9.2, time is 2015-08-12 12:18:20.
> Using profile '/root/.duply/ispconfig_s3'.
> Using installed duplicity version 0.7.03, python 2.7.3, gpg 1.4.12 (Home: ~/.gnupg), awk 'GNU Awk 4.0.1', grep '(GNU grep) 2.12', bash '4.2.37(1)-release (x86_64-pc-linux-gnu)'.
> Autoset found secret key of first GPG_KEY entry 'XXXXXX' for signing.
> Checking TEMP_DIR '/tmp' is a folder (OK)
> Checking TEMP_DIR '/tmp' is writable (OK)
> Test - Encrypt to 'XXXXXX','YYYYYY','ZZZZZZ' & Sign with 'XXXXXX' (OK)
> Test - Decrypt (OK)
> Test - Compare (OK)
> Cleanup - Delete '/tmp/duply.3065.1439392700_*'(OK)
> 
> --- Start running command PRE at 12:18:21.169 ---
> Running '/root/.duply/ispconfig_s3/pre' - OK
> Output: Comenzando el respaldo de las bases de datos
> Respaldo base de datos capgcit_db
> Comprimiendo (gzip) base de datos --- capgcit_db
> Respaldo base de datos dbispconfig
> Comprimiendo (gzip) base de datos --- dbispconfig
> Respaldo base de datos mysql
> Comprimiendo (gzip) base de datos --- mysql
> Respaldo base de datos phpmyadmin
> Comprimiendo (gzip) base de datos --- phpmyadmin
> Puedes revisar el log en /root/SK-BackupLog.txt y el errorlog en /tmp/skdump_errorlog
> Se respaldaron 4 Bases de datos
> --- Finished state OK at 12:18:21.910 - Runtime 00:00:00.740 ---
> 
> --- Start running command BKP at 12:18:21.928 ---
> Using archive dir: /root/.cache/duplicity/duply_ispconfig_s3
> Using backup name: duply_ispconfig_s3
> Import of duplicity.backends.azurebackend Succeeded
> Import of duplicity.backends.botobackend Succeeded
> Import of duplicity.backends.cfbackend Succeeded
> Import of duplicity.backends.copycombackend Succeeded
> Import of duplicity.backends.dpbxbackend Succeeded
> Import of duplicity.backends.gdocsbackend Succeeded
> Import of duplicity.backends.giobackend Succeeded
> Import of duplicity.backends.hsibackend Succeeded
> Import of duplicity.backends.hubicbackend Succeeded
> Import of duplicity.backends.imapbackend Succeeded
> Import of duplicity.backends.lftpbackend Succeeded
> Import of duplicity.backends.localbackend Succeeded
> Import of duplicity.backends.megabackend Succeeded
> Import of duplicity.backends.multibackend Succeeded
> Import of duplicity.backends.ncftpbackend Succeeded
> Import of duplicity.backends.onedrivebackend Succeeded
> Import of duplicity.backends.par2backend Succeeded
> Import of duplicity.backends.pydrivebackend Succeeded
> Import of duplicity.backends.rsyncbackend Succeeded
> Import of duplicity.backends.ssh_paramiko_backend Succeeded
> Import of duplicity.backends.ssh_pexpect_backend Succeeded
> Import of duplicity.backends.swiftbackend Succeeded
> Import of duplicity.backends.sxbackend Succeeded
> Import of duplicity.backends.tahoebackend Succeeded
> Import of duplicity.backends.webdavbackend Succeeded
> Using temporary directory /tmp/duplicity-jnKW63-tempdir
> Backend error detail: Traceback (most recent call last):
>   File "/usr/bin/duplicity", line 1530, in <module>
>     with_tempdir(main)
>   File "/usr/bin/duplicity", line 1524, in with_tempdir
>     fn()
>   File "/usr/bin/duplicity", line 1362, in main
>     action = commandline.ProcessCommandLine(sys.argv[1:])
>   File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 1101, in ProcessCommandLine
>     backup, local_pathname = set_backend(args[0], args[1])
>   File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 992, in set_backend
>     globals.backend = backend.get_backend(bend)
>   File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 223, in get_backend
>     obj = get_backend_object(url_string)
>   File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 209, in get_backend_object
>     return factory(pu)
>   File "/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_single.py", line 161, in __init__
>     self.resetConnection()
>   File "/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_single.py", line 187, in resetConnection
>     raise BackendException(err.message)
> BackendException
> 
> --- Finished state FAILED 'code 23' at 12:18:22.523 - Runtime 00:00:00.595 ---
> 
> --- Start running command POST at 12:18:22.548 ---
> Running '/root/.duply/ispconfig_s3/post' - OK
> --- Finished state OK at 12:18:22.673 - Runtime 00:00:00.124 ---
> any idea?
> 

your bucket does probably not exist already. create it manually.

this is fixed but unreleased yet
 http://bazaar.launchpad.net/~duplicity-team/duplicity/0.7-series/revision/1119

..ede/duply.net

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