我在从命令行运行 Timeshift 时遇到了一些困难。我的磁盘结构如下所示:
sda 8:0 0 1.8T 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
├─sda2 8:2 0 1G 0 part /run/timeshift/backup
└─sda3 8:3 0 1.8T 0 part
└─ubuntu--vg-ubuntu--lv 253:0 0 100G 0 lvm /
sdb 8:16 0 232.9G 0 disk
└─sdb1 8:17 0 232.9G 0 part /run/timeshift/backup
因此,我想在 sdb1 磁盘上创建备份,使用:
sudo timeshift --create --comments "Test" --tags D --snapshot-device /dev/sdb1
给出以下内容:
Mounted '/dev/sdb1' at '/run/timeshift/backup'
------------------------------------------------------------------------------
Creating new snapshot...(RSYNC)
Saving to device: /dev/sdb1, mounted at path: /run/timeshift/backup
Linking from snapshot: 2022-02-17_19-34-54
Synching files with rsync...
Created control file: /run/timeshift/backup/timeshift/snapshots/2022-02-17_20-51-55/info.json
RSYNC Snapshot saved successfully (111s)
Tagged snapshot '2022-02-17_20-51-55': ondemand
------------------------------------------------------------------------------
但是,当使用 timeshift --list 列出时,我得到以下信息:
Mounted '/dev/sda2' at '/run/timeshift/backup'
Device : /dev/sda2
UUID : acd80a0d-761d-441a-8e8a-b5cca5bf7ee9
Path : /run/timeshift/backup
Mode : RSYNC
Status : Not enough disk space (< 12.9 GB)
Select another device or free up some space
No snapshots found
对于我做错的事情有什么建议吗?
汤姆
答案1
您应该像创建快照时一样提供快照设备。它像这样:timeshift --list --snapshot-device /dev/sdb1