Filesystems 从增量备份恢复Btrfs
我有几个备份文件是用BTRFS send创建的。 我可以用这些文件还原子卷。但是,我不能继续使用它们进行增量备份 以下是一个例子:Filesystems 从增量备份恢复Btrfs,filesystems,backup,btrfs,Filesystems,Backup,Btrfs,我有几个备份文件是用BTRFS send创建的。 我可以用这些文件还原子卷。但是,我不能继续使用它们进行增量备份 以下是一个例子: # Create first snapshot btrfs subvolume snapshot -r <original_subvol> <snapshot_1> # Write some stuff to <original_subvol> btrfs subvolume snapshot -r <original_su
# Create first snapshot
btrfs subvolume snapshot -r <original_subvol> <snapshot_1>
# Write some stuff to <original_subvol>
btrfs subvolume snapshot -r <original_subvol> <snapshot_2>
# Create the backup files
btrfs send -f <snapshot_file_1> <snapshot_1>
btrfs send -f <snapshot_file_2> -p <snapshot_1> <snapshot_2>
# Suppose you lost <original_subvol> and you restore to a brand new filesystem
btrfs receive -f <snapshot_file_1> <dest>
btrfs receive -f <snapshot_file_2> <dest>
# Create a write snapshot from the last restored snapshop
btrfs snapshot <restore_snapshot_2> <restore_subvol>
# Write some stuff to <restore_subvol> and do an incremental backup
btrfs snapshot -r <snapshot_3> <restore_subvol>
btrfs send -f <snapshot_file_3> -p <restore_snapshot_2> <restore_subvol>
# Suppose you lost <restore_subvol> (again !) and you restore to a brand new filesystem
btrfs receive -f <snapshot_file_1> <dest>
btrfs receive -f <snapshot_file_2> <dest>
btrfs receive -f <snapshot_file_3> <dest>
=> ERROR: could not find parent subvolume
#创建第一个快照
btrfs子卷快照-r
#写些东西给
btrfs子卷快照-r
#创建备份文件
btrfs发送-f
btrfs发送-f-p
#假设您丢失并恢复到一个全新的文件系统
btrfs接收-f
btrfs接收-f
#从上次恢复的snapshop创建写入快照
btrfs快照
#写一些东西来做增量备份
btrfs快照-r
btrfs发送-f-p
#假设您丢失了(又一次!),并恢复到一个全新的文件系统
btrfs接收-f
btrfs接收-f
btrfs接收-f
=>错误:找不到父子卷
我做错了什么