backup all installed apps and Yunohost conf?
How does YNH do a single app backup, where ?
Add a variable to configure YNH local backups all apps.
ynh_backup:
directory: /data/backup
scheduled: true
schedule_hour: 3
schedule_minute:
schedule_weekday:
schedule_month:
The configuration can take a cron time string format. See : https://github.com/arillso/ansible.restic#backups
Proposition
One directory by app with label like /data/backup/discourse
Result of backup is :
/data/backup/discourse/<mybackup.tgz>
/data/backup/wikijs/<mybackup.tgz>
/data/backup/myapp/<mybackup.tgz>
Todo
-
Backup config YNH app -
backup data
What about Yunohost conf?
See #37 (closed) because with Yunohost cli and option --system
we can backup Yunohost conf so it can be added for this feature.
Create a backup local archive. If neither --apps or --system are given, this will backup all apps and all system parts. If only --apps if given, this will only backup apps and no system parts. Similarly, if only --system is given, this will only backup system parts and no apps.