LinuxCommandLibrary

lbu

manages APK overlay files on diskless Alpine Linux systems

TLDR

Commit changes to persistent storage

$ lbu commit
copy
List files that would be saved
$ lbu status
copy
Display changes in tracked files
$ lbu diff
copy
Include a file or directory in overlay
$ lbu include [path/to/file_or_directory]
copy
Exclude a file from overlay
$ lbu exclude [path/to/file_or_directory]
copy
List manually included/excluded files
$ lbu include -l
copy
List backups (previous overlays)
$ lbu list-backup
copy
Revert to a backup overlay
$ lbu revert [overlay_filename.tar.gz]
copy

SYNOPSIS

lbu command [arguments]

DESCRIPTION

lbu (Local Backup Utility) manages APK overlay files on diskless Alpine Linux systems. In diskless mode, the root filesystem runs from RAM, and lbu saves configuration changes to persistent storage.
By default, only /etc is included in the overlay. Other files can be manually included. Changes are not persistent until committed with lbu commit.

PARAMETERS

ci, commit

Save changes to persistent storage
st, status
List files that would be committed
diff
Show changes in tracked files
inc, include PATH
Add file/directory to overlay
ex, exclude PATH
Remove file/directory from overlay
lb, list-backup
List available backups
revert FILE
Restore a backup overlay

CAVEATS

Specific to Alpine Linux diskless installations. Changes in RAM are lost on reboot if not committed. Overlay storage must be properly configured.

HISTORY

lbu is part of Alpine Linux's approach to running diskless systems, allowing customizations to be preserved across reboots while keeping the base system read-only.

SEE ALSO

apk(1), setup-alpine(8)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community