<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rylan</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rylan"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Rylan"/>
	<updated>2026-05-02T01:59:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_local_backup&amp;diff=20198</id>
		<title>Alpine local backup</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_local_backup&amp;diff=20198"/>
		<updated>2021-10-16T14:12:06Z</updated>

		<summary type="html">&lt;p&gt;Rylan: /* Saving and loading ISO image customizations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;When Alpine Linux boots in diskless mode, it initially only loads a few required packages from the boot device.&lt;br /&gt;
&lt;br /&gt;
However, local adjustments to what-gets-loaded-into-RAM are possible, e.g. by [[Alpine_package_management|installing a package]] or adjusting the configuration files in {{path|/etc}}. The modifications can be saved to an overlay file (.apkovl) that can be automatically loaded when booting, to restore the saved state.&lt;br /&gt;
&lt;br /&gt;
The .apkovl file that contains the custom configuration can be saved to writable storage with Alpine&#039;s local backup utility &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt;. By configuring a [[Alpine_Linux_package_management#Local_Cache|local package cache]] the additional packages the configuration depends on, can also be kept available on local, writable storage.&lt;br /&gt;
&lt;br /&gt;
{{Note|If you installed Alpine in &amp;quot;sys&amp;quot; disk mode, you don&#039;t need to use &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt; to save the system state. With a system disk, all modifications are&lt;br /&gt;
written directly to disk. Nevertheless, &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt; can be useful for some maintenance tasks.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Warning|&lt;br /&gt;
&#039;&#039;&#039;By default, an &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt; only stores modifications below {{Path|/etc}}&#039;&#039;&#039;, with the exception of the {{Path|/etc/init.d/}} directory.&lt;br /&gt;
&lt;br /&gt;
However, [[#Include_special_files.2Ffolders_to_the_apkovl|lbu include]] enables modifying that set of included files, and can be used to specify additional files or folders.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Saving and loading ISO image customizations ==&lt;br /&gt;
&lt;br /&gt;
Besides supporting a boot parameter to load customizations from a web server, Alpine&#039;s &amp;quot;diskless mode&amp;quot; ISO images try to load an .apkovl volume from system partitions. It is therefore possible to save customized running states to a .apkovl file on a writable partition, and have these automatically loaded when booting the ISO image.&lt;br /&gt;
&lt;br /&gt;
{{Note|When the machine reboots, the remote repositories will not be available until after networking has started. That means packages newer than on your local boot media would not be available after a reboot, unless they were made to persistent, by having a [[#Local Cache|local package cache]] available on a local, writable, storage device.}}&lt;br /&gt;
&lt;br /&gt;
The local package cache, which enables additional and updated packages to automatically be copied into RAM during boot, may be stored on the same partition as the .apkovl file.&lt;br /&gt;
&lt;br /&gt;
To use partitions on &#039;&#039;&#039;internal disks&#039;&#039;&#039;, however, you need to prepare a specific /etc/fstab entry manually, and save the configuration, as follows (setup-alpine does not list them for saving configs or package cache):&lt;br /&gt;
&lt;br /&gt;
1. Boot the diskless system from ISO (as shown at [[Installation]])&amp;lt;br&amp;gt;&lt;br /&gt;
2. If necessary, create and format a partition as in [[Setting_up_disks_manually#For_.22diskless.22_and_.22data.22_disk_mode_installs_2]]. For the examples we will use /dev/sdXY&amp;lt;br&amp;gt;&lt;br /&gt;
* Bug: [https://gitlab.alpinelinux.org/alpine/mkinitfs/-/issues/5 Initramfs-init does not respect apkovl device fstab entry], so the partition can not be mounted to /boot. The workaround given there does not seem to work (e.g. &amp;lt;code&amp;gt;mkdir -p /boot/ovl_dev/cache ; touch /boot/ovl_dev/cache/.boot_repository&amp;lt;/code&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
=&amp;gt; Alternative: Configure the /etc/fstab to mount the writable partition to /media/sdXY instead of /boot (i.e. conforming to the hot/cold-plug mountpoints):&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;lt;code&amp;gt;mkdir /media/sdXY&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
4. &amp;lt;code&amp;gt;echo &amp;quot;/dev/sdXY /media/sdXY ext4 noatime,ro 0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt; (Mounting read-only is possible, because the tools temporarily remount it writable for their operation.)&amp;lt;br&amp;gt;&lt;br /&gt;
5. Use &amp;lt;code&amp;gt;mount -a&amp;lt;/code&amp;gt; to load the partitions listed in /etc/fstab. Look at the output of &amp;lt;code&amp;gt;mount&amp;lt;/code&amp;gt; to verify that the /etc/fstab changes have been applied correctly.&amp;lt;br&amp;gt;&lt;br /&gt;
6. If setup-alpine has not run before, it may be used and should now enable you to choose the partition for saving the local configs and package cache. (If asked, there is no need to first unmount the partition, that would only be needed to allow installing on its parent disk.)&amp;lt;br&amp;gt;&lt;br /&gt;
If setup-alpine has already been used to configure the diskless system, the storage settings may be modified directly with &amp;lt;code&amp;gt;setup-lbu sdXY&amp;lt;/code&amp;gt; and  &amp;lt;code&amp;gt;mkdir /media/sdXY/cache ; setup-apkcache /media/sdXY/cache&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
7. If the partition is large enough, it can be useful to edit lbu.conf to uncomment and set &amp;lt;code&amp;gt;BACKUP_LIMIT=3&amp;lt;/code&amp;gt;. For example, to allow reverting to a previous, working state if needed.&lt;br /&gt;
{{cmd| # apk add nano&lt;br /&gt;
 # nano /etc/lbu/lbu.conf&lt;br /&gt;
}}&lt;br /&gt;
8. Finally, generate the first .apkovl file containing all the previous changes with [https://wiki.alpinelinux.org/wiki/Alpine_local_backup Alpine_local_backup], by executing &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt;, so the customizations that were just made will persist a reboot.&lt;br /&gt;
&lt;br /&gt;
From then on, whenever packages are installed or newly configured, and the changes should be kept, execute &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt; again.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
* For a virtual machine, the &#039;&#039;&#039;[[Qemu#Live_mode|Qemu example]]&#039;&#039;&#039; shows how an ISO image can automatically boot with .apkovl customizations.&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Alpine_local_backup Alpine_local_backup] explains how to include custom files outside of &amp;lt;code&amp;gt;/etc&amp;lt;/code&amp;gt; in the .apkovl file.&lt;br /&gt;
* [[Alpine_Linux_package_management#Local_Cache]] covers managing a local package cache.&lt;br /&gt;
** The packages get listed in /etc/apk/world which gets saved with the lbu, for them to be automatically installed when the live system boots.&lt;br /&gt;
* It&#039;s possible to load an APKOVL file from a webserver, by supplying a custom url with the &amp;lt;code&amp;gt;APKOVL&amp;lt;/code&amp;gt; kernel boot parameter.&lt;br /&gt;
** If you don&#039;t have a web server you can run busybox&#039;s httpd temporarily to serve an .apkovl - &amp;lt;code&amp;gt;busybox httpd -p 127.0.0.1:80&amp;lt;/code&amp;gt;.&lt;br /&gt;
* To customize the boot sequence further, one may refer to [[PXE_boot#Specifying_an_apkovl]] and [[How_to_make_a_custom_ISO_image_with_mkimage]].&lt;br /&gt;
&lt;br /&gt;
== Committing changes ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt; tool has several subcommands to manage the .apkovl:&lt;br /&gt;
* lbu&lt;br /&gt;
* lbu commit &#039;&#039;(Same as &#039;lbu ci&#039;)&#039;&#039;&lt;br /&gt;
* lbu package &#039;&#039;(Same as &#039;lbu pkg&#039;)&#039;&#039;&lt;br /&gt;
* lbu status &#039;&#039;(Same as &#039;lbu st&#039;)&#039;&#039;&lt;br /&gt;
* lbu list &#039;&#039;(Same as &#039;lbu ls&#039;)&#039;&#039;&lt;br /&gt;
* lbu diff&lt;br /&gt;
* lbu include &#039;&#039;(Same as &#039;lbu inc&#039; or &#039;lbu add&#039;)&#039;&#039;&lt;br /&gt;
* lbu exclude &#039;&#039;(Same as &#039;lbu ex&#039; or &#039;lbu delete&#039;)&#039;&#039;&lt;br /&gt;
* lbu list-backup &#039;&#039;(Same as &#039;lbu lb&#039;)&#039;&#039;&lt;br /&gt;
* lbu revert&lt;br /&gt;
&lt;br /&gt;
In the examples below, you will find some characters with special meaning:&lt;br /&gt;
* &#039;&#039;&#039;|&#039;&#039;&#039; = &#039;&#039;&#039;or&#039;&#039;&#039; &#039;&#039;(&#039;lbu commit|ci&#039; means that you can type ether &#039;lbu commit&#039; or &#039;lbu ci&#039;)&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[ ]&#039;&#039;&#039; = &#039;&#039;&#039;optional&#039;&#039;&#039; &#039;&#039;(In &#039;lbu commit|ci [-nv]&#039; you can skip the &#039;-n&#039;, &#039;-v&#039; or &#039;-nv&#039; part if you don&#039;t want it)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Basic &amp;quot;commit&amp;quot; command ===&lt;br /&gt;
When you &amp;quot;commit&amp;quot; or save changes you&#039;ve made to your system, &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt; will generate a file named something like {{Path|&amp;lt;var&amp;gt;myboxname&amp;lt;/var&amp;gt;.apkovl.tar.gz}} &#039;&#039;(&#039;myboxname&#039; will be the same as the hostname)&#039;&#039;.&lt;br /&gt;
The file (which contains your modifications) is called your &amp;quot;apkovl&amp;quot;.&lt;br /&gt;
You will need to save your apkovl on suitable media (floppy, usb, cf, etc.).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
usage: lbu commit|ci [-nv] [&amp;lt;media&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -d	Remove old apk overlay files.&lt;br /&gt;
  -e	Protect configuration with a password.&lt;br /&gt;
  -n	Don&#039;t commit, just show what would have been committed.&lt;br /&gt;
  -p &amp;lt;password&amp;gt;	Give encryption password on the command-line&lt;br /&gt;
  -v	Verbose mode.&lt;br /&gt;
&lt;br /&gt;
The following values for &amp;lt;media&amp;gt; are supported: floppy usb&lt;br /&gt;
If &amp;lt;media&amp;gt; is not specified, the environment variable LBU_MEDIA will be used.&lt;br /&gt;
&lt;br /&gt;
Password protection will use aes-256-cbc encryption. Other ciphers can be&lt;br /&gt;
used by setting the DEFAULT_CIPHER or ENCRYPTION environment variables.&lt;br /&gt;
For possible ciphers, try: openssl -v&lt;br /&gt;
&lt;br /&gt;
The password used to encrypt the file, can be specified with the -p&lt;br /&gt;
option or by using the PASSWORD environment variable.&lt;br /&gt;
&lt;br /&gt;
The environment variable can also be set in /etc/lbu/lbu.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating an .apkovl &amp;quot;package&amp;quot; elsewhere than on the configured media ===&lt;br /&gt;
&lt;br /&gt;
To &amp;quot;commit&amp;quot; changes, but override the destination of the generated apkovl file, use &amp;lt;code&amp;gt;lbu package&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
usage: lbu package|pkg -v [&amp;lt;dirname&amp;gt;|&amp;lt;filename&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -v   Verbose mode.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;dirname&amp;gt; is a directory, a package named &amp;lt;hostname&amp;gt;.apkovl.tar.gz will&lt;br /&gt;
be created in the specified directory.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;filename&amp;gt; is specified, and is not a directory, a package with the&lt;br /&gt;
specified name will be created.&lt;br /&gt;
&lt;br /&gt;
If neither &amp;lt;dirname&amp;gt; nor &amp;lt;filename&amp;gt; is specified, a package named&lt;br /&gt;
&amp;lt;hostname&amp;gt;.apkovl.tar.gz will be created in the current working directory.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating and saving an apkovl from a remote host ===&lt;br /&gt;
&lt;br /&gt;
To create an apkovl from a client on a remote server, it&#039;s possible to use &amp;lt;code&amp;gt;lbu package&amp;lt;/code&amp;gt; via SSH with {{Path|-}} as the apkovl name:&lt;br /&gt;
&lt;br /&gt;
On the server:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh root@client &amp;quot;lbu package -&amp;quot; &amp;gt;client.apkovl.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Checking what will be added to your apkovl ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;lbu status&amp;lt;/code&amp;gt; lists what will be saved the next time you run &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt;. Its default output is incremental, that is, it shows&lt;br /&gt;
only the files that have changed since the last commit. &amp;lt;br&amp;gt;&lt;br /&gt;
This can be overridden with the &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt; flag:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
usage: lbu status|st [-av]&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -a    Compare all files, not just since last commit.&lt;br /&gt;
  -v    show include and exclude lists.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another option is &amp;lt;code&amp;gt;lbu list&amp;lt;/code&amp;gt;. This works like &amp;lt;code&amp;gt;lbu status -a&amp;lt;/code&amp;gt; but the format of the output is a bit different. (It&#039;s strictly equivalent to &amp;lt;code&amp;gt;lbu package -v /dev/null&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 usage: lbu list|ls&lt;br /&gt;
&lt;br /&gt;
A third option is &amp;lt;code&amp;gt;lbu diff&amp;lt;/code&amp;gt;. This shows the same incremental changes that &amp;lt;code&amp;gt;lbu status&amp;lt;/code&amp;gt; (without &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;) does, but in a different format.&lt;br /&gt;
&lt;br /&gt;
  usage: lbu diff&lt;br /&gt;
&lt;br /&gt;
== Include special files/folders to the apkovl ==&lt;br /&gt;
Assume you have some files you want to save permanently, but they are not located in {{Path|/etc}}.&amp;lt;BR&amp;gt;&lt;br /&gt;
e.g. {{Path|/root/.ssh/authorized_keys}} (used by &amp;lt;code&amp;gt;sshd&amp;lt;/code&amp;gt; to authenticate ssh-users). Such files/folders can be added to lbu&#039;s &#039;&#039;include&#039;&#039; list with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
usage: lbu include|inc|add [-rv] &amp;lt;file&amp;gt; ...&lt;br /&gt;
       lbu include|inc|add [-v] -l&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -l	List contents of include list.&lt;br /&gt;
  -r	Remove specified file(s) from include list.&lt;br /&gt;
  -v	Verbose mode.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|This information used to be maintained in {{Path|/etc/lbu/include}}. Now it&#039;s maintained together with the &#039;&#039;exclude&#039;&#039; list in {{Path|/etc/apk/protected_paths.d/lbu.list}}. Either way, the command &amp;lt;code&amp;gt;lbu include&amp;lt;/code&amp;gt; only modifies lbu&#039;s configuration.&lt;br /&gt;
You will need to run &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt; to actually create/modify your apkovl.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Exclude specific files/folders from the apkovl ==&lt;br /&gt;
Assume you have some files located in {{Path|/etc}} or one of its subfolders you &#039;&#039;do not&#039;&#039; want to save.&lt;br /&gt;
It could be a log file or status file that for some reason isn&#039;t in {{Path|/var/log/}} but in a location that would otherwise be tracked by &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt;.&lt;br /&gt;
Such files/folders can be added to lbu&#039;s &#039;&#039;exclude&#039;&#039; list by manually editing the file or using the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
usage: lbu exclude|ex|delete [-rv] &amp;lt;file&amp;gt; ...&lt;br /&gt;
       lbu exclude|ex|delete [-v] -l&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -l	List contents of exclude list.&lt;br /&gt;
  -r	Remove specified file(s) from exclude list.&lt;br /&gt;
  -v	Verbose mode.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Note|As stated above, this information is now maintained in {{Path|/etc/apk/protected_paths.d/lbu.list}}. The command &amp;lt;code&amp;gt;lbu exclude&amp;lt;/code&amp;gt; also only modifies lbu&#039;s configuration. &amp;lt;br&amp;gt;&lt;br /&gt;
You will need to run &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt; to actually create/modify your apkovl.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Execute a script as part of a backup ==&lt;br /&gt;
&lt;br /&gt;
Sometimes it&#039;s necessary to run a script before or after a backup.  Scripts in two optional directories enable that:&lt;br /&gt;
&lt;br /&gt;
 /etc/lbu/pre-package.d&lt;br /&gt;
 /etc/lbu/post-package.d&lt;br /&gt;
&lt;br /&gt;
Files in those directories are run using run-script rules (meaning they must have the executable bit set, they are run in alphabetical order, and cannot contain an extension. e.g. {{Path|runme}} works, but {{Path|runme.sh}} does not.)&lt;br /&gt;
&lt;br /&gt;
The scripts in {{Path|pre-package.d}} are run before apkovl is created. Scripts in {{Path|post-package.d}} are run after apkovl is created.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
Rather than adding the raw database directories to {{Path|/etc/lbu/include}}, you can do a &amp;quot;database dump&amp;quot;.    e.g. {{Pkg|postgresql}}:&lt;br /&gt;
&lt;br /&gt;
* Create {{Path|/etc/lbu/pre-package.d/sqldump}} with the following contents: &amp;lt;pre&amp;gt;pg_dumpall -U postgres | gzip -c &amp;gt;/root/pgdatabases.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Mark the file executable: &amp;lt;code&amp;gt;chmod +x /etc/lbu/pre-package.d/sqldump&amp;lt;/code&amp;gt;&lt;br /&gt;
* Create {{Path|/etc/lbu/post-package.d/sqldumpdelete}} with the following contents: &amp;lt;pre&amp;gt;rm -f /root/pgdatabases.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Mark the file executable: &amp;lt;code&amp;gt;chmod +x /etc/lbu/post-package.d/sqldumpdelete&amp;lt;/code&amp;gt;&lt;br /&gt;
* Finally, add the database dump file to the list of files to back up: &amp;lt;code&amp;gt;lbu include root/pgdatabases.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now when you do a &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt;, the sql databases are dumped and gzipped to {{Path|/root/pgdatabases.gz}}.&lt;br /&gt;
The temporary file is deleted at the end of the lbu commit.&lt;br /&gt;
&lt;br /&gt;
On a catastrophic restore, the databases are not automatically restored (that&#039;s not lbu&#039;s job), but you will find a complete database dump in the {{Path|/root}} directory, where it can be restored manually.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Multiple backup versions ==&lt;br /&gt;
Lbu can now keep multiple backups so you can revert back to older configurations.&lt;br /&gt;
Set BACKUP_LIMIT in {{Path|/etc/lbu/lbu.conf}} to the number of backups you want&lt;br /&gt;
to keep.&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve set BACKUP_LIMIT, then the previously active .apkovl will be renamed before creating the new file.&lt;br /&gt;
&lt;br /&gt;
You can list the currently available backups with:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|lbu list-backup [&amp;lt;media&amp;gt;]}}&lt;br /&gt;
&lt;br /&gt;
and you can revert to an older one with:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|lbu revert &amp;lt;filename&amp;gt; [&amp;lt;media&amp;gt;]}}&lt;br /&gt;
&lt;br /&gt;
NOTE: Nothing is changed on your running system when &amp;quot;reverting&amp;quot;, it only affects which apkovl is considered active at the next boot.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Back Up a Flash Memory Installation]]&lt;br /&gt;
* [[Manually editing a existing apkovl]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Booting]]&lt;br /&gt;
[[Category:Package Manager]]&lt;br /&gt;
[[category: LBU]]&lt;/div&gt;</summary>
		<author><name>Rylan</name></author>
	</entry>
</feed>