diff --git a/README.md b/README.md index 38e30c0..3be5a13 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## Auto Backup +# Auto Backup This plugins takes a backup of your hassio instance based on the timing you specify in config. Just use standard cron format (min hour day month weekday). You can specify how many backups you want to mantain (should be >= 1). Note that backups are deleted after a new one is taken, so if something goes wrong, you end up with no recent backup and the oldest valid ones. diff --git a/config.json b/config.json new file mode 100644 index 0000000..3c1315f --- /dev/null +++ b/config.json @@ -0,0 +1,26 @@ +{ + "name": "Auto Backup", + "url": "https://git.asperti.com/paspo/hassio-addons", + "version": "0.2.0", + "slug": "auto-backup", + "description": "Take hassio backups with fixed timings and manage retention", + "startup": "application", + "boot": "auto", + "arch": [ + "aarch64", + "amd64", + "armhf", + "i386" + ], + "homeassistant": "2021.9", + "hassio_api": true, + "hassio_role": "backup", + "options": { + "cron": "15 3 * * *", + "num_backups": 10 + }, + "schema": { + "cron": "str", + "num_backups": "int" + } +}