Results 1 to 3 of 3

Thread: Why does Snapper Yast plugin (gui) not have rollback?

  1. #1

    Default Why does Snapper Yast plugin (gui) not have rollback?

    Hello,

    I've used both OpenSuse Leap 42.3 and SLES 12 SP2. I've noticed that the snapper gui yast plugin allows you to create, delete, modify snapshots, and restore individual files, but not to do a rollback. To rollback, you have to use the command line tool.

    I'm just wondering if there is some design philosophy reason driving this? Is it that it's considered dangerous to make it too easy for users to rollback to a snapshot?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,320
    Blog Entries
    15

    Default Re: Why does Snapper Yast plugin (gui) not have rollback?

    Quote Originally Posted by jsbiff View Post
    Hello,

    I've used both OpenSuse Leap 42.3 and SLES 12 SP2. I've noticed that the snapper gui yast plugin allows you to create, delete, modify snapshots, and restore individual files, but not to do a rollback. To rollback, you have to use the command line tool.

    I'm just wondering if there is some design philosophy reason driving this? Is it that it's considered dangerous to make it too easy for users to rollback to a snapshot?
    Hi and welcome to the Forum
    By design AFAIK, since you need to boot into the snapshot to rollback... I guess you don't need a gui to run one command?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Why does Snapper Yast plugin (gui) not have rollback?

    Quote Originally Posted by malcolmlewis View Post
    Hi and welcome to the Forum
    By design AFAIK, since you need to boot into the snapshot to rollback... I guess you don't need a gui to run one command?
    I would just point out that you don't always need to boot into the snapshot to rollback. You *do* have to reboot after a rollback in order to load the new root filesystem snapshot (a rollback, as far as I can tell(?) appears to create a new read-write snapshot of whatever snapshot you rolled back to, e.g. let's say your most recent snapshot is number 105, and you issue command "snapper rollback 98", it will create a snapshot 106 of the current filesystem state, then create a snapshot 107 as a clone of 98, then set snapshot 107 as the default root filesystem for the next time you reboot).

    In any case, whatever it's doing, you don't have to reboot into a snapshot in order to roll back. Although you do have that as one option (if your current root snapshot is too corrupted to boot a working system, for example).

Posting Permissions

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