BackInTime 无法删除快照?

BackInTime 无法删除快照?

由于电源故障,我在快照过程中外部驱动器断电,现在无法删除 new_snapshot 文件夹。

起初,我想我可以直接授予程序sudo权限,但这似乎不起作用。

这是使用 GUI 并尝试拍摄新快照时发生的情况: 快照 无法移除快照

从终端上看,它看起来像这样:

sarah@ConvergentRefuge:~$ backintime backup

Back In Time
Version: 1.1.12

Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license' for details.

INFO: Lock
INFO: Inhibit Suspend started. Reason: take snapshot
INFO: Mountpoint /home/sarah/.local/share/backintime/mnt/DB511438/mountpoint is already mounted
INFO: Take a new snapshot. Profile: 1 Main profile
INFO: Remove leftover 'new_snapshot' folder from last run
rm: cannot remove '/home/sarah/.local/share/backintime/mnt/1_14102/backintime/ConvergentRefuge/sarah/1/new_snapshot/backup/home/sarah/Desktop/Desktop/Utilities/Config/config': Directory not empty
WARNING: Command "rm -rf "/home/sarah/.local/share/backintime/mnt/1_14102/backintime/ConvergentRefuge/sarah/1/new_snapshot/backup"" returns 256
INFO: [qt4systrayicon] begin loop
rm: cannot remove '/home/sarah/.local/share/backintime/mnt/1_14102/backintime/ConvergentRefuge/sarah/1/new_snapshot/backup/home/sarah/Desktop/Desktop/Utilities/Config/config': Directory not empty
WARNING: Command "rm -rf "/home/sarah/.local/share/backintime/mnt/1_14102/backintime/ConvergentRefuge/sarah/1/new_snapshot"" returns 256
ERROR: Can't remove folder: /home/sarah/.local/share/backintime/mnt/1_14102/backintime/ConvergentRefuge/sarah/1/new_snapshot
notify-send  "Back In Time (sarah) : Main profile" "Can't remove folder: /home/sarah/.local/share/backintime/mnt/1_14102/backintime/ConvergentRefuge/sarah/1/new_snapshot"
ERROR: Failed to take snapshot !!!
notify-send  "Back In Time (sarah) : Main profile" "Failed to take snapshot 01/02/19 16:33:14 !!!"
INFO: Mountpoint /home/sarah/.local/share/backintime/mnt/DB511438/mountpoint still in use. Keep mounted
INFO: Unlock
INFO: Release inhibit Suspend

我正在使用 Kubuntu 18.04.01,并且我的备份已加密。

答案1

我遇到了同样的问题。原因是 Backintime 在 savint ghem 之后将所有文件设置为只读。因此,普通用户无法再删除快照目录。您可以通过以 root 身份删除目录“new snapper”来手动解决此问题。如果它在 NAS 上,您应该登录 NAS 并以 root 身份删除。但要小心。;-)

顺便说一句:在我的系统中,如果 backintime 尝试删除旧快照,也会发生同样的情况。它不起作用,因为 auf 缺少权限。我原本以为 BIT 可以处理这个问题,但至少在 QNAP NAS 上它不起作用。有人知道可以做什么吗?

相关内容