Skip to content

DB backup #435

Jun 14, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I can recommend you a solution based on mysqldump.
Below is a link to a script we recently tested:
https://gist.github.com/cedricbonhomme/a449c19ea5e69619cccc548d3970abf8

As you can see you have the option to version the backup directory.
Then, the backup should be archived and transfered to another server. It's out of scope here.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@luke-on-security
Comment options

Answer selected by luke-on-security
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants