Delete remote old backup files
Purge historical backups in the object store according to the [remote.retain] policy in ‘prj.toml’. For the first time, it is recommended to keep really_remove = false for analysis only, and then change it to true after confirmation.
enforce_provisioning_action
参考 bak.toml 中的 [object_storage] 与 prj.toml 中的 [remote.retain]。
Field Key
` \toml
prj.toml
[local] prj_key = “test_717_file”
[remote.retain] really_remove = false # Analysis only for the first time; change to true after confirmation
Perform the preliminary checks: § .
peppykeep cleanup object-storage --config-home %USERPROFILE%\.peppykeep\conf
Example output:
=== Dry Run ===
Action : cleanup object-storage
Project : test_717_file
Force : false
Next : Re-run with --apply to execute.
| Field | Description |
|---|---|
| Action | Operation type: cleanup object-storage |
| Project | Current Project Identification |
| Force | Whether to enforce |
| Next | Really execute after adding `--apply’ |
Delete execution
peppykeep cleanup object-storage --force --apply --config-home %USERPROFILE%\.peppykeep\conf
Example of successful output:
=== Completed ===
Action : cleanup object-storage
Project : test_717_file
Force : true
Status : Command completed successfully.