masayukig / masayukig.github.io

My blog posts
https://igawa.io
0 stars 0 forks source link

Post: Add `snapper rollback` entry #30

Closed masayukig closed 6 years ago

masayukig commented 6 years ago

I found that snapper of openSUSE is very useful! When I faced an update trouble, it worked very well without any trouble!

Basically, we tend to forget to make a backup everyday every time by hand because it's not necessary normally. However, the time comes all of a sudden!

This is the first time to use that tool. It worked very well without any trouble. So, I think snapper is a very good feature.

By default, openSUSE setups snapper on your root volume w/ btrfs. So you can use it like this, We can rollback where you want.

To use snapper, it's very easy. By default, snapper creates snapshots every zypper updates. So, if you want to rollback, you just need to select the option to rollback on the boot menu. Or you can specify a snapshot like this:

 $ sudo snapper rollback [snapshot number]

You can see snapshot numbers by snapshot list.

If you want to get more information, please refer to man snapper, snapper --help or snapper tutorial page.

masayukig commented 6 years ago

Done with 385fec6375b11cd40958f7e41df9d24a04f94a06