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.

34 lines
1.1 KiB

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