lbu
Manage
apkoverlay files on a diskless Alpine Linux system. Note: subcommands likeincludewrite to/etc, which is stored in RAM. You need to runlbu committo save the changes. More information: https://wiki.alpinelinux.org/wiki/Alpine_local_backup.
- Commit changes to persistent storage (only files in
/etcby default):
lbu {{ci|commit}}
- List files that would be saved using
commit:
lbu {{st|status}}
- Display changes in tracked files that would be saved using
commit:
lbu diff
- Include a specific file or directory in the
apkoverlay:
lbu {{add|inc|include}} {{path/to/file_or_directory}}
- Exclude a specific file or directory in
/etcfrom theapkoverlay:
lbu {{ex|exclude|delete}} {{path/to/file_or_directory}}
- Display the list of manually included/excluded files:
lbu {{inc|include|ex|exclude}} -l
- List backups (previously created overlays):
lbu {{lb|list-backup}}
- Revert to a backup overlay:
lbu revert {{overlay_filename.tar.gz}}