From ArchWiki
Jump to navigation Jump to search

The setting "TIMELINE_LIMIT_HOURLY" is not tied to the timer frequency

Regarding this box in the article:

Note: The configuration parameter TIMELINE_LIMIT_HOURLY is tied to the above setting. In the above example it now refers to how many 5-minute snapshots are kept.

I am currently trying out snapper. I found out that although my snapper-timeline.timer runs every 15 minutes the cleanup job only keeps hourly snapshots. The quoted box seems false to me. TIMELINE_LIMIT_HOURLY is not tied to the timer frequency. Note that the TIMELINE_MIN_AGE setting lets the last few of my 15 minute snapshots persist on cleanup which can lead to misunderstandings. —This unsigned comment is by DonRichie (talk) 04:16, 13 January 2018‎. Please sign your posts with ~~~~!

Duplicate snapshots subvolume when using "snapper create-config"

The section "Suggested filesystem layout > Configuration of snapper and mount point" suggests to create a subvolume @snapshots and mount it at /.snapshots.

Since snapper create-config additionally creates a new subvolume we end up with two subvolumes, but only one of them used. And to do it we need to unmount the manually created subvolume first, then run create-config and then remount it again. Otherwise create-config fails because the path /.snapshots already exists.

If this interpretation is correct, should we maybe recommend creating the snapper config manually instead? By adding a file to /etc/snapper/configs/ and referencing it in /etc/conf.d/snapper. That way the creation of the subvolume can be prevented and the umount/mount dance is not needed. Njam (talk) 18:10, 3 February 2018 (UTC)

You do end up with two subvolumes (one at @snapshots and one created by snapper). Just delete the snapshot created by snapper create-config in this case. -- Rdeckard (talk) 18:21, 3 February 2018 (UTC)
I just found it a bit confusing procedure - probably because I'm just learning about btrfs. I've opened a ticket on snapper to allow skipping the creation of the subvolume: Maybe that would make it simpler. -- Njam (talk) 19:04, 3 February 2018 (UTC)

Backup non-btrfs boot partition on pacman transactions

The hook suggested in this section is not unique to Snapper (or Btrfs), and could be useful in other configurations. Perhaps it should be moved to Backup or EFI System Partition. —This unsigned comment is by DCengineer (talk) 05:41, 26 June 2018 (UTC). Please sign your posts with ~~~~!

New article structure

Thinking about adding two new subsections (modify and delete configurations), I observed the structure of the article was not grouped. Could be better to change article structure to (e.g.):

1       Installation
2       Configuration
2.1       Create a new configuration
2.2       List configurations
2.3       Modify a configuration (new subsection -> snapper -c config set-config option=value)
2.4       Delete a configuration (new subsection -> snapper -c config delete-config)
3       Snapshots
3.1       Take snapshots
3.1.1       Automatic timeline snapshots       Enable/disable       Set snapshot limits       Change snapshot and cleanup frequencies
3.1.2       Manual snapshots       Simple snapshots       Pre/post snapshots
3.1.3       Snapshots on boot
3.2       List snapshots
3.3       Delete a snapshot
4       Access for non-root users
5       Tips and tricks
[... same as original ...]

This would group important topics, such as configurations and snapshots. I think it would be a better way to structure the article. --AlonsoLP (talk) 10:45, 22 January 2019 (UTC)