Linux command
lbu 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Commit
lbu commit
List
lbu status
Example
lbu diff
Include
lbu include [path/to/file_or_directory]
Exclude
lbu exclude [path/to/file_or_directory]
Example
lbu include -l
Example
lbu list-backup
Revert
lbu revert [overlay_filename.tar.gz]
说明
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.
参数
- 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
FAQ
What is the lbu command used for?
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.
How do I run a basic lbu example?
Run `lbu commit` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does ci, commit do in lbu?
Save changes to persistent storage