<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://fiordland.apollo44.lat/w/index.php?action=history&amp;feed=atom&amp;title=Snapshots</id>
	<title>Snapshots - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://fiordland.apollo44.lat/w/index.php?action=history&amp;feed=atom&amp;title=Snapshots"/>
	<link rel="alternate" type="text/html" href="https://fiordland.apollo44.lat/w/index.php?title=Snapshots&amp;action=history"/>
	<updated>2026-11-23T09:39:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.12</generator>
	<entry>
		<id>https://fiordland.apollo44.lat/w/index.php?title=Snapshots&amp;diff=6&amp;oldid=prev</id>
		<title>Apollo: Initial version</title>
		<link rel="alternate" type="text/html" href="https://fiordland.apollo44.lat/w/index.php?title=Snapshots&amp;diff=6&amp;oldid=prev"/>
		<updated>2026-11-23T08:51:24Z</updated>

		<summary type="html">&lt;p&gt;Initial version&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Fiordland installs on Btrfs and takes automatic snapshots with [https://wiki.archlinux.org/title/Snapper snapper]. A snapshot is a frozen copy of the system (not your home folder) at a point in time.&lt;br /&gt;
&lt;br /&gt;
== When snapshots are taken ==&lt;br /&gt;
* Before and after every package install, removal or update (snap-pac).&lt;br /&gt;
* Every hour, kept as: 5 hourly, 7 daily, 2 weekly, 1 monthly.&lt;br /&gt;
&lt;br /&gt;
List them:&lt;br /&gt;
&amp;lt;pre&amp;gt;snapper -c root list&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Undo a change while the system still boots ==&lt;br /&gt;
Find the &amp;quot;pre&amp;quot; snapshot number from before the bad update, then:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo snapper -c root undochange PRE..POST&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot afterwards.&lt;br /&gt;
&lt;br /&gt;
== Roll back when the system does not boot ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;fl-warn&amp;quot;&amp;gt;Booting straight into a snapshot from the boot menu is not supported yet. This is planned for Fiordland 1. Until then, use the steps below.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First try the other boot entries: &amp;#039;&amp;#039;&amp;#039;Arch kernel&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;safe graphics&amp;#039;&amp;#039;&amp;#039;. If neither works:&lt;br /&gt;
&lt;br /&gt;
# Boot the Fiordland USB stick and open a terminal.&lt;br /&gt;
# Find your Fiordland partition: &amp;lt;code&amp;gt;lsblk -f&amp;lt;/code&amp;gt; (the Btrfs one, for example &amp;lt;code&amp;gt;/dev/nvme0n1p2&amp;lt;/code&amp;gt;).&lt;br /&gt;
# Mount the top of the filesystem:&lt;br /&gt;
#: &amp;lt;code&amp;gt;sudo mount -o subvolid=5 /dev/nvme0n1p2 /mnt&amp;lt;/code&amp;gt;&lt;br /&gt;
# Pick a snapshot: &amp;lt;code&amp;gt;sudo ls /mnt/@snapshots&amp;lt;/code&amp;gt; and check &amp;lt;code&amp;gt;sudo cat /mnt/@snapshots/N/info.xml&amp;lt;/code&amp;gt; for its date.&lt;br /&gt;
# Move the broken system aside and restore the snapshot:&lt;br /&gt;
#: &amp;lt;code&amp;gt;sudo mv /mnt/@ /mnt/@broken&amp;lt;/code&amp;gt;&lt;br /&gt;
#: &amp;lt;code&amp;gt;sudo btrfs subvolume snapshot /mnt/@snapshots/N/snapshot /mnt/@&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;sudo umount /mnt&amp;lt;/code&amp;gt; and reboot.&lt;br /&gt;
# Once everything works, delete the old copy: &amp;lt;code&amp;gt;sudo btrfs subvolume delete /@broken&amp;lt;/code&amp;gt; after mounting with &amp;lt;code&amp;gt;subvolid=5&amp;lt;/code&amp;gt; again.&lt;br /&gt;
&lt;br /&gt;
The kernel files live on the separate boot partition. If the problem came from a kernel update, reinstall the kernel after rolling back: &amp;lt;code&amp;gt;sudo pacman -S linux-cachyos linux&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Apollo</name></author>
	</entry>
</feed>