You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.0 KiB

  1. name: MariaDB
  2. maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
  3. provides:
  4. mysql-database:
  5. sql-database:
  6. data-resources:
  7. - /var/lib/mysql
  8. - /var/backups/mysql
  9. uses:
  10. schedule-command:
  11. constraint: optional
  12. auto: pair
  13. solves:
  14. backup: "Automatic regular dumps for backuping purpose"
  15. default-options:
  16. schedule: "31 * * * *" ## schedule backup every hour
  17. ## This one is useful only if previous relation is used
  18. backup:
  19. constraint: recommended
  20. auto: pair
  21. solves:
  22. backup: "Automatic regular backups of dumps"
  23. default-options:
  24. ## First pattern matching wins, no pattern matching includes.
  25. ## include-patterns are checked first, then exclude-patterns
  26. ## Patterns rules:
  27. ## - ending / for directory
  28. ## - '*' authorized
  29. ## - must start with a '/', will start from $SERVICE_DATASTORE
  30. exclude-patterns:
  31. - "/var/lib/" ## mariadb working data files
  32. - "/var/backups/mysql/*.inprogress" ## database dump in progress