duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] gdocs backend with par2 problem


From: Laurent Lavaud
Subject: Re: [Duplicity-talk] gdocs backend with par2 problem
Date: Tue, 21 Oct 2014 11:53:57 +0200 (CEST)

ok it was my fault, my google account was not configured to allow some 
application to connect.

BackendException: Invalid user credentials given. Be aware that accounts that 
use 2-step verification require creating an application specific access code 
for using this Duplicity backend. Follow the instrucction in 
http://www.google.com/support/accounts/bin/static.py?page=guide.cs&guide=1056283&topic=1056286
 and create your application-specific password to run duplicity backups.


thanks for your quick response !

--
Laurent Lavaud
Administrateur Systèmes et Réseaux

----- Mail original -----
> On 21.10.2014 10:58, Laurent Lavaud wrote:
> > Hello,
> > 
> > It seems the PAR2 option dont work with gdocs backend, my command
> > line:
> > 
> > duplicity -v9 --encrypt-key=xxx --sign-key=xxx --use-agent
> > --allow-source-mismatch --tempdir=/share/MD0_DATA/.duplicity/temp
> > /share/MD0_DATA/data/documents
> > par2+gdocs://address@hidden/duplicity/documents
> > 
> > if i use only gdocs backend, it works well.
> > 
> > i use the latest 0.6.25 version.
> > 
> > errors log:
> > 
> > Duplicity 0.6 series is being deprecated:
> > See http://www.nongnu.org/duplicity/
> > 
> > Using archive dir:
> > /root/.cache/duplicity/42c50b0eead9ebba415b3f454e57b95c
> > Using backup name: 42c50b0eead9ebba415b3f454e57b95c
> > Import of duplicity.backends.botobackend Succeeded
> > Import of duplicity.backends.cfbackend Succeeded
> > Import of duplicity.backends.dpbxbackend Succeeded
> > Import of duplicity.backends.ftpbackend Succeeded
> > Import of duplicity.backends.ftpsbackend Succeededpython
> > Import of duplicity.backends.hsibackend Succeeded
> > Import of duplicity.backends.imapbackend Succeeded
> > Import of duplicity.backends.localbackend Succeeded
> > Import of duplicity.backends.megabackend Succeeded
> > Import of duplicity.backends.rsyncbackend Succeeded
> > Import of duplicity.backends.sshbackend Succeeded
> > Import of duplicity.backends.swiftbackend Succeeded
> > Import of duplicity.backends.tahoebackend Succeeded
> > Import of duplicity.backends.u1backend Succeeded
> > Import of duplicity.backends.webdavbackend Succeeded
> > Import of duplicity.backends.~par2wrapperbackend Succeeded
> > Using temporary directory
> > /share/MD0_DATA/.duplicity/temp/duplicity-aoATHn-tempdir
> > User error detail: Traceback (most recent call last):
> >   File "/opt/bin/duplicity", line 1509, in <module>
> >     with_tempdir(main)
> >   File "/opt/bin/duplicity", line 1503, in with_tempdir
> >     fn()
> >   File "/opt/bin/duplicity", line 1336, in main
> >     action = commandline.ProcessCommandLine(sys.argv[1:])
> >   File "/opt/lib/python2.6/site-packages/duplicity/commandline.py",
> >   line 1062, in ProcessCommandLine
> >     backup, local_pathname = set_backend(args[0], args[1])
> >   File "/opt/lib/python2.6/site-packages/duplicity/commandline.py",
> >   line 955, in set_backend
> >     globals.backend = backend.get_backend(bend)
> >   File "/opt/lib/python2.6/site-packages/duplicity/backend.py",
> >   line 163, in get_backend
> >     return _backends[pu.scheme](pu)
> >   File
> >   
> > "/opt/lib/python2.6/site-packages/duplicity/backends/~par2wrapperbackend.py",
> >   line 50, in __init__
> >     raise UnsupportedBackendScheme(self.parsed_url.url_string)
> > UnsupportedBackendScheme: scheme not supported in url:
> > par2+gdocs://address@hidden/duplicity/documents
> > 
> > UnsupportedBackendScheme: scheme not supported in url:
> > par2+gdocs://address@hidden/duplicity/documents
> > 
> > 
> 
> could you edit your copy of
> /opt/lib/python2.6/site-packages/duplicity/backends/~par2wrapperbackend.py
> around line 50 from
> 
>         try:
>             url_string = self.parsed_url.url_string.lstrip('par2+')
>             self.wrapped_backend = backend.get_backend(url_string)
>         except:
>             raise
>             UnsupportedBackendScheme(self.parsed_url.url_string)
> 
> to
> 
>             url_string = self.parsed_url.url_string.lstrip('par2+')
>             self.wrapped_backend = backend.get_backend(url_string)
> 
> removing the try/except?
> 
> please rerun and send the output.. ede/duply.net
> 
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]