我在 Ubuntu 18.04 上运行deja-dup
v40.6(使用 安装snap
),使用 Google 作为存储后端。当我运行备份时,我的 Google Drive 中成功创建了一个具有正确名称的目录 - 但在未传输任何文件后失败。输出(启用调试)如下。
在此之前,我一直在运行备份,但后来删除了它们。还有其他文件吗?还是有剩余的凭证?它创建了目录,这意味着授权似乎有效。
DUPLICITY: INFO 1
DUPLICITY: . Main action: remove-all-but-n-full
DUPLICITY: DEBUG 1
DUPLICITY: . Acquiring lockfile b'/home/[elided]/snap/deja-dup/common/.cache/deja-dup/3c3719d408f2f097e930c1b5405eaa33/lockfile'
DUPLICITY: INFO 1
DUPLICITY: . ================================================================================
DUPLICITY: INFO 1
DUPLICITY: . duplicity 0.8.11
DUPLICITY: INFO 1
DUPLICITY: . Args: /snap/deja-dup/297/bin/duplicity remove-all-but-n-full 1 --force gio+google-drive://[elided]/Workstation%20Backups --no-encryption --verbosity=9 --archive-dir=/home/[elided]/snap/deja-dup/common/.cache/deja-dup --tempdir=/tmp --log-fd=29
DUPLICITY: INFO 1
DUPLICITY: . Linux [elided] 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64
DUPLICITY: INFO 1
DUPLICITY: . /snap/core18/current/usr/bin/python3 3.6.9 (default, Nov 7 2019, 10:44:02)
DUPLICITY: . [GCC 8.3.0]
DUPLICITY: INFO 1
DUPLICITY: . ================================================================================
DUPLICITY: DEBUG 1
DUPLICITY: . Backtrace of previous error: Traceback (innermost last):
DUPLICITY: . File "/snap/deja-dup/297/lib/python3.6/site-packages/duplicity/backend.py", line 376, in inner_retry
DUPLICITY: . return fn(self, *args)
DUPLICITY: . File "/snap/deja-dup/297/lib/python3.6/site-packages/duplicity/backend.py", line 596, in list
DUPLICITY: . return [tobytes(x) for x in self.backend._list()]
DUPLICITY: . File "/snap/deja-dup/297/lib/python3.6/site-packages/duplicity/backends/giobackend.py", line 161, in _list
DUPLICITY: . None)
DUPLICITY: . gi.repository.GLib.GError: g-io-error-quark: Permission denied (14)