Finished state FAILED 'code 30'

Asked by juniorfga

Hello
I´m running a backup with Duply/Duplicity and the error 30 is arising, the verbose output is:
--- Start running command POST at 00:10:05.207 ---
Running '/root/.duply/ispconfig_s3/post' - OK
--- Finished state OK at 00:10:05.288 - Runtime 00:00:00.080 ---
Start duply v1.5.5.5, time is 2015-07-16 00:10:01.
Using profile '/root/.duply/ispconfig_s3'.
Using installed duplicity version 0.6.18, python 2.7.3, gpg 1.4.12 (Home: ~/.gnu
pg), awk 'mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan'.
Autoset found secret key of first GPG_KEY entry 'xxxxxx' for signing.
Test - Encrypt to xxxxxx,yyyyyyyy,zzzzzzzz & Sign with xxxxxxx (OK)
root@s1:~# /usr/bin/duply ispconfig_s3 backup_ purge --force 2>&1 >> /var/log/duply_ispconfig.log
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1404, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1397, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1277, in main
    globals.archive_dir).set_values()
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 691, in set_values
    self.get_backup_chains(partials + backend_filename_list)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 814, in get_backup_chains
    map(add_to_sets, filename_list)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 813, in add_to_sets
    log.Debug(_("Ignoring file (rejected by backup set) '%s'") % filename)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)

11:39:16.705 Task 'BKP' failed with exit code '30'.

can you help me, please
regards
Jr

Question information

Language:
English Edit question
Status:
Solved
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Solved by:
juniorfga
Solved:
Last query:
Last reply:
Revision history for this message
edso (ed.so) said :
#1

On 20.07.2015 16:56, juniorfga wrote:
> New question #269451 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/269451
>
> Hello
> I´m running a backup with Duply/Duplicity and the error 30 is arising, the verbose output is:
> --- Start running command POST at 00:10:05.207 ---
> Running '/root/.duply/ispconfig_s3/post' - OK
> --- Finished state OK at 00:10:05.288 - Runtime 00:00:00.080 ---
> Start duply v1.5.5.5, time is 2015-07-16 00:10:01.
> Using profile '/root/.duply/ispconfig_s3'.
> Using installed duplicity version 0.6.18, python 2.7.3, gpg 1.4.12 (Home: ~/.gnu
> pg), awk 'mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan'.
> Autoset found secret key of first GPG_KEY entry 'xxxxxx' for signing.
> Test - Encrypt to xxxxxx,yyyyyyyy,zzzzzzzz & Sign with xxxxxxx (OK)
> root@s1:~# /usr/bin/duply ispconfig_s3 backup_ purge --force 2>&1 >> /var/log/duply_ispconfig.log
> Traceback (most recent call last):
> File "/usr/bin/duplicity", line 1404, in <module>
> with_tempdir(main)
> File "/usr/bin/duplicity", line 1397, in with_tempdir
> fn()
> File "/usr/bin/duplicity", line 1277, in main
> globals.archive_dir).set_values()
> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 691, in set_values
> self.get_backup_chains(partials + backend_filename_list)
> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 814, in get_backup_chains
> map(add_to_sets, filename_list)
> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 813, in add_to_sets
> log.Debug(_("Ignoring file (rejected by backup set) '%s'") % filename)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)
>
> 11:39:16.705 Task 'BKP' failed with exit code '30'.
>

update to latest stable 0.6.25.. it should have fixes for issues like these .. ede/duply.net

Revision history for this message
juniorfga (juniorfga) said :
#2

this is the version that debian has in their repositories, and works fine in several other sites, however if you recomend me this version i´ll try, do you have a guide to upgrade by hand that can point me to?
Jr

Revision history for this message
edso (ed.so) said :
#3

On 20.07.2015 21:36, juniorfga wrote:
> Question #269451 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/269451
>
> juniorfga posted a new comment:
> this is the version that debian has in their repositories, and works fine in several other sites, however if you recomend me this version i´ll try, do you have a guide to upgrade by hand that can point me to?
> Jr
>

try the mini howto under INSTALL MULTIPLE VERSIONS on
 http://jamoke.net/tmp/INSTALL.txt

you can get the latest duplicity tarball from
 http://duplicity.nongnu.org/

..ede/duply.net

Revision history for this message
juniorfga (juniorfga) said :
#4

sorry for this question, the last stable is 0.6.26 or 0.7.03 ? it seems that change
regards
Jr

Revision history for this message
juniorfga (juniorfga) said :
#5

root@s1:~/duplicity-0.7.03/bin# /root/duplicity-0.7.03/bin/duply ispconfig_s3 backup_ purge --force 2>&1 >> /var/log/duply_ispconfig.log
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1404, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1397, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1277, in main
    globals.archive_dir).set_values()
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 691, in set_values
    self.get_backup_chains(partials + backend_filename_list)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 814, in get_backup_chains
    map(add_to_sets, filename_list)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 813, in add_to_sets
    log.Debug(_("Ignoring file (rejected by backup set) '%s'") % filename)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)

18:32:30.076 Task 'BKP' failed with exit code '30'.

Revision history for this message
edso (ed.so) said :
#6

On 22.07.2015 22:41, juniorfga wrote:
> Question #269451 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/269451
>
> juniorfga posted a new comment:
> sorry for this question, the last stable is 0.6.26 or 0.7.03 ? it seems that change
> regards
> Jr
>

nP.. we consider the latest 0.6.x as stable as opposed to the 0.7.x releases from the active development branch.

..ede

Revision history for this message
juniorfga (juniorfga) said :
#7

For those who need to update
apt-get install python-lockfile -y;
wget http://ftp.debian.org/debian/pool/main//d/duply/duply_1.9.2-1_all.deb
dpkg -i duply_1.9.2-1_all.deb
rm duply_1.9.2-1_all.deb
wget http://ftp.debian.org/debian/pool/main//d/duplicity/duplicity_0.7.03-1_amd64.deb
dpkg -i duplicity_0.7.03-1_amd64.deb
rm duplicity_0.7.03-1_amd64.deb
is not the best way but, no problems after.
regards
Jr