我使用 Ubuntu 的內建備份工具 (Déjà Dup) 在 Ubuntu 20.04 中啟用了定期備份。我備份整個主目錄並且不忽略任何資料夾。每週執行一次備份。
今天我嘗試恢復我的~/.steam
目錄,卻發現:
$ duplicity --file-to-restore ~/.steam file:///media/Backups/saibot ~/.steam
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Thu Apr 29 05:30:39 2021
home/serrano/.steam not found in archive - no files restored.
該.steam
目錄甚至沒有備份。我使用以下方法驗證了這一點:
$ duplicity list-current-files file:///media/Backups/saibot | grep -F .steam
但是,如果我嘗試恢復主目錄中的任何其他目錄,例如~/.vim
或~/Documents
,它就可以正常工作。
為什麼.steam
目錄沒有被備份?請注意,我沒有指定任何要忽略的資料夾。
答案1
顯然這是一個漏洞在Déjà Dup。我在這裡引用一位開發人員對此錯誤的評論:
這很棘手,因為 steamapps 並不是該目錄中我們不關心的唯一內容。