This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
database:mysql [2019/04/05 16:52] – [Master-Master Replication] tmade | database:mysql [2019/06/06 14:41] (current) – [Restore] tmade | ||
---|---|---|---|
Line 14: | Line 14: | ||
==== Backup ==== | ==== Backup ==== | ||
- | Example backupscript to backup each database as a singe file: | + | Example backupscript to backup each database as a single |
< | < | ||
#!/bin/bash | #!/bin/bash | ||
Line 101: | Line 101: | ||
==== Restore ==== | ==== Restore ==== | ||
- | Ceate a file with following content and make it executable (chmod +x import_db.sh) | + | Create |
< | < |