digint / digint/btrbk

all previous snapshots will not be list with "btrbk list" after linux recovery

Open
#490 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Perl
Stars
2.1k
Forks
139
PR merge metrics
No merged PRs in 30d

Description

Has linux on /mnt/linuxes/opensuse
Has snapshots on /mnt/snapshots/opensuse/20220815T0000, 20220816T0000, 20220817T0000, 20220818T0000, 20220818T0100...
Suppose met some problem of the current os and want to recovery to 20220817T0000:

Recovery form the backup snapshot
sudo mv /mnt/linuxes/opensuse /mnt/linuxes/opensuse.bak
sudo btrfs sub snapshot /mnt/snapshots/opensuse/20220817T0000 /mnt/linuxes/opensuse

And after reboot, after the cron job run of btrbk
All the snapshots (/mnt/snapshots/opensuse/20220815T0000, 20220816T0000, 20220817T0000, 20220818T0000) will be deleted and btrbk will create the snapshot from the start of it's first run after recovery
Fortunately the backup snapshots are still there and didn't be deleted

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.