how to replay a snapshot (btrfs) ?

Rashkae ubuntu at tigershaunt.com
Tue Jul 26 20:30:16 UTC 2016


On 16-07-26 04:09 PM, Lentes, Bernd wrote:
>
> root at ubuntu:~# btrfs sub get-default /mnt/root/
> ID 5 (FS_TREE)
> root at ubuntu:~#
> root at ubuntu:~# btrfs sub list /mnt/root/
> ID 257 gen 39426 top level 5 path @
> ID 258 gen 39390 top level 5 path @home
> ID 285 gen 39218 top level 257 path @/old/snapshots/root_190720162124
> ID 300 gen 39222 top level 257 path @/@
> root at ubuntu:~#
> root at ubuntu:~# ll /mnt/root/
> total 16
> drwxr-xr-x 1 root root  12 Jun  8 15:19 ./
> drwxr-xr-x 1 root root  60 Jul 26 20:01 ../
> drwxr-xr-x 1 root root 252 Jul 26 18:12 @/
> drwxr-xr-x 1 root root  26 Jul 19 17:51 @home/
> root at ubuntu:~#
>


Excellent

so from here:

cd /mnt/root
mv @ old
btrfs sub snap old/old/snapshots/root_190720162124 @

Try reboot








More information about the ubuntu-users mailing list