Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
ynh_apps_backup.sh.j2 220 B
Newer Older
  • Learn to ignore specific revisions
  • #!/bin/sh
    
    {% if ynh_apps_backup.directory is string %}
    yunohost backup create --apps --output-directory {{ ynh_apps_backup.directory }}/backup_$(date +%Y%m%d_%H%M%S)
    {% else %}
    yunohost backup create --apps
    {% endif %}