Docker pod for charlesreid1.com: (mediawiki + mysql + phpmyadmin + apache) + gitea + python + nginx. #krash https://pages.charlesreid1.com/pod-charlesreid1
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.
Charles Reid f588287930 fix variable name and container name 4 months ago
..
README.md updating mysql utilities to work with docker-compose 1 year ago
dump_database.sh fix variable name and container name 4 months ago
restore_database.sh remove 4 months ago

README.md

myqsl utilities

These scripts use docker exec to run scripts inside the running MySQL container.

dumping to backups

To create backups, use the dump_database.sh script, and point it to a dumpfile to create:

dump_database.sh script: 
Dump a database to an SQL dump. 
 
       ./dump_database.sh <sql-dump-file> 
 
Example: 
 
       ./dump_database.sh /path/to/wikidb_dump.sql 

restoring from backups

restore_database.sh script:
Restores a database from an SQL dump.

       ./restore_database.sh <sql-dump-file>

Example:

       ./restore_database.sh /path/to/wikidb_dump.sql"