Browse Source

Update 'README.md'

Marcel Stangenberger 1 year ago
parent
commit
e30f6bc290
1 changed files with 5 additions and 2 deletions
  1. 5 2
      README.md

+ 5 - 2
README.md

@@ -1,3 +1,6 @@
-# mariadb-backup
+# Usage
 
-Simple shell script to back-up MariaDB and MySQL databases from within a container
+1. Create a user with docker access rights
+2. Mount filesystem "backup" to /mnt in the MySQL or MariaDB container
+3. Create a cronjob on the docker host along the lines of:
+    00 0,12 * * * docker container exec <containername> /mnt/backup.sh