diff --git "a/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.mysqldump/config.json" "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.mysqldump/config.json" deleted file mode 100644 index b8778b0e3f396c1c28893211ad71812a2e55df54..0000000000000000000000000000000000000000 --- "a/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.mysqldump/config.json" +++ /dev/null @@ -1,9 +0,0 @@ -{ - "node_id": "mysql-c9a8e4223b6c47efb08e2015f7570317", - "keywords": [], - "children": [], - "export": [], - "keywords_must": [], - "keywords_forbid": [], - "group": 0 -} \ No newline at end of file diff --git "a/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/binlog.json" "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/binlog.json" new file mode 100644 index 0000000000000000000000000000000000000000..f727731d85c7b29ef22ff72ce8c5a85f28e62b59 --- /dev/null +++ "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/binlog.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": "Mars", + "source": "dump.md", + "notebook_enable": false, + "exercise_id": "4f3e0c57d21f41e59d312870ae7df3b3" +} \ No newline at end of file diff --git "a/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/2.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/config.json" "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/config.json" similarity index 81% rename from "data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/2.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/config.json" rename to "data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/config.json" index d56deba111e245f95bfafb08b96e7086abc9a8d4..7e9e7a9a54eb6eb0b849c3c480a4db23fd5240aa 100644 --- "a/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/2.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/config.json" +++ "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/config.json" @@ -2,7 +2,9 @@ "node_id": "mysql-e2eefb85984643f8adb95f4eee16bc8f", "keywords": [], "children": [], - "export": [], + "export": [ + "dump.json" + ], "keywords_must": [], "keywords_forbid": [], "group": 0 diff --git "a/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/dump.json" "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/dump.json" new file mode 100644 index 0000000000000000000000000000000000000000..4dcc5d8929418fc6c5712a4e0cff44ef62afdb22 --- /dev/null +++ "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/dump.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": null, + "source": "dump.md", + "notebook_enable": false, + "exercise_id": "d581e2fe632b4737b6da553bd6455ed7" +} \ No newline at end of file diff --git "a/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/dump.md" "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/dump.md" new file mode 100644 index 0000000000000000000000000000000000000000..65de15e509f71587d0a8ecde12df469bd1543a6f --- /dev/null +++ "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/1.\346\225\260\346\215\256\345\257\274\345\205\245\345\222\214\345\257\274\345\207\272/dump.md" @@ -0,0 +1,40 @@ +# 备份和恢复 + +关于MySQL的备份和恢复,正确的是: + +1. mysqldump 导出的数据,可以通过管道直接重定向到文件。 +2. mysqldump 导出的文件,可以通过 mysql 命令行导入 +3. 可以只导出数据库结构 +4. 可以只导出数据 +5. 可以通过第三方导入导出工具进行多线程并发的备份或恢复 +6. 可以只导出指定的数据库 +7. 可以只导出指定的表 + +## 答案 + +全部都对 + + +## 选项 + +### A + +全都错误 + +### B + +``` +1, 2, 3, 4, 6, 7 +``` + +### C + +``` +1, 2, 4, 5 +``` + +### D + +``` +1, 2, 3, 4 +``` \ No newline at end of file diff --git "a/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/3.\347\201\276\351\232\276\346\201\242\345\244\215/config.json" "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/2.\347\201\276\351\232\276\346\201\242\345\244\215/config.json" similarity index 100% rename from "data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/3.\347\201\276\351\232\276\346\201\242\345\244\215/config.json" rename to "data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/2.\347\201\276\351\232\276\346\201\242\345\244\215/config.json" diff --git "a/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/3.\347\201\276\351\232\276\346\201\242\345\244\215/disaster_recovery.json" "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/2.\347\201\276\351\232\276\346\201\242\345\244\215/disaster_recovery.json" similarity index 100% rename from "data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/3.\347\201\276\351\232\276\346\201\242\345\244\215/disaster_recovery.json" rename to "data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/2.\347\201\276\351\232\276\346\201\242\345\244\215/disaster_recovery.json" diff --git "a/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/3.\347\201\276\351\232\276\346\201\242\345\244\215/disaster_recovery.md" "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/2.\347\201\276\351\232\276\346\201\242\345\244\215/disaster_recovery.md" similarity index 100% rename from "data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/3.\347\201\276\351\232\276\346\201\242\345\244\215/disaster_recovery.md" rename to "data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/2.\347\201\276\351\232\276\346\201\242\345\244\215/disaster_recovery.md" diff --git "a/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/3.\347\201\276\351\232\276\346\201\242\345\244\215/dr_options.json" "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/2.\347\201\276\351\232\276\346\201\242\345\244\215/dr_options.json" similarity index 100% rename from "data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/3.\347\201\276\351\232\276\346\201\242\345\244\215/dr_options.json" rename to "data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/2.\347\201\276\351\232\276\346\201\242\345\244\215/dr_options.json" diff --git "a/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/3.\347\201\276\351\232\276\346\201\242\345\244\215/dr_options.md" "b/data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/2.\347\201\276\351\232\276\346\201\242\345\244\215/dr_options.md" similarity index 100% rename from "data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/3.\347\201\276\351\232\276\346\201\242\345\244\215/dr_options.md" rename to "data/2.MySQL\344\270\255\351\230\266/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/2.\347\201\276\351\232\276\346\201\242\345\244\215/dr_options.md" diff --git a/data/tree.json b/data/tree.json index cef98bf268ce7920433f571a1d25925a19187e88..b7dc87fedf8dc73533c81b1a77fb91e8c3eacdcd 100644 --- a/data/tree.json +++ b/data/tree.json @@ -1305,16 +1305,6 @@ "node_id": "mysql-9f5d58c9e09b4ec79f8e7fc8c4e776a0", "keywords": [], "children": [ - { - "mysqldump": { - "node_id": "mysql-c9a8e4223b6c47efb08e2015f7570317", - "keywords": [], - "children": [], - "keywords_must": [], - "keywords_forbid": [], - "group": 0 - } - }, { "数据导入和导出": { "node_id": "mysql-e2eefb85984643f8adb95f4eee16bc8f",