Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

[SOLVED] duply/duplicity fails on gmail-account

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
drbrezner
n00b
n00b
Posts: 25
Joined: Sat May 21, 2016 7:58 am
Location: Germany

[SOLVED] duply/duplicity fails on gmail-account

  • Quote

Post by drbrezner » Mon Jul 17, 2017 11:39 am

hi!

i'm using duply for years now for doing backups into a gmail account. the old one became full and i switched to a new one and now i get at the end of a full backup run this cryptic error:

Code: Select all

--- Start running command BKP at 12:24:50.924 ---
Ausdruckbasierte Dateiliste wird gelesen /home/alex/.duply/gmail/exclude
Lokale und entfernte Metadaten sind bereits synchron, keine Synchronisierung benötigt.
Letzte vollständige Sicherung: Keine
Letzte vollständige Sicherung ist zu alt, vollständige Sicherung wird erzwungen
Eingestellte PASSPHRASE als SIGN_PASSPHRASE benutzen
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 1391, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1510, in do_backup
    full_backup(col_stats)
  File "/usr/bin/duplicity", line 595, in full_backup
    col_stats.set_values(sig_chain_warning=None)
  File "/usr/lib64/python2.7/site-packages/duplicity/collections.py", line 710, in set_values
    self.get_backup_chains(partials + backend_filename_list)
  File "/usr/lib64/python2.7/site-packages/duplicity/collections.py", line 836, in get_backup_chains
    add_to_sets(f)
  File "/usr/lib64/python2.7/site-packages/duplicity/collections.py", line 824, in add_to_sets
    if set.add_filename(filename):
  File "/usr/lib64/python2.7/site-packages/duplicity/collections.py", line 105, in add_filename
    (self.volume_name_dict, filename)
AssertionError: ({1: 'duplicity-full.20170717T102452Z.vol1.difftar.gpg'}, 'duplicity-full.20170717T102452Z.vol1.difftar.gpg')

13:22:12.685 Task 'BKP' failed with exit code '30'.
--- Finished state FAILED 'code 30' at 13:22:12.685 - Runtime 00:57:21.761 ---

--- Start running command POST at 13:22:12.705 ---
Skipping n/a script '/home/alex/.duply/gmail/post'.
--- Finished state OK at 13:22:12.720 - Runtime 00:00:00.014 ---
anyone with the same problem? is it a gmail problem or a duply/duplicity thing or even some python related stuff?
Last edited by drbrezner on Sun Jul 30, 2017 10:35 am, edited 1 time in total.
Top
PeGa!
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 104
Joined: Fri May 13, 2005 3:25 pm
Location: Capital Federal, Buenos Aires, Argentina
Contact:
Contact PeGa!
Website

  • Quote

Post by PeGa! » Fri Jul 21, 2017 4:07 pm

My german doesn't work, so I've got what google translate told me.

According to that, it might seem that your duplicity didn't find signatures of a previous backup. Did you attempt a full backup first?
If it moves, it needs an ebuild.

Adopt an unanswered post.
Top
drbrezner
n00b
n00b
Posts: 25
Joined: Sat May 21, 2016 7:58 am
Location: Germany

  • Quote

Post by drbrezner » Sat Jul 22, 2017 8:28 am

This happened from the very beginning -- i made a new fresh gmail account, changed the login-information in duply's config file, then i started a full backup. This transfers all the data and in the end it fails with the posted message. I also tried deleting everything in the gmail-account agin and all duply cache-files i could find.
Top
PeGa!
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 104
Joined: Fri May 13, 2005 3:25 pm
Location: Capital Federal, Buenos Aires, Argentina
Contact:
Contact PeGa!
Website

  • Quote

Post by PeGa! » Sun Jul 23, 2017 6:46 am

Never used duply to back up things against gmail, but I've run into some issues with the recent security measures from google. Try to send an email using the account's credentials and try to figure out if google is blocking you in some manner. If you're blocked, then try to get access from that box to the email functionality and after that try to back up things again.
If it moves, it needs an ebuild.

Adopt an unanswered post.
Top
drbrezner
n00b
n00b
Posts: 25
Joined: Sat May 21, 2016 7:58 am
Location: Germany

  • Quote

Post by drbrezner » Tue Jul 25, 2017 5:36 pm

I set up thunderbird for that mail account using imap access -- sending and receiving email works without any problem. It's really strange. Some other duply profiles work with the old mail account without any problem. Only the second account keeps making problems. duply transfers data and the files are stored in the gmail account but in the end, duply still crashes.
Top
drbrezner
n00b
n00b
Posts: 25
Joined: Sat May 21, 2016 7:58 am
Location: Germany

  • Quote

Post by drbrezner » Sun Jul 30, 2017 10:37 am

I don't quite understand why it is working now but i changed duply conf-file for that backup profile from VOLSIZE=10 to VOLSIZE=5 and now it's working perfectly.

Really strange, since all my other duply backups work perfectly fine with VOLSIZE=10 on gmail accounts.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic