Marcel Stangenberger преди 11 месеца
родител
ревизия
e30f6bc290
променени са 1 файла, в които са добавени 5 реда и са изтрити 2 реда
  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