mirror of
https://github.com/YunoHost-Apps/archivist_ynh.git
synced 2024-09-03 18:15:55 +02:00
26 lines
935 B
TOML
26 lines
935 B
TOML
[force_backup]
|
|
name = "Create a new backup"
|
|
command = "/bin/bash scripts/actions/force_backup"
|
|
# user = "root" # optional
|
|
# cwd = "/" # optional
|
|
# accepted_return_codes = [0, 1, 2, 3] # optional
|
|
accepted_return_codes = [0]
|
|
description = "Run Archivist to create a new backup."
|
|
|
|
[clean_backups]
|
|
name = "Clean all previous backup files"
|
|
command = "/bin/bash scripts/actions/clean_backups"
|
|
# user = "root" # optional
|
|
# cwd = "/" # optional
|
|
# accepted_return_codes = [0, 1, 2, 3] # optional
|
|
accepted_return_codes = [0]
|
|
description = "Remove all previous backup files made by Archivist."
|
|
|
|
[reset_default_config]
|
|
name = "Reset the config file and restore a default one."
|
|
command = "/bin/bash scripts/actions/reset_default_config \"Backup_list.conf\""
|
|
# user = "root" # optional
|
|
# cwd = "/" # optional
|
|
# accepted_return_codes = [0, 1, 2, 3] # optional
|
|
accepted_return_codes = [0]
|
|
description = "Reset the config file Backup_list.conf."
|