Question: How to properly restore from snapshot as to keep parent relation?
- Dominant language
- Perl
- Stars
- 2.1k
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
On February 2nd 2021, I have restored from a *snapshot* using the following commands:
```
btrfs subvolume snapshot TO_BE_RESTORED_SNAPSHOT target
mv folder folder.OLD
mv target folder
```
As I found out now, btrbk list snapshots now does not find all the snapshots before this restore operation as related snapshots (I guess this is the "parent" relation". A "new chain" of snapshots started after my restoration.
What did I do wrong? How should this be normally done (restoring from snapshots)?
Is there any solution to remedy my situation and make btrbk "find" the older snapshots before February 2nd 2021?
Thank you very much in advance!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the shown `btrfs subvolume snapshot` restore sequence and the `btrbk list snapshots` command. Determine how btrbk identifies parent relationships, explain the normal restore procedure, and state whether the pre-February 2nd 2021 snapshot chain can be recovered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- cli, operating-systems
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100