From 901cf3ac61b847f33892dc5d8121da888cbc2393 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sun, 24 Nov 2024 02:55:01 +0300 Subject: [PATCH] MySQL backup --- content/posts/2024/mysql/backup.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 content/posts/2024/mysql/backup.md diff --git a/content/posts/2024/mysql/backup.md b/content/posts/2024/mysql/backup.md new file mode 100644 index 0000000..4ffb076 --- /dev/null +++ b/content/posts/2024/mysql/backup.md @@ -0,0 +1,14 @@ +--- +title: "🗄️ Бэкап MySQL" +date: 2024-11-24T02:52:50+03:00 +draft: false +tags: [mysql, mariadb, tips] +--- + + +А для того чтобы сделать дамп всех баз данных, +необходимо использовать параметр `--all-databases` (или сокращенно `-A`), пример: + +```sh +mysqldump --all-databases > dump-data.sql +```