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.

32 lines
1.0 KiB

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