This does not work in 12.1.
In 12.1, I used btrfs for /srv and /home, and am trying to figure out how to use snapshot. Yast installed it and the Yast tool, but it is not initialized properly. http://en.opensuse.org/openSUSE:Snapper_install is for 11.4. I tried
jarfx:/srv # btrfs subvolume create /snapshots
Create subvolume ‘//snapshots’
ERROR: cannot create subvolume – Inappropriate ioctl for device
In /etc/snapper/configs, I have three files: root (which is ext4), srv, and home
After making the root file, I tried again and get
jarfx:/etc/snapper/config-templates # snapper create –description “initial”
terminate called after throwing an instance of ‘snapper::ProgramNotInstalledException’
what(): /sbin/chsnap not installed
and indeed, there is no /sbin/chsnap, and there is none in software management.
I’ve tested it and it works great now. Even does automatic snapshots by the hour and saves only the differences of the files, so it’s extremely efficient. You can see the differences in text files and system files, such as log files, etc. So you have a really really good way of seeing changes that happen within your computer and when they happened.
This does not work in 12.1.
In 12.1, I used btrfs for /srv and /home, and am trying to figure out how to use snapshot. Yast installed it and the Yast tool, but it is not initialized properly.
http://en.opensuse.org/openSUSE:Snapper_install is for 11.4. I tried
jarfx:/srv # btrfs subvolume create /snapshots
Create subvolume ‘//snapshots’
ERROR: cannot create subvolume – Inappropriate ioctl for device
and from http://lizards.opensuse.org/2011/04/01/introducing-snapper/ tried
jarfx:/srv # snapper create –description “initial”
Config ‘root’ not found.
In /etc/snapper/configs, I have three files: root (which is ext4), srv, and home
After making the root file, I tried again and get
jarfx:/etc/snapper/config-templates # snapper create –description “initial”
terminate called after throwing an instance of ‘snapper::ProgramNotInstalledException’
what(): /sbin/chsnap not installed
and indeed, there is no /sbin/chsnap, and there is none in software management.
This does work and it works easy. We just need better documentation.
It’s just a matter of copying a few files and editing one file and it’s done. Someone on the SUSE forums has figured it here:
http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/467960-has-anyone-been-successfull-getting-snapper-run.html#post2405703
I’ve tested it and it works great now. Even does automatic snapshots by the hour and saves only the differences of the files, so it’s extremely efficient. You can see the differences in text files and system files, such as log files, etc. So you have a really really good way of seeing changes that happen within your computer and when they happened.
I installed snapper 0.0.14 in ubuntu12.04
ON running command
#snapper list-configs
got empty list
Config | Subvolume
——-+———-
also getting error
#snapper -c home create-config /home
Creating config failed (/sbin/chsnap not installed).