Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: How many root files can be rollbacked by Snapper?

  1. #11
    Join Date
    Mar 2020
    Location
    São Leopoldo, RS, Brazil
    Posts
    231

    Default Re: How many root files can be rollbacked by Snapper?

    Quote Originally Posted by pcxt View Post
    openSUSE installer defaultly presets some subvolumes with COW disable for performance reason
    Quite a few subvolumes, but only /var has the nocow attribute.

    Quote Originally Posted by pcxt View Post
    and both /boot and /boot/efi are not btrfs
    /boot/efi can't be btrfs, and there are two btrfs subvolumes under /boot/grub2/, but /boot is a plain subdirectory on rootfs.

    Quote Originally Posted by pcxt View Post
    only change the rootfs default subvolume is enough to the whole / (except /home)?
    That's right. Of course, not any subvolume can be the new default, it should be a read/write snapshot from the top-level subvolume.

    Quote Originally Posted by pcxt View Post
    Last year I changed the default subvolume to the snapshot made by Snapper then made errors on Snapper.
    If you changed manually, I wouldn't be surprised. If you change it through snapper, then a bug report is warranted.
    openSUSE Tumbleweed

  2. #12
    Join Date
    Mar 2020
    Location
    São Leopoldo, RS, Brazil
    Posts
    231

    Default Re: How many root files can be rollbacked by Snapper?

    Quote Originally Posted by pcxt View Post
    Never find "snapper rollback ..." option in Snapper interface...In fact, I select the snapshot, click show changes, then select all files, restore them all. is that the "rollback"?
    If you pick an entry of Type = "Pre", snapper will complain that it can show the differences. Because it needs exactly two snapshots, a Pre and a Post. I already explained how this "Restore" (which is not "Rollback", notice the naming scheme) works. IMO this option (Restore) should be buried, and the real "rollback" should be present in a GUI.
    openSUSE Tumbleweed

  3. #13

    Default Re: How many root files can be rollbacked by Snapper?

    This years I had always thought YaST-Snapper and Snapper are the same thing. Thank you so much to your correction on me.

  4. #14
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,586
    Blog Entries
    2

    Default Re: How many root files can be rollbacked by Snapper?

    Quote Originally Posted by pcxt View Post
    This years I had always thought YaST-Snapper and Snapper are the same thing. Thank you so much to your correction on me.
    I doubt there is much if any difference.
    Prompted by this discussion, I took another look at YaST2 "filesystem snapshots" which is a name change from previous implementations.
    Interesting changes, as the @OP noticed, the prominent "Show Changes" button now makes it easy to "undo" file changes instead of the entire volume which is the default behavior of command line snapper.

    I actually doubt there is any difference between the two, only that each emphasizes a specific functionality... So for instance it looks like it's still very easy to use YaST Filesystem Snapshots to rollback an entire volume just as it's also likely possible to restore individual files from a snapshot using snapper.

    In any case the ability to rollback or recover versions of a file is a feature of BTRFS, not whatever application is used to used to utilize that feature.

    Another note...
    LVM and BTRFS volumes are incompatible although structurally similar.
    Because of their similarity, the YaST Volume Management module has the ability to manage both types of volumes, but the original post suggests there was a mixing of the two on the same system (which can't happen).

    By all appearances but recognizing could be inaccurate...
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •