src/bin/proxmox-backup-proxy.rs: schedule prune jobs

This commit is contained in:
Dietmar Maurer
2020-05-20 13:00:53 +02:00
parent 872062ee9f
commit 25829a879b
2 changed files with 157 additions and 9 deletions

View File

@ -489,6 +489,7 @@ fn datastore_commands() -> CommandLineInterface {
.arg_param(&["name"])
.completion_cb("name", config::datastore::complete_datastore_name)
.completion_cb("gc-schedule", config::datastore::complete_calendar_event)
.completion_cb("prune-schedule", config::datastore::complete_calendar_event)
)
.insert("remove",
CliCommand::new(&api2::config::datastore::API_METHOD_DELETE_DATASTORE)