Delete local old backup files
enforce_provisioning_action
1.prj.toml
# Project identifiers for relative path and directory identification
prj_key = "test_717_file"
# Local Data Storage Directory
data_dir = "/path/to/user/work/test_data"
2.bak.toml
[public]
# Keep last 3 historical backups locally
history_bak_num = 1
# Log Storage Directory
log_dir = "/tmp/logs/peppykeep"
# Local Backup Storage Home Directory
local_bak_home = "/tmp/backup/peppykeep"
# Local Temporary Working Directory
local_tmp_home = "/tmp/.peppykeep_tmp"
# The maximum length of the backup queue is 1 (serial execution, no concurrency)
max_bak_queue_size = 1
Perform the preliminary checks: § .
Open Terminal Execution
peppykeep cleanup local --config-home ~/.peppykeep/conf
When the pre-test is successful, the output is as follows:
=== Dry Run ===
Action : cleanup local
Project : test_717_file
Force : false
Next : Re-run with --apply to execute.
Result
| Field | Description |
|---|---|
| Action | The type of operation currently performed, fixed to cleanup local |
| Project | Items to be cleaned, this time test_717_file |
| Force | Whether to enforce, this time isfalse |
| Next | Prompt: rerun with ’–apply` parameter if you really want to execute |
Delete execution
Delete local old backups
peppykeep cleanup local --apply --config-home ~/.peppykeep/conf
After executing the backup command, the output on success is as follows:
=== Completed ===
Action : cleanup local
Project : test_717_file
Force : false
Status : Command completed successfully.
2026-07-14T07:21:52.415444Z DEBUG peppykeep: src/main.rs:1873: Finished.
Result
| Field | Description |
|---|---|
| Action | The type of operation currently performed, fixed to cleanup local |
| Project | The project for this cleanup istest_717_file |
| Force | Whether to enforce, this time isfalse |
| Status | Task execution status, this execution was successful ✅ |