Debian 7.1: gdocs バックエンド使用時の二重性エラー

Debian 7.1: gdocs バックエンド使用時の二重性エラー

私はdebian 7.1 amd64システムにduplicityバックアップツールとライブラリをインストールしました。python-gdata

ドキュメントをGoogleドライブに保存しようとすると、パスワードをduplicity入力した後に次のエラーが表示されます。

BackendException: Error while fetching remote entries: 'DocsClient' object has no attribute 'get_everything'.

私が実行したコマンドは次のとおりです。

duplicity documents/ gdocs://[email protected]

--verbose debugオプションを追加すると、次のエラーが発生します。

Using temporary directory /tmp/duplicity-fgU3N8-tempdir
Backend error detail: 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 1248, in main
    action = commandline.ProcessCommandLine(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 1007, in ProcessCommandLine
    backup, local_pathname = set_backend(args[0], args[1])
  File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line900, in set_backend
    globals.backend = backend.get_backend(bend)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 158, in get_backend
    return _backends[pu.scheme](pu)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/gdocsbackend.py", line 62, in __init__
    entries = self.__fetch_entries(parent_folder_id, 'folder', folder_name)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/gdocsbackend.py", line 245, in __fetch_entries
    self.__handle_error('Error while fetching remote entries: %s.' % str(e))
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/gdocsbackend.py", line 182, in __handle_error
    raise BackendException(message)
BackendException: Error while fetching remote entries: 'DocsClient' object has no attribute 'get_everything'.

二重性バージョンは0.6.18-3です。

これは、GoogleドキュメントがGoogleドライブになることに関連していますか?それ以来、APIまたはURLが変更されましたか? Debian ソフトウェアはかなり古いので、そうかもしれません。

それでは、二重性が働くようにするにはどうすればよいですか?

編集する:

gdata私はvirtualenvに二重性バージョン0.6.22をインストールしました。以前と同じユーザー名とパスワードを入力しましたが、エラーメッセージは次のように変更されます。

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.

私はただ二重性を持つように努めていますが、私が知っている限り、Ubuntuの主なバックアップツールであるdeja-dupは二重性に基づいています。 Duplicityは信頼できるバックアップツールですか?

ベストアンサー1

これは、GoogleドキュメントがGoogleドライブになることに関連していますか?

おそらくGoogle Docs API は廃止されました。:

重要:2012年9月14日より、GoogleドキュメントリストAPIバージョン3は正式にサポートを終了しました。サポートの停止ポリシーに従って引き続き機能しますが、Google Drive API に移行することをおすすめします。

私は彼らのサポートの中止方針を探していませんが、サポートが中断されてから1年が経っても機能しないという事実には驚きません。

おすすめ記事