← Back to team overview

duplicity-team team mailing list archive

Re: [Question #402905]: Task 'BKP' failed with exit code '30'

 

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

    Status: Open => Answered

Kenneth Loafman proposed the following answer:
Could you verify which version of boto you are using?

Also, what is the full command line you are using?

On Mon, Oct 10, 2016 at 9:08 AM, juniorfga <
question402905@xxxxxxxxxxxxxxxxxxxxx> wrote:

> New question #402905 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/402905
>
> Hello
>
> I have an issue after update to Centos 7 x64, this is the error on the ssh
> session where you run the backup command:
>
> root@s1 [~]# /usr/bin/duply cpanel_s3 backup 2>&1 >>
> /var/log/duply_ispconfig.log
> Traceback (most recent call last):
>   File "/usr/bin/duplicity", line 1546, in <module>
>     with_tempdir(main)
>   File "/usr/bin/duplicity", line 1540, in with_tempdir
>     fn()
>   File "/usr/bin/duplicity", line 1375, in main
>     action = commandline.ProcessCommandLine(sys.argv[1:])
>   File "/usr/lib64/python2.7/site-packages/duplicity/commandline.py",
> line 1117, in ProcessCommandLine
>     backup, local_pathname = set_backend(args[0], args[1])
>   File "/usr/lib64/python2.7/site-packages/duplicity/commandline.py",
> line 1006, in set_backend
>     globals.backend = backend.get_backend(bend)
>   File "/usr/lib64/python2.7/site-packages/duplicity/backend.py", line
> 223, in get_backend
>     obj = get_backend_object(url_string)
>   File "/usr/lib64/python2.7/site-packages/duplicity/backend.py", line
> 209, in get_backend_object
>     return factory(pu)
>   File "/usr/lib64/python2.7/site-packages/duplicity/backends/_boto_single.py",
> line 166, in __init__
>     self.resetConnection()
>   File "/usr/lib64/python2.7/site-packages/duplicity/backends/_boto_single.py",
> line 188, in resetConnection
>     self.conn = get_connection(self.scheme, self.parsed_url,
> self.storage_uri)
>   File "/usr/lib64/python2.7/site-packages/duplicity/backends/_boto_single.py",
> line 99, in get_connection
>     is_secure=(not globals.s3_unencrypted_connection))
>   File "/usr/lib/python2.7/site-packages/boto/storage_uri.py", line 117,
> in connect
>     **connection_args)
>   File "/usr/lib/python2.7/site-packages/boto/s3/connection.py", line
> 191, in __init__
>     validate_certs=validate_certs, profile_name=profile_name)
>   File "/usr/lib/python2.7/site-packages/boto/connection.py", line 569,
> in __init__
>     host, config, self.provider, self._required_auth_capability())
>   File "/usr/lib/python2.7/site-packages/boto/auth.py", line 991, in
> get_auth_handler
>     'Check your credentials' % (len(names), str(names)))
> NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were
> checked. ['HmacAuthV1Handler'] Check your credentials
>
> 09:36:59.434 Task 'BKP' failed with exit code '30'.
>
> this is the result on the log file:
>
> Start duply v1.11.3, time is 2016-10-10 09:39:19.
> Using profile '/etc/duply/cpanel_s3'.
> Using installed duplicity version 0.7.10, python 2.7.5, gpg 2.0.22 (Home:
> ~/.gnupg), awk 'GNU Awk 4.0.2', grep 'grep (GNU grep) 2.20', bash
> '4.2.46(1)-release (x86_64-redhat-linux-gnu)'.
> Autoset found secret key of first GPG_KEY entry 'XXXXXXXX' for signing.
> Checking TEMP_DIR '/tmp' is a folder and writable (OK)
> Test - Encrypt to 'XXXXXXXX','XXXXXXXX','XXXXXXXX' & Sign with 'XXXXXXXX'
> (OK)
> Test - Decrypt (OK)
> Test - Compare (OK)
> Cleanup - Delete '/tmp/duply.21923.1476106760_*'(OK)
>
> --- Start running command PRE at 09:39:20.309 ---
> Running '/etc/duply/cpanel_s3/pre' - OK
> Output: Comenzando el respaldo de las bases de datos
> Puedes revisar el log en /root/SK-BackupLog.txt y el errorlog en
> /tmp/skdump_errorlog
> Se respaldaron 69 Bases de datos
> --- Finished state OK at 09:39:42.424 - Runtime 00:00:22.114 ---
>
> --- Start running command BKP at 09:39:42.439 ---
> Using archive dir: /root/.cache/duplicity/duply_cpanel_s3
> Using backup name: duply_cpanel_s3
> Import of duplicity.backends.acdclibackend Succeeded
> Import of duplicity.backends.azurebackend Succeeded
> Import of duplicity.backends.b2backend Succeeded
> Import of duplicity.backends.botobackend Succeeded
> Import of duplicity.backends.cfbackend Succeeded
> Import of duplicity.backends.copycombackend Succeeded
> Import of duplicity.backends.dpbxbackend Failed: No module named dropbox
> 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.mediafirebackend 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-A6tpL8-tempdir
> --- Finished state FAILED 'code 30' at 09:39:43.748 - Runtime 00:00:01.309
> ---
>
> --- Start running command POST at 09:39:43.773 ---
> Running '/etc/duply/cpanel_s3/post' - OK
> --- Finished state OK at 09:39:43.791 - Runtime 00:00:00.018 ---
>
> The amazon S3 bucket is clean, no previous backup on it, could you help me
> please?
>
> regards
>
> --
> You received this question notification because your team duplicity-team
> 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 your team duplicity-team
is an answer contact for Duplicity.