{"id":5498,"date":"2026-06-15T14:01:13","date_gmt":"2026-06-15T14:01:13","guid":{"rendered":"https:\/\/cloudsave.app\/?p=5498"},"modified":"2026-06-15T16:05:02","modified_gmt":"2026-06-15T16:05:02","slug":"%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8","status":"publish","type":"post","link":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\/","title":{"rendered":"\u042f\u0430\u0433\u0430\u0430\u0434 VM \u0430\u0433\u0448\u0438\u043d (snapshot) \u043d\u044c \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0443\u0443\u0434\u0430\u0434 \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u0430\u0433\u0433\u04af\u0439 \u0432\u044d: \u04e8\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0431\u04af\u0440\u044d\u043d \u0431\u04af\u0442\u044d\u043d \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0442\u0430\u043b\u0430\u0430\u0440\u0445 DBA-\u0438\u0439\u043d \u0433\u0430\u0440\u044b\u043d \u0430\u0432\u043b\u0430\u0433\u0430"},"content":{"rendered":"<p>DevOps \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u04af\u04af\u0434 \u0431\u043e\u043b\u043e\u043d \u0441\u0438\u0441\u0442\u0435\u043c\u0438\u0439\u043d \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0443\u0443\u0434\u044b\u043d \u0445\u0443\u0432\u044c\u0434 \u0432\u0438\u0440\u0442\u0443\u0430\u043b \u043c\u0430\u0448\u0438\u043d (VM) \u0430\u0433\u0448\u0438\u043d \u0437\u0443\u0443\u0440\u044b\u043d \u0437\u0443\u0440\u0430\u0433 (snapshot) \u043d\u044c \u04af\u043d\u0434\u0441\u044d\u043d \u0445\u044d\u0440\u044d\u0433\u0441\u044d\u043b \u044e\u043c. \u042d\u0434\u0433\u044d\u044d\u0440 \u043d\u044c \u044d\u0440\u0441\u0434\u044d\u043b\u0442\u044d\u0439 \u0437\u0430\u0441\u0432\u0430\u0440 (patch), \u0442\u043e\u0445\u0438\u0440\u0433\u043e\u043e\u043d\u044b \u0442\u043e\u043c\u043e\u043e\u0445\u043e\u043d \u04e9\u04e9\u0440\u0447\u043b\u04e9\u043b\u0442 \u044d\u0441\u0432\u044d\u043b \u0430\u043f\u043f\u043b\u0438\u043a\u0435\u0439\u0448\u043d \u0431\u0430\u0439\u0440\u0448\u0443\u0443\u043b\u0430\u0445\u044b\u043d \u04e9\u043c\u043d\u04e9 \u0441\u0435\u0440\u0432\u0435\u0440\u0438\u0439\u043d \u0442\u04e9\u043b\u04e9\u0432\u0438\u0439\u0433 \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445 \u0445\u0443\u0440\u0434\u0430\u043d \u0431\u04e9\u0433\u04e9\u04e9\u0434 \u0442\u043e\u0445\u0438\u0440\u043e\u043c\u0436\u0442\u043e\u0439 \u0430\u0440\u0433\u044b\u0433 \u04e9\u0433\u0434\u04e9\u0433. \u0425\u044d\u0440\u044d\u0432 \u044f\u043c\u0430\u0440 \u043d\u044d\u0433 \u0437\u04af\u0439\u043b \u0431\u0443\u0440\u0443\u0443\u0433\u0430\u0430\u0440 \u044d\u0440\u0433\u044d\u0432\u044d\u043b, \u04e9\u043c\u043d\u04e9\u0445 \u0442\u04e9\u043b\u04e9\u0432 \u0440\u04af\u04af \u0431\u0443\u0446\u0430\u0430\u0445\u0430\u0434 \u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434 \u043b \u0445\u0430\u043d\u0433\u0430\u043b\u0442\u0442\u0430\u0439.<\/p>\n<p>\u0413\u044d\u0441\u044d\u043d \u0445\u044d\u0434\u0438\u0439 \u0447, \u044d\u043d\u044d \u0430\u0440\u0433\u0430\u0447\u043b\u0430\u043b\u044b\u0433 PostgreSQL, MySQL, Oracle \u044d\u0441\u0432\u044d\u043b Microsoft SQL Server \u0437\u044d\u0440\u044d\u0433 \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0443\u0443\u0434\u0430\u0434 (transactional databases) \u0430\u0448\u0438\u0433\u043b\u0430\u0445 \u04af\u0435\u0434 VM snapshot \u043d\u044c \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0431\u0430\u0442\u0430\u043b\u0433\u0430\u0430 \u0431\u0430\u0439\u0445\u0430\u0430 \u0431\u043e\u043b\u044c\u0436, \u0442\u044d\u0441\u0440\u044d\u0445 \u0431\u04e9\u043c\u0431\u04e9\u0433 \u043c\u044d\u0442 \u0430\u044e\u0443\u043b\u0442\u0430\u0439 \u0437\u04af\u0439\u043b \u0431\u043e\u043b\u0436 \u0445\u0443\u0432\u0438\u0440\u0434\u0430\u0433.<\/p>\n<p>\u041c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u04e9\u0434 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u044b\u043d \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 snapshot-\u0434 \u043d\u0430\u0439\u0434\u0430\u0445 \u043d\u044c \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u044d\u0432\u0434\u0440\u044d\u043b, \u0445\u0443\u0443\u0434\u0430\u0441\u043d\u044b \u0433\u044d\u043c\u0442\u044d\u043b (torn pages) \u0431\u043e\u043b\u043e\u043d \u0441\u044d\u0440\u0433\u044d\u044d\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0433\u04af\u0439 \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u0442\u0430\u0441\u0430\u043b\u0434\u043b\u044b\u043d \u0445\u0430\u043c\u0433\u0438\u0439\u043d \u0442\u04af\u0433\u044d\u044d\u043c\u044d\u043b \u0448\u0430\u043b\u0442\u0433\u0430\u0430\u043d\u0443\u0443\u0434\u044b\u043d \u043d\u044d\u0433 \u044e\u043c. \u042d\u043d\u044d \u043d\u0438\u0439\u0442\u043b\u044d\u043b\u0434 \u0431\u0438\u0434 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440 \u0431\u043e\u043b\u043e\u043d \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0445\u04e9\u0434\u04e9\u043b\u0433\u04af\u04af\u0440\u04af\u04af\u0434\u0438\u0439\u043d \u0445\u043e\u043e\u0440\u043e\u043d\u0434\u043e\u0445 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b\u043d \u0437\u04e9\u0440\u0447\u0438\u043b, snapshot \u0445\u0438\u0439\u0445 \u044f\u0432\u0446\u0430\u0434 \u04e9\u0433\u04e9\u0433\u0434\u04e9\u043b \u044d\u0432\u0434\u0440\u044d\u0445 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c, \u043c\u04e9\u043d \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0447\u043b\u0430\u0433\u0434\u0441\u0430\u043d \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433 \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445\u04e9\u0434 \u0448\u0430\u0430\u0440\u0434\u043b\u0430\u0433\u0430\u0442\u0430\u0439 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u0438\u0439\u043d \u0448\u0438\u043b\u0434\u044d\u0433 \u0442\u0443\u0440\u0448\u043b\u0430\u0433\u0443\u0443\u0434\u044b\u0433 \u0441\u0443\u0434\u043b\u0430\u0445 \u0431\u043e\u043b\u043d\u043e.<\/p>\n<h2>\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b\u043d \u0437\u04e9\u0440\u0447\u0438\u043b: \u0413\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440 vs \u041c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0445\u04e9\u0434\u04e9\u043b\u0433\u04af\u04af\u0440\u04af\u04af\u0434<\/h2>\n<p>VM snapshot \u044f\u0430\u0433\u0430\u0430\u0434 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0434 \u0430\u044e\u0443\u043b \u0443\u0447\u0440\u0443\u0443\u043b\u0434\u0433\u0438\u0439\u0433 \u043e\u0439\u043b\u0433\u043e\u0445\u044b\u043d \u0442\u0443\u043b\u0434 \u044d\u0445\u043b\u044d\u044d\u0434 \u0445\u043e\u0451\u0440 \u0441\u0438\u0441\u0442\u0435\u043c \u0442\u04e9\u043b\u04e9\u0432 \u0431\u043e\u043b\u043e\u043d I\/O \u04af\u0439\u043b\u0434\u043b\u04af\u04af\u0434\u0438\u0439\u0433 \u0445\u044d\u0440\u0445\u044d\u043d \u0443\u0434\u0438\u0440\u0434\u0434\u0430\u0433\u0438\u0439\u0433 \u0430\u0432\u0447 \u04af\u0437\u044d\u0445 \u0445\u044d\u0440\u044d\u0433\u0442\u044d\u0439.<\/p>\n<h3>\u0413\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0443\u0443\u0434 \u0445\u044d\u0440\u0445\u044d\u043d Snapshot \u0445\u0438\u0439\u0434\u044d\u0433 \u0432\u044d?<\/h3>\n<p>\u0413\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440 (VMware ESXi, Microsoft Hyper-V \u044d\u0441\u0432\u044d\u043b KVM \u0433\u044d\u0445 \u043c\u044d\u0442) snapshot \u0430\u0432\u0430\u0445\u0434\u0430\u0430 \u0434\u0438\u0441\u043a\u0438\u0439\u0433 \u0431\u04af\u0445\u044d\u043b\u0434 \u043d\u044c \u0445\u0443\u0443\u043b\u0434\u0430\u0433\u0433\u04af\u0439. \u04ae\u04af\u043d\u0438\u0439 \u043e\u0440\u043e\u043d\u0434 \u043e\u0434\u043e\u043e\u0433\u0438\u0439\u043d \u0432\u0438\u0440\u0442\u0443\u0430\u043b \u0434\u0438\u0441\u043a\u043d\u0438\u0439 \u0444\u0430\u0439\u043b\u044b\u0433 (\u0436\u0438\u0448\u044d\u044d \u043d\u044c, <code>.vmdk<\/code> \u044d\u0441\u0432\u044d\u043b <code>.vhdx<\/code>) \u0437\u04e9\u0432\u0445\u04e9\u043d \u0443\u043d\u0448\u0438\u0445 \u0433\u043e\u0440\u0438\u043c\u0434 \u0448\u0438\u043b\u0436\u04af\u04af\u043b\u0436, \u0448\u0438\u043d\u044d \u0434\u0435\u043b\u044c\u0442\u0430 \u0434\u0438\u0441\u043a (\u044f\u043b\u0433\u0430\u0430\u0442\u0430\u0439 \u0434\u0438\u0441\u043a) \u04af\u04af\u0441\u0433\u044d\u0434\u044d\u0433. \u04ae\u04af\u043d\u0438\u0439 \u0434\u0430\u0440\u0430\u0430\u0445 \u0431\u04af\u0445 \u0431\u0438\u0447\u0438\u043b\u0442\u0438\u0439\u043d \u04af\u0439\u043b\u0434\u043b\u04af\u04af\u0434 \u044d\u043d\u044d \u0434\u0435\u043b\u044c\u0442\u0430 \u0434\u0438\u0441\u043a \u0440\u04af\u04af \u0447\u0438\u0433\u043b\u044d\u0433\u0434\u0434\u044d\u0433.<\/p>\n<p>Snapshot-\u044b\u0433 \u0443\u0441\u0442\u0433\u0430\u0445 \u04af\u0435\u0434 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440 \u043d\u044c \u0434\u0435\u043b\u044c\u0442\u0430 \u0434\u0438\u0441\u043a\u044d\u043d \u0434\u044d\u044d\u0440\u0445 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u0433 \u04af\u043d\u0434\u0441\u044d\u043d \u0434\u0438\u0441\u043a \u0440\u04af\u04af \u043d\u044d\u0433\u0442\u0433\u044d\u0445 (commit\/consolidate) \u0451\u0441\u0442\u043e\u0439. \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442 snapshot-\u0443\u0443\u0434 \u043d\u044c \u0437\u043e\u0447\u0438\u043d \u04af\u0439\u043b\u0434\u043b\u0438\u0439\u043d \u0441\u0438\u0441\u0442\u0435\u043c \u0434\u043e\u0442\u043e\u0440 \u0430\u0436\u0438\u043b\u043b\u0430\u0436 \u0431\u0430\u0439\u0433\u0430\u0430 \u0430\u043f\u043f\u043b\u0438\u043a\u0435\u0439\u0448\u043d\u0443\u0443\u0434\u044b\u043d \u0442\u0430\u043b\u0430\u0430\u0440 \u044f\u043c\u0430\u0440 \u0447 \u043e\u0439\u043b\u0433\u043e\u043b\u0442\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u0430\u0433. \u0422\u044d\u0434 \u0434\u0438\u0441\u043a\u043d\u0438\u0439 \u0442\u04e9\u043b\u04e9\u0432\u0438\u0439\u0433 \u0442\u0443\u0445\u0430\u0439\u043d \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u043a\u0443\u043d\u0434\u044d\u0434 \u044f\u0433 \u044f\u043c\u0430\u0440 \u0431\u0430\u0439\u0441\u0430\u043d \u0442\u044d\u0440 \u0447\u0438\u0433\u044d\u044d\u0440 \u043d\u044c \u043b \u0430\u0432\u0434\u0430\u0433.<\/p>\n<h3>\u0413\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0443\u0443\u0434 \u0442\u04e9\u043b\u04e9\u0432\u0438\u0439\u0433 \u0445\u044d\u0440\u0445\u044d\u043d \u0443\u0434\u0438\u0440\u0434\u0434\u0430\u0433 \u0432\u044d?<\/h3>\n<p>\u0413\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0443\u0443\u0434 \u043d\u044c ACID (Atomicity, Consistency, Isolation, Durability) \u0448\u0438\u043d\u0436 \u0447\u0430\u043d\u0430\u0440\u0443\u0443\u0434\u0430\u0434 \u0442\u0443\u043b\u0433\u0443\u0443\u0440\u043b\u0430\u043d \u0431\u04af\u0442\u044d\u044d\u0433\u0434\u0441\u044d\u043d \u0431\u0430\u0439\u0434\u0430\u0433. ACID-\u0438\u0439\u043d \u0448\u0430\u0430\u0440\u0434\u043b\u0430\u0433\u044b\u0433 \u0445\u0430\u043d\u0433\u0430\u0445\u044b\u043d \u0437\u044d\u0440\u044d\u0433\u0446\u044d\u044d \u04e9\u043d\u0434\u04e9\u0440 \u0433\u04af\u0439\u0446\u044d\u0442\u0433\u044d\u043b\u0442\u044d\u0439 \u0431\u0430\u0439\u0445\u044b\u043d \u0442\u0443\u043b\u0434 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0443\u0443\u0434 \u0431\u04af\u0445 \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u0433 \u0434\u0438\u0441\u043a\u044d\u043d \u0434\u044d\u044d\u0440\u0445 \u04af\u043d\u0434\u0441\u044d\u043d \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0444\u0430\u0439\u043b\u0443\u0443\u0434 \u0440\u0443\u0443 \u0448\u0443\u0443\u0434 \u0431\u0438\u0447\u0434\u044d\u0433\u0433\u04af\u0439. \u04ae\u04af\u043d\u0438\u0439 \u043e\u0440\u043e\u043d\u0434 \u0442\u044d\u0434 \u043d\u0430\u0440\u0438\u0439\u043d \u0442\u04e9\u0432\u04e9\u0433\u0442\u044d\u0439, \u043e\u043b\u043e\u043d \u0448\u0430\u0442\u043b\u0430\u043b\u0442 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b\u0433 \u0430\u0448\u0438\u0433\u043b\u0430\u0434\u0430\u0433:<\/p>\n<ol>\n<li><strong>Buffer Pool \/ Shared Buffers:<\/strong> \u04e8\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u0433 \u0441\u0438\u0441\u0442\u0435\u043c\u0438\u0439\u043d \u0441\u0430\u043d\u0430\u0445 \u043e\u0439\u0434 \u0443\u043d\u0448\u0438\u0436, \u04e9\u04e9\u0440\u0447\u0438\u043b\u0434\u04e9\u0433.<\/li>\n<li><strong>Write-Ahead Log (WAL) \/ Redo Logs:<\/strong> \u04e8\u04e9\u0440\u0447\u043b\u04e9\u043b\u0442\u04af\u04af\u0434\u0438\u0439\u0433 \u0434\u0438\u0441\u043a\u044d\u043d \u0434\u044d\u044d\u0440\u0445 \u04e9\u043d\u0434\u04e9\u0440 \u043e\u043d\u043e\u0432\u0447\u043b\u043e\u0433\u0434\u0441\u043e\u043d \u043b\u043e\u0433 \u0444\u0430\u0439\u043b \u0440\u0443\u0443 \u0434\u0430\u0440\u0430\u0430\u043b\u043b\u0430\u0430\u0440 \u043d\u044c \u0431\u0438\u0447\u0438\u0436, \u0431\u0430\u0442 \u0431\u04e9\u0445 \u0431\u0430\u0439\u0434\u043b\u044b\u0433 \u0445\u0430\u043d\u0433\u0430\u0434\u0430\u0433.<\/li>\n<li><strong>Checkpoints \/ Lazy Writers:<\/strong> \u04ae\u0435 \u04af\u0435 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d \u043d\u044c \u0441\u0430\u043d\u0430\u0445 \u043e\u0439\u0434 \u04e9\u04e9\u0440\u0447\u043b\u04e9\u0433\u0434\u0441\u04e9\u043d (\u0431\u043e\u0445\u0438\u0440\u0434\u0441\u043e\u043d) \u0445\u0443\u0443\u0434\u0441\u0443\u0443\u0434\u044b\u0433 \u0434\u0438\u0441\u043a\u044d\u043d \u0434\u044d\u044d\u0440\u0445 \u0431\u043e\u0434\u0438\u0442 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0444\u0430\u0439\u043b\u0443\u0443\u0434 \u0440\u0443\u0443 \u0448\u0438\u043b\u0436\u04af\u04af\u043b\u0434\u044d\u0433.<\/li>\n<\/ol>\n<p>\u042d\u043d\u044d\u0445\u04af\u04af \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430\u0430\u0441 \u0448\u0430\u043b\u0442\u0433\u0430\u0430\u043b\u0430\u043d \u0434\u0438\u0441\u043a\u044d\u043d \u0434\u044d\u044d\u0440\u0445 \u0444\u0438\u0437\u0438\u043a \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0444\u0430\u0439\u043b\u0443\u0443\u0434 \u043d\u044c \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0431\u043e\u0434\u0438\u0442 \u0442\u04e9\u043b\u04e9\u0432\u0442\u044d\u0439 \u0431\u0430\u0440\u0430\u0433 \u04af\u0440\u0433\u044d\u043b\u0436 \u0437\u04e9\u0440\u04af\u04af\u0442\u044d\u0439 \u0431\u0430\u0439\u0434\u0430\u0433. \u041c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0436\u0438\u043d\u0445\u044d\u043d\u044d \u0442\u04e9\u043b\u04e9\u0432 \u043d\u044c \u0437\u04e9\u0432\u0445\u04e9\u043d \u0434\u0438\u0441\u043a\u044d\u043d \u0434\u044d\u044d\u0440\u0445 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0444\u0430\u0439\u043b\u0443\u0443\u0434, WAL\/Redo \u043b\u043e\u0433\u0443\u0443\u0434 \u0431\u043e\u043b\u043e\u043d \u0441\u0430\u043d\u0430\u0445 \u043e\u0439\u0434 \u0431\u0430\u0439\u0433\u0430\u0430 \u04e9\u0433\u04e9\u0433\u0434\u043b\u04af\u04af\u0434\u0438\u0439\u043d \u043d\u044d\u0433\u0434\u044d\u043b \u044e\u043c.<\/p>\n<h2>\u0410\u044e\u0443\u043b\u0442\u0430\u0439 \u0431\u04af\u0441: VM Snapshot \u0445\u0438\u0439\u0445 \u04af\u0435\u0434 \u044e\u0443 \u0431\u043e\u043b\u0434\u043e\u0433 \u0432\u044d?<\/h2>\n<p>\u0422\u0430 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0441\u0435\u0440\u0432\u0435\u0440\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 VM snapshot \u0445\u0438\u0439\u0445\u0434\u044d\u044d <strong>crash-consistent<\/strong> (\u0441\u0438\u0441\u0442\u0435\u043c \u0433\u044d\u043d\u044d\u0442 \u0443\u043d\u0442\u0440\u0430\u0445\u0430\u0434 \u04af\u04af\u0441\u044d\u0445 \u0442\u04e9\u043b\u04e9\u0432) \u0442\u04e9\u043b\u04e9\u0432\u0438\u0439\u0433 \u0430\u0432\u0447 \u0431\u0430\u0439\u043d\u0430 \u0433\u044d\u0441\u044d\u043d \u04af\u0433.<\/p>\n<h3>Crash Consistency vs Application Consistency<\/h3>\n<p>Crash-consistent snapshot \u043d\u044c \u0444\u0438\u0437\u0438\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0438\u0439\u043d \u0446\u0430\u0445\u0438\u043b\u0433\u0430\u0430\u043d\u044b \u0443\u0442\u0441\u044b\u0433 \u0433\u044d\u043d\u044d\u0442 \u0441\u0443\u0433\u0430\u043b\u0430\u0445\u0442\u0430\u0439 \u0438\u0436\u0438\u043b \u044e\u043c. \u0414\u0438\u0441\u043a\u043d\u0438\u0439 \u0442\u04e9\u043b\u04e9\u0432 \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0433\u0434\u0430\u0445 \u0431\u043e\u043b\u043e\u0432\u0447 \u0441\u0430\u043d\u0430\u0445 \u043e\u0439\u0434 \u0431\u0430\u0439\u0441\u0430\u043d \u0431\u04af\u0445 \u0437\u04af\u0439\u043b \u0430\u043b\u0434\u0430\u0433\u0434\u0430\u0436, \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445 \u0442\u04e9\u0445\u04e9\u04e9\u0440\u04e9\u043c\u0436 \u0440\u04af\u04af \u0438\u043b\u0433\u044d\u044d\u0433\u0434\u044d\u0436 \u0431\u0430\u0439\u0441\u0430\u043d \u04e9\u0433\u04e9\u0433\u0434\u043b\u04af\u04af\u0434 \u0433\u044d\u043d\u044d\u0442 \u0442\u0430\u0441\u0430\u043b\u0434\u0430\u043d\u0430.<\/p>\n<p>\u041e\u0440\u0447\u0438\u043d \u04af\u0435\u0438\u0439\u043d \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0443\u0443\u0434 \u0433\u044d\u043d\u044d\u0442\u0438\u0439\u043d \u0446\u0430\u0445\u0438\u043b\u0433\u0430\u0430\u043d \u0442\u0430\u0441\u0440\u0430\u043b\u0442\u0430\u0430\u0441 \u0441\u044d\u0440\u0433\u044d\u0445\u044d\u0434 \u0437\u043e\u0440\u0438\u0443\u043b\u0430\u0433\u0434\u0441\u0430\u043d (Write-Ahead Log-\u0438\u0439\u0433 \u0434\u0430\u0445\u0438\u043d \u0442\u043e\u0433\u043b\u0443\u0443\u043b\u0430\u0445 \u0437\u0430\u043c\u0430\u0430\u0440) \u0431\u043e\u043b\u043e\u0432\u0447, \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u04af\u043d\u0434\u0441\u044d\u043d \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438 \u0431\u043e\u043b\u0433\u043e\u043d \u04af\u04af\u043d\u0434 \u043d\u0430\u0439\u0434\u0430\u0445 \u043d\u044c \u043c\u0430\u0448 \u0430\u044e\u0443\u043b\u0442\u0430\u0439. \u0425\u044d\u0440\u044d\u0432 \u0442\u0430\u043d\u0430\u0439 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d \u043e\u043b\u043e\u043d \u0432\u0438\u0440\u0442\u0443\u0430\u043b \u0434\u0438\u0441\u043a \u0434\u044d\u044d\u0440 \u0442\u0430\u0440\u0445\u0441\u0430\u043d \u0431\u043e\u043b (\u0436\u0438\u0448\u044d\u044d \u043d\u044c, \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0444\u0430\u0439\u043b\u0443\u0443\u0434 <code>D:<\/code> \u0434\u0438\u0441\u043a \u0434\u044d\u044d\u0440, WAL \u043d\u044c <code>E:<\/code> \u0434\u0438\u0441\u043a \u0434\u044d\u044d\u0440), \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440 \u0445\u043e\u0451\u0440 \u0434\u0438\u0441\u043a\u0438\u0439\u0433 \u044f\u0433 \u043d\u044d\u0433 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u043a\u0443\u043d\u0434\u044d\u0434 snapshot \u0445\u0438\u0439\u0445\u0433\u04af\u0439 \u0431\u0430\u0439\u0436 \u0431\u043e\u043b\u043d\u043e. \u0425\u044d\u0440\u044d\u0432 WAL \u0434\u0438\u0441\u043a\u043d\u0438\u0439 snapshot \u043d\u044c \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0434\u0438\u0441\u043a\u043d\u0438\u0439 snapshot-\u043e\u043e\u0441 \u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d \u0434\u0430\u0440\u0430\u0430 \u0445\u0438\u0439\u0433\u0434\u0432\u044d\u043b, \u0441\u044d\u0440\u0433\u044d\u044d\u0445 \u04af\u0435\u0434 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d \u0434\u0430\u0440\u0430\u0430\u043b\u043b\u044b\u043d \u0434\u0443\u0433\u0430\u0430\u0440\u044b\u0433 \u0442\u0430\u0430\u0440\u0443\u0443\u043b\u0436 \u0447\u0430\u0434\u0430\u0445\u0433\u04af\u0439 \u0431\u04e9\u0433\u04e9\u04e9\u0434 \u044d\u043d\u044d \u043d\u044c \u043d\u043e\u0446\u0442\u043e\u0439 \u044d\u0432\u0434\u0440\u044d\u043b\u0434 \u0445\u04af\u0440\u0433\u044d\u043d\u044d.<\/p>\n<h3>\u04e8\u043d\u0434\u04e9\u0440 \u0430\u0447\u0430\u0430\u043b\u0430\u043b\u0442\u0430\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u04af\u04af\u0434 \u0434\u044d\u044d\u0440\u0445 &#8220;VM Stun&#8221; \u044d\u0444\u0444\u0435\u043a\u0442<\/h3>\n<p>Snapshot \u04af\u04af\u0441\u0433\u044d\u0445 \u04af\u0439\u043b \u044f\u0432\u0446, \u0442\u04af\u04af\u043d\u044d\u044d\u0441 \u0447 \u0438\u043b\u04af\u04af\u0442\u044d\u0439\u0433\u044d\u044d\u0440 snapshot-\u044b\u0433 \u043d\u044d\u0433\u0442\u0433\u044d\u0445 \u04af\u0439\u043b \u044f\u0432\u0446 \u043d\u044c &#8220;VM Stun&#8221; \u0433\u044d\u0433\u0434\u0434\u044d\u0433 \u04af\u0437\u044d\u0433\u0434\u043b\u0438\u0439\u0433 \u04af\u04af\u0441\u0433\u044d\u0434\u044d\u0433.<\/p>\n<p>I\/O-\u0433 \u04af\u043d\u0434\u0441\u044d\u043d \u0434\u0438\u0441\u043a\u043d\u044d\u044d\u0441 \u0434\u0435\u043b\u044c\u0442\u0430 \u0434\u0438\u0441\u043a \u0440\u04af\u04af \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0448\u0438\u043b\u0436\u04af\u04af\u043b\u044d\u0445\u0438\u0439\u043d \u0442\u0443\u043b\u0434 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440 \u043d\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b \u043c\u0430\u0448\u0438\u043d\u044b\u0433 \u0442\u04af\u0440 \u0437\u0443\u0443\u0440 \u0437\u043e\u0433\u0441\u043e\u043e\u0445 (stun) \u0451\u0441\u0442\u043e\u0439. \u0410\u0447\u0430\u0430\u043b\u0430\u043b \u0431\u0430\u0433\u0430\u0442\u0430\u0439 \u0432\u044d\u0431 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u044d\u044d\u0440 \u044d\u043d\u044d \u0437\u043e\u0433\u0441\u043e\u043b\u0442 10-50 \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434 \u04af\u0440\u0433\u044d\u043b\u0436\u0438\u043b\u0436, \u0430\u043d\u0437\u0430\u0430\u0440\u0430\u0433\u0434\u0430\u0445\u0433\u04af\u0439 \u04e9\u043d\u0433\u04e9\u0440\u0447 \u0431\u043e\u043b\u043d\u043e. \u0413\u044d\u0432\u0447 \u0438\u0445 \u0445\u044d\u043c\u0436\u044d\u044d\u043d\u0438\u0439 I\/O-\u0442\u043e\u0439 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0445\u0443\u0432\u044c\u0434 \u0442\u043e\u043c \u0434\u0435\u043b\u044c\u0442\u0430 \u0434\u0438\u0441\u043a\u0438\u0439\u0433 \u043d\u044d\u0433\u0442\u0433\u044d\u0445 \u043d\u044c VM-\u0438\u0439\u0433 \u0445\u044d\u0434\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044d\u044d\u0440 \u0437\u043e\u0433\u0441\u043e\u043e\u0436 \u0431\u043e\u043b\u0437\u043e\u0448\u0433\u04af\u0439.<\/p>\n<p>VM stun-\u0438\u0439\u043d \u04af\u0435\u0434:<br \/>\n* \u0421\u04af\u043b\u0436\u044d\u044d\u043d\u0438\u0439 \u0445\u043e\u043b\u0431\u043e\u043b\u0442\u0443\u0443\u0434 \u0442\u0430\u0441\u0430\u0440\u0447, \u0430\u043f\u043f\u043b\u0438\u043a\u0435\u0439\u0448\u043d \u0445\u0443\u0433\u0430\u0446\u0430\u0430 \u0445\u044d\u0442\u0440\u044d\u0445 (timeout) \u0430\u043b\u0434\u0430\u0430 \u04e9\u0433\u043d\u04e9.<br \/>\n* \u04e8\u043d\u0434\u04e9\u0440 \u0431\u044d\u043b\u044d\u043d \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0443\u0443\u0434 (SQL Server Always On, PostgreSQL Patroni \u044d\u0441\u0432\u044d\u043b MySQL Galera \u0433\u044d\u0445 \u043c\u044d\u0442) \u0437\u04af\u0440\u0445\u043d\u0438\u0439 \u0446\u043e\u0445\u0438\u043b\u0442\u044b\u043d \u0448\u0430\u043b\u0433\u0430\u043b\u0442\u044b\u0433 (heartbeat checks) \u0430\u043b\u0434\u0430\u043d\u0430.<br \/>\n* \u041a\u043b\u0430\u0441\u0442\u0435\u0440 \u043d\u044c \u0437\u043e\u0433\u0441\u0441\u043e\u043d \u0437\u0430\u043d\u0433\u0438\u043b\u0430\u0430\u0433 \u04af\u0445\u0441\u044d\u043d \u0433\u044d\u0436 \u04af\u0437\u044d\u0436, \u0448\u0430\u0430\u0440\u0434\u043b\u0430\u0433\u0430\u0433\u04af\u0439 \u0431\u04e9\u0433\u04e9\u04e9\u0434 \u0445\u043e\u0440\u0442\u043e\u0439 failover-\u0438\u0439\u0433 (split-brain \u0445\u0443\u0432\u0438\u043b\u0431\u0430\u0440) \u04e9\u0434\u04e9\u04e9\u0436 \u0431\u043e\u043b\u0437\u043e\u0448\u0433\u04af\u0439.<\/p>\n<h3>\u0425\u0443\u0443\u0434\u0430\u0441\u043d\u044b \u0433\u044d\u043c\u0442\u044d\u043b (Torn Pages) \u0431\u0430 I\/O-\u0438\u0439\u043d \u043d\u0438\u0439\u0446\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u0430\u043b<\/h3>\n<p>\u041c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0445\u04e9\u0434\u04e9\u043b\u0433\u04af\u04af\u0440\u04af\u04af\u0434 \u043d\u044c \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u0433 \u0438\u0445\u044d\u0432\u0447\u043b\u044d\u043d \u0442\u043e\u0434\u043e\u0440\u0445\u043e\u0439 \u0445\u044d\u043c\u0436\u044d\u044d\u0442\u044d\u0439 \u0445\u0443\u0443\u0434\u0441\u0430\u0430\u0440 (\u0436\u0438\u0448\u044d\u044d \u043d\u044c, PostgreSQL \u0431\u043e\u043b\u043e\u043d SQL Server-\u0442 8KB, InnoDB-\u0434 16KB) \u0431\u0438\u0447\u0434\u044d\u0433. \u0413\u044d\u0432\u0447 \u04af\u0439\u043b\u0434\u043b\u0438\u0439\u043d \u0441\u0438\u0441\u0442\u0435\u043c \u0431\u043e\u043b\u043e\u043d \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445 \u0442\u04e9\u0445\u04e9\u04e9\u0440\u04e9\u043c\u0436\u04af\u04af\u0434 \u043d\u044c I\/O-\u0433 \u0438\u043b\u04af\u04af \u0436\u0438\u0436\u0438\u0433 \u0431\u043b\u043e\u043a\u043e\u043e\u0440 (\u0436\u0438\u0448\u044d\u044d \u043d\u044c, 4KB \u044d\u0441\u0432\u044d\u043b 512 \u0431\u0430\u0439\u0442) \u0431\u043e\u043b\u043e\u0432\u0441\u0440\u0443\u0443\u043b\u0434\u0430\u0433.<\/p>\n<p>\u0425\u044d\u0440\u044d\u0432 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d 8KB \u0445\u0443\u0443\u0434\u0441\u044b\u0433 \u0431\u0438\u0447\u0438\u0436 \u0431\u0430\u0439\u0445 \u044f\u0433 \u0442\u044d\u0440 \u0430\u0433\u0448\u0438\u043d\u0434 snapshot \u0430\u0432\u0431\u0430\u043b, snapshot \u043d\u044c \u0448\u0438\u043d\u044d \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u044d\u0445\u043d\u0438\u0439 4KB-\u044b\u0433 \u0431\u043e\u043b\u043e\u043d \u0445\u0443\u0443\u0447\u0438\u043d \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u04af\u04af\u043b\u0438\u0439\u043d 4KB-\u044b\u0433 \u0430\u0432\u0447 \u0431\u043e\u043b\u0437\u043e\u0448\u0433\u04af\u0439. \u042d\u043d\u044d \u043d\u044c <strong>torn page<\/strong> \u0431\u0443\u044e\u0443 \u0433\u044d\u043c\u0442\u0441\u044d\u043d \u0445\u0443\u0443\u0434\u0441\u044b\u0433 \u04af\u04af\u0441\u0433\u044d\u0434\u044d\u0433. \u0422\u0430 snapshot-\u044b\u0433 \u0441\u044d\u0440\u0433\u044d\u044d\u0445\u0438\u0439\u0433 \u043e\u0440\u043e\u043b\u0434\u043e\u0445 \u04af\u0435\u0434 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d \u0445\u0443\u0443\u0434\u0441\u044b\u0433 \u0443\u043d\u0448\u0438\u0436, checksum \u0431\u0430\u0442\u0430\u043b\u0433\u0430\u0430\u0436\u0443\u0443\u043b\u0430\u043b\u0442 \u0434\u044d\u044d\u0440 \u0430\u043b\u0434\u0430\u0430 \u0433\u0430\u0440\u0433\u0430\u043d, \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433 \u044d\u0432\u0434\u044d\u0440\u0441\u044d\u043d \u0433\u044d\u0436 \u0442\u044d\u043c\u0434\u044d\u0433\u043b\u044d\u043d\u044d.<\/p>\n<h2>\u041c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0442\u043e\u0434\u043e\u0440\u0445\u043e\u0439 \u0445\u04e9\u0434\u04e9\u043b\u0433\u04af\u04af\u0440\u04af\u04af\u0434\u044d\u0434 \u04af\u0437\u04af\u04af\u043b\u044d\u0445 \u0431\u043e\u0434\u0438\u0442 \u04af\u0440 \u0434\u0430\u0433\u0430\u0432\u0430\u0440<\/h2>\n<p>\u041c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u04e9\u04e9\u0440 \u04e9\u04e9\u0440 \u0445\u04e9\u0434\u04e9\u043b\u0433\u04af\u04af\u0440\u04af\u04af\u0434 crash-consistent snapshot-\u0434 \u04e9\u04e9\u0440 \u04e9\u04e9\u0440\u04e9\u04e9\u0440 \u0445\u0430\u0440\u0438\u0443 \u04af\u0439\u043b\u0434\u044d\u043b \u04af\u0437\u04af\u04af\u043b\u0434\u044d\u0433 \u0431\u043e\u043b\u043e\u0432\u0447 \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u043e\u0440\u0447\u0438\u043d\u0434 \u0430\u043b\u044c \u043d\u044c \u0447 \u04af\u04af\u043d\u0438\u0439\u0433 \u0437\u04e9\u0432 \u0437\u043e\u0445\u0438\u0446\u0443\u0443\u043b\u0434\u0430\u0433\u0433\u04af\u0439.<\/p>\n<ul>\n<li><strong>PostgreSQL:<\/strong> PostgreSQL \u043d\u044c <code>pg_wal<\/code> \u043b\u0430\u0432\u043b\u0430\u0445\u0430\u0430\u0441 \u0438\u0445\u044d\u044d\u0445\u044d\u043d \u0445\u0430\u043c\u0430\u0430\u0440\u0430\u043b\u0442\u0430\u0439. \u0425\u044d\u0440\u044d\u0432 snapshot \u043d\u044c \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u043b\u0430\u0432\u043b\u0430\u0445 (<code>$PGDATA<\/code>) \u0431\u043e\u043b\u043e\u043d WAL-\u044b\u0433 \u0437\u04e9\u0440\u04af\u04af\u0442\u044d\u0439 \u0430\u0432\u0431\u0430\u043b, PostgreSQL \u0430\u0436\u0438\u043b\u043b\u0430\u0436 \u0447\u0430\u0434\u0430\u0445\u0433\u04af\u0439 \u0431\u04e9\u0433\u04e9\u04e9\u0434 <code>PANIC: could not locate a valid checkpoint record<\/code> \u0433\u044d\u0441\u044d\u043d \u0430\u043b\u0434\u0430\u0430\u0433 \u04e9\u0433\u043d\u04e9.<\/li>\n<li><strong>MySQL\/InnoDB:<\/strong> InnoDB \u043d\u044c torn page-\u044d\u044d\u0441 \u0441\u044d\u0440\u0433\u0438\u0439\u043b\u044d\u0445\u0438\u0439\u043d \u0442\u0443\u043b\u0434 doublewrite buffer \u0430\u0448\u0438\u0433\u043b\u0430\u0434\u0430\u0433 \u0431\u04e9\u0433\u04e9\u04e9\u0434 \u044d\u043d\u044d \u043d\u044c crash-consistent \u0442\u04e9\u043b\u04e9\u0432\u04e9\u04e9\u0441 \u0442\u043e\u0434\u043e\u0440\u0445\u043e\u0439 \u0445\u044d\u043c\u0436\u044d\u044d\u0433\u044d\u044d\u0440 \u0445\u0430\u043c\u0433\u0430\u0430\u043b\u0434\u0430\u0433. \u0413\u044d\u0441\u044d\u043d \u0445\u044d\u0434\u0438\u0439 \u0447, \u0445\u044d\u0440\u044d\u0432 <code>ibdata1<\/code> \u0444\u0430\u0439\u043b \u0431\u043e\u043b\u043e\u043d <code>ib_logfile<\/code> \u043d\u044c \u0437\u04e9\u0440\u04af\u04af\u0442\u044d\u0439 \u0430\u0432\u0430\u0433\u0434\u0432\u0430\u043b InnoDB \u0445\u04e9\u0434\u04e9\u043b\u0433\u04af\u04af\u0440 \u0441\u044d\u0440\u0433\u044d\u044d\u0445 \u04af\u0435\u0434 \u0443\u043d\u0430\u0445 \u0431\u043e\u043b\u043d\u043e.<\/li>\n<li><strong>Microsoft SQL Server:<\/strong> SQL Server \u043d\u044c I\/O-\u0433 \u0446\u0430\u0440\u0446\u0430\u0430\u0445 (freezing) \u0430\u0436\u0438\u043b\u043b\u0430\u0433\u0430\u0430\u043d\u0434 \u043c\u0430\u0448 \u043c\u044d\u0434\u0440\u044d\u043c\u0442\u0433\u0438\u0439. VSS (Volume Shadow Copy Service)-\u0438\u0439\u043d \u0437\u043e\u0445\u0438\u0445 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0447\u043b\u0430\u043b\u0433\u04af\u0439\u0433\u044d\u044d\u0440 SQL Server-\u0438\u0439\u0433 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 VM snapshot-\u043e\u043e\u0441 \u0441\u044d\u0440\u0433\u044d\u044d\u0445 \u043d\u044c \u0438\u0445\u044d\u0432\u0447\u043b\u044d\u043d \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433 &#8220;\u0441\u044d\u0436\u0438\u0433\u0442\u044d\u0439&#8221; (suspect) \u0442\u04e9\u043b\u04e9\u0432\u0442 \u043e\u0440\u0443\u0443\u043b\u0436, \u043b\u043e\u0433 \u0433\u0438\u043d\u0436\u0438\u0439\u0433 \u0442\u0430\u0441\u0430\u043b\u0436, \u0442\u0430\u043d\u044b Point-in-Time Recovery (PITR) \u0447\u0430\u0434\u0430\u043c\u0436\u0438\u0439\u0433 \u0443\u0441\u0442\u0433\u0430\u0434\u0430\u0433.<\/li>\n<\/ul>\n<h2>\u0412\u0438\u0440\u0442\u0443\u0430\u043b\u0447\u043b\u0430\u0433\u0434\u0441\u0430\u043d \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433 \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445 \u0448\u0438\u043b\u0434\u044d\u0433 \u0442\u0443\u0440\u0448\u043b\u0430\u0433\u0443\u0443\u0434<\/h2>\n<p>\u0413\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433 \u0445\u0430\u043c\u0433\u0430\u0430\u043b\u0430\u0445\u044b\u043d \u0442\u0443\u043b\u0434 \u0442\u0430 crash-consistent \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u04e9\u04e9\u0441 <strong>application-consistent<\/strong> (\u0430\u043f\u043f\u043b\u0438\u043a\u0435\u0439\u0448\u043d\u0434 \u043d\u0438\u0439\u0446\u0442\u044d\u0439) \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u0440\u04af\u04af \u0448\u0438\u043b\u0436\u0438\u0445 \u0451\u0441\u0442\u043e\u0439. \u042d\u043d\u044d \u043d\u044c \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u043d\u044c \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0445\u04e9\u0434\u04e9\u043b\u0433\u04af\u04af\u0440\u0442\u044d\u0439 \u0445\u0430\u0440\u0438\u043b\u0446\u0430\u0436, snapshot \u0430\u0432\u0430\u0445 \u04af\u0435\u0434 \u0441\u0430\u043d\u0430\u0445 \u043e\u0439\u0433 \u0434\u0438\u0441\u043a \u0440\u04af\u04af \u0431\u0438\u0447\u0438\u0445\u0438\u0439\u0433 \u0430\u043b\u0431\u0430\u0434\u0430\u0436, I\/O \u04af\u0439\u043b\u0434\u043b\u04af\u04af\u0434\u0438\u0439\u0433 \u0442\u04af\u0440 \u0437\u0443\u0443\u0440 \u0437\u043e\u0433\u0441\u043e\u043e\u0445\u044b\u0433 \u0448\u0430\u0430\u0440\u0434\u0434\u0430\u0433.<\/p>\n<h3>1. Application-Aware Quiescing (VSS \u0431\u043e\u043b\u043e\u043d fsfreeze) \u0430\u0448\u0438\u0433\u043b\u0430\u0445<\/h3>\n<p><strong>Windows (SQL Server)-\u0438\u0439\u043d \u0445\u0443\u0432\u044c\u0434:<\/strong><br \/>\n\u0422\u0430\u043d\u044b \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0448\u0438\u0439\u0434\u044d\u043b Microsoft Volume Shadow Copy Service (VSS)-\u0438\u0439\u0433 \u0430\u0448\u0438\u0433\u043b\u0430\u0436 \u0431\u0430\u0439\u0433\u0430\u0430 \u044d\u0441\u044d\u0445\u0438\u0439\u0433 \u04af\u0440\u0433\u044d\u043b\u0436 \u0448\u0430\u043b\u0433\u0430\u0430\u0440\u0430\u0439. VSS-\u0438\u0439\u0433 \u0434\u044d\u043c\u0436\u0434\u044d\u0433 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u044d\u0445\u043b\u044d\u0445\u044d\u0434 SQL Server VSS Writer \u043d\u044c \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d I\/O-\u0433 \u0446\u0430\u0440\u0446\u0430\u0430\u0436, \u0445\u04af\u043b\u044d\u044d\u0433\u0434\u044d\u0436 \u0431\u0443\u0439 \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u04af\u04af\u0434\u0438\u0439\u0433 \u0434\u0438\u0441\u043a \u0440\u04af\u04af \u0431\u0438\u0447\u0438\u0436, snapshot-\u044b\u0433 \u0431\u04af\u0440\u044d\u043d application-consistent \u0431\u0430\u0439\u0445\u044b\u0433 \u0431\u0430\u0442\u0430\u043b\u0433\u0430\u0430\u0436\u0443\u0443\u043b\u0434\u0430\u0433.<\/p>\n<p><strong>Linux (PostgreSQL \/ MySQL)-\u0438\u0439\u043d \u0445\u0443\u0432\u044c\u0434:<\/strong><br \/>\nLinux-\u0434 VSS-\u0442\u044d\u0439 \u0434\u04af\u0439\u0446\u044d\u0445\u04af\u0439\u0446 \u043d\u044d\u0433\u0434\u0441\u044d\u043d \u0441\u0438\u0441\u0442\u0435\u043c \u0431\u0430\u0439\u0445\u0433\u04af\u0439. Application consistency-\u0434 \u0445\u04af\u0440\u044d\u0445\u0438\u0439\u043d \u0442\u0443\u043b\u0434 \u0442\u0430 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u044b\u043d \u0437\u043e\u0447\u0438\u043d \u0445\u044d\u0440\u044d\u0433\u0441\u043b\u04af\u04af\u0434\u0442\u044d\u0439 (\u0436\u0438\u0448\u044d\u044d \u043d\u044c, VMware Tools) \u0445\u0430\u043c\u0442 pre-freeze \u0431\u043e\u043b\u043e\u043d post-thaw \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u0438\u0439\u0433 \u0430\u0448\u0438\u0433\u043b\u0430\u0445 \u0451\u0441\u0442\u043e\u0439.<\/p>\n<p>\u042d\u043d\u0434 PostgreSQL 15+ \u0445\u0443\u0432\u0438\u043b\u0431\u0430\u0440\u0442 \u0437\u043e\u0440\u0438\u0443\u043b\u0441\u0430\u043d VMware <code>pre-freeze-script<\/code>-\u0438\u0439\u043d \u0436\u0438\u0448\u044d\u044d \u0431\u0430\u0439\u043d\u0430:<\/p>\n<pre><code class=\"language-bash\">#!\/bin\/bash\n# \/usr\/sbin\/pre-freeze-script\n# \u042d\u043d\u044d \u0441\u043a\u0440\u0438\u043f\u0442\u0438\u0439\u0433 \u0430\u0436\u0438\u043b\u043b\u0430\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0442\u043e\u0439 \u044d\u0441\u044d\u0445\u0438\u0439\u0433 \u0448\u0430\u043b\u0433\u0430\u043d\u0430 \u0443\u0443 (chmod +x)\n\n# 1. PostgreSQL-\u0434 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u04e9\u0434 \u0431\u044d\u043b\u0442\u0433\u044d\u0445\u0438\u0439\u0433 \u0442\u0443\u0448\u0430\u0430\u043d\u0430\nsu - postgres -c \"psql -c \"SELECT pg_backup_start('vm_snapshot', true);\"\"\n\n# 2. \u0424\u0430\u0439\u043b\u044b\u043d \u0441\u0438\u0441\u0442\u0435\u043c\u0438\u0439\u043d \u0431\u0443\u0444\u0435\u0440\u0443\u0443\u0434\u044b\u0433 \u0434\u0438\u0441\u043a \u0440\u04af\u04af \u0431\u0438\u0447\u043d\u044d\nsync\n\n# 3. \u0424\u0430\u0439\u043b\u044b\u043d \u0441\u0438\u0441\u0442\u0435\u043c\u0438\u0439\u0433 \u0446\u0430\u0440\u0446\u0430\u0430\u043d\u0430 (\u04e9\u0433\u04e9\u0433\u0434\u04e9\u043b \/var\/lib\/pgsql \u0434\u044d\u044d\u0440 \u0431\u0430\u0439\u043d\u0430 \u0433\u044d\u0436 \u04af\u0437\u0432\u044d\u043b)\nfsfreeze -f \/var\/lib\/pgsql\n<\/code><\/pre>\n<p>\u041c\u04e9\u043d \u04af\u0439\u043b \u0430\u0436\u0438\u043b\u043b\u0430\u0433\u0430\u0430\u0433 \u04af\u0440\u0433\u044d\u043b\u0436\u043b\u04af\u04af\u043b\u044d\u0445\u044d\u0434 \u0437\u043e\u0440\u0438\u0443\u043b\u0441\u0430\u043d <code>post-thaw-script<\/code>:<\/p>\n<pre><code class=\"language-bash\">#!\/bin\/bash\n# \/usr\/sbin\/post-thaw-script\n\n# 1. \u0424\u0430\u0439\u043b\u044b\u043d \u0441\u0438\u0441\u0442\u0435\u043c\u0438\u0439\u0433 \u0446\u0430\u0440\u0446\u0430\u043b\u0442\u0430\u0430\u0441 \u0433\u0430\u0440\u0433\u0430\u043d\u0430\nfsfreeze -u \/var\/lib\/pgsql\n\n# 2. PostgreSQL-\u0434 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u0434\u0443\u0443\u0441\u0441\u0430\u043d\u044b\u0433 \u043c\u044d\u0434\u044d\u0433\u0434\u044d\u043d\u044d\nsu - postgres -c \"psql -c \"SELECT pg_backup_stop();\"\"\n<\/code><\/pre>\n<h3>2. \u041c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0443\u0443\u0433\u0443\u0443\u043b \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0445\u044d\u0440\u044d\u0433\u0441\u043b\u04af\u04af\u0434\u0438\u0439\u0433 \u0430\u0448\u0438\u0433\u043b\u0430\u0445<\/h3>\n<p>Application-consistent snapshot \u043d\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 snapshot-\u043e\u043e\u0441 \u0434\u044d\u044d\u0440 \u0431\u043e\u043b\u043e\u0432\u0447 VM stun-\u0438\u0439\u043d \u044d\u0440\u0441\u0434\u044d\u043b\u0438\u0439\u0433 \u0430\u0433\u0443\u0443\u043b\u0441\u0430\u043d \u0445\u044d\u0432\u044d\u044d\u0440 \u0431\u0430\u0439\u043d\u0430. \u041c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0445\u0430\u043c\u0433\u0438\u0439\u043d \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0430\u0440\u0433\u0430 \u0431\u043e\u043b \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u043e\u043e\u0441 \u0445\u0430\u043c\u0430\u0430\u0440\u0430\u043b\u0433\u04af\u0439 \u0430\u0436\u0438\u043b\u043b\u0430\u0434\u0430\u0433 \u0443\u0443\u0433\u0443\u0443\u043b, \u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0445\u044d\u0440\u044d\u0433\u0441\u043b\u04af\u04af\u0434\u0438\u0439\u0433 \u0430\u0448\u0438\u0433\u043b\u0430\u0445 \u044f\u0432\u0434\u0430\u043b \u044e\u043c.<\/p>\n<p><strong>PostgreSQL (pg_basebackup):<\/strong><\/p>\n<pre><code class=\"language-bash\">pg_basebackup -h localhost -U replication_user -D \/mnt\/backups\/pg_backup -Ft -z -P\n<\/code><\/pre>\n<p><strong>MySQL\/MariaDB (Percona XtraBackup \/ Mariabackup):<\/strong><br \/>\n\u042d\u0434\u0433\u044d\u044d\u0440 \u0445\u044d\u0440\u044d\u0433\u0441\u043b\u04af\u04af\u0434 \u043d\u044c \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0444\u0430\u0439\u043b\u0443\u0443\u0434\u044b\u0433 \u0445\u0443\u0443\u043b\u0436, redo log-\u0438\u0439\u043d \u04e9\u04e9\u0440\u0447\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u0437\u044d\u0440\u044d\u0433 \u0445\u044f\u043d\u0430\u0445 \u0437\u0430\u043c\u0430\u0430\u0440 \u0430\u0436\u0438\u043b\u043b\u0430\u0434\u0430\u0433.<\/p>\n<pre><code class=\"language-bash\">mariabackup --backup --target-dir=\/mnt\/backups\/mysql_backup --user=root --password=SecurePass\n<\/code><\/pre>\n<p><strong>SQL Server (T-SQL):<\/strong><\/p>\n<pre><code class=\"language-sql\">BACKUP DATABASE [ProductionDB] \nTO DISK = N'Z:BackupsProductionDB.bak' \nWITH NOFORMAT, NOINIT, NAME = N'ProductionDB-Full Backup', \nSKIP, NOREWIND, NOUNLOAD, COMPRESSION, STATS = 10;\nGO\n<\/code><\/pre>\n<h3>3. \u041b\u043e\u0433 \u0430\u0440\u0445\u0438\u0432\u043b\u0430\u0445 \u0437\u0430\u043c\u0430\u0430\u0440 Point-in-Time Recovery (PITR) \u0445\u044d\u0440\u044d\u0433\u0436\u04af\u04af\u043b\u044d\u0445<\/h3>\n<p>\u04e8\u0434\u04e9\u0440 \u0442\u0443\u0442\u043c\u044b\u043d snapshot \u044d\u0441\u0432\u044d\u043b \u0431\u04af\u0440\u044d\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u043d\u044c \u0437\u04e9\u0432\u0445\u04e9\u043d \u0442\u0443\u0445\u0430\u0439\u043d \u0430\u0433\u0448\u0438\u043d \u0445\u04af\u0440\u0442\u044d\u043b\u0445 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u0433 \u043b \u0445\u0430\u043c\u0433\u0430\u0430\u043b\u043d\u0430. \u0425\u044d\u0440\u044d\u0432 \u0442\u0430\u043d\u0430\u0439 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d 16:00 \u0446\u0430\u0433\u0442 \u0443\u043d\u0430\u0436, \u0445\u0430\u043c\u0433\u0438\u0439\u043d \u0441\u04af\u04af\u043b\u0438\u0439\u043d snapshot 02:00 \u0446\u0430\u0433\u0442 \u0445\u0438\u0439\u0433\u0434\u0441\u044d\u043d \u0431\u043e\u043b \u0442\u0430 14 \u0446\u0430\u0433\u0438\u0439\u043d \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u0433 \u0430\u043b\u0434\u0430\u043d\u0430.<\/p>\n<p>\u0416\u0438\u043d\u0445\u044d\u043d\u044d \u0431\u0430\u0439\u0433\u0443\u0443\u043b\u043b\u0430\u0433\u044b\u043d \u0442\u04af\u0432\u0448\u043d\u0438\u0439 \u0442\u044d\u0441\u0432\u044d\u0440\u043b\u044d\u0445 \u0447\u0430\u0434\u0432\u0430\u0440\u0442 \u0445\u04af\u0440\u044d\u0445\u0438\u0439\u043d \u0442\u0443\u043b\u0434 \u0442\u0430 \u0431\u04af\u0440\u044d\u043d application-consistent \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u0442\u0430\u0441\u0440\u0430\u043b\u0442\u0433\u04af\u0439 \u043b\u043e\u0433 \u0430\u0440\u0445\u0438\u0432\u043b\u0430\u0445\u0442\u0430\u0439 (WAL, Redo Logs \u044d\u0441\u0432\u044d\u043b Transaction Logs-\u0438\u0439\u0433 \u0445\u044d\u0434\u044d\u043d \u043c\u0438\u043d\u0443\u0442 \u0442\u0443\u0442\u0430\u043c\u0434 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445) \u0445\u043e\u0441\u043b\u0443\u0443\u043b\u0430\u0445 \u0451\u0441\u0442\u043e\u0439. \u042d\u043d\u044d \u043d\u044c DBA-\u0443\u0443\u0434\u0430\u0434 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433 \u0433\u0430\u043c\u0448\u0433\u0438\u0439\u043d \u04e9\u043c\u043d\u04e9\u0445 \u0442\u043e\u0434\u043e\u0440\u0445\u043e\u0439 \u043c\u0438\u043d\u0443\u0442 \u044d\u0441\u0432\u044d\u043b \u0431\u04af\u0440 \u0442\u043e\u0434\u043e\u0440\u0445\u043e\u0439 \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 ID \u0445\u04af\u0440\u0442\u044d\u043b \u0441\u044d\u0440\u0433\u044d\u044d\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0438\u0439\u0433 \u043e\u043b\u0433\u043e\u0434\u043e\u0433.<\/p>\n<h2>CloudSave-\u0442\u044d\u0439 \u0431\u0430\u0439\u0433\u0443\u0443\u043b\u043b\u0430\u0433\u044b\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438<\/h2>\n<p>\u041e\u043b\u043e\u043d \u0430\u0440\u0432\u0430\u043d \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0441\u0435\u0440\u0432\u0435\u0440\u04af\u04af\u0434 \u0434\u044d\u044d\u0440 \u0442\u0443\u0441\u0433\u0430\u0439 pre-freeze \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434, cron \u0430\u0436\u043b\u0443\u0443\u0434 \u0431\u043e\u043b\u043e\u043d \u043b\u043e\u0433 \u0434\u0430\u043c\u0436\u0443\u0443\u043b\u0430\u043b\u0442\u044b\u0433 \u0443\u0434\u0438\u0440\u0434\u0430\u0445 \u043d\u044c DevOps \u0431\u0430\u0433\u0443\u0443\u0434\u044b\u043d \u0445\u0443\u0432\u044c\u0434 \u0436\u0438\u043d\u0445\u044d\u043d\u044d \u0445\u0430\u0440 \u0434\u0430\u0440\u0441\u0430\u043d \u0437\u04af\u04af\u0434 \u044e\u043c. \u042d\u043d\u0434 \u043b CloudSave \u0448\u0438\u0433 \u0431\u0430\u0439\u0433\u0443\u0443\u043b\u043b\u0430\u0433\u044b\u043d \u0442\u04af\u0432\u0448\u043d\u0438\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c \u0447\u0443\u0445\u0430\u043b \u0431\u043e\u043b\u0434\u043e\u0433.<\/p>\n<p>CloudSave \u043d\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0447\u043b\u0430\u043b \u0431\u043e\u043b\u043e\u043d \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b\u043d \u0445\u043e\u043e\u0440\u043e\u043d\u0434\u043e\u0445 \u0437\u0430\u0439\u0433 \u043d\u04e9\u0445\u0434\u04e9\u0433. \u0413\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u044b\u043d \u0441\u043e\u0445\u043e\u0440 snapshot-\u0434 \u043d\u0430\u0439\u0434\u0430\u0445\u044b\u043d \u043e\u0440\u043e\u043d\u0434 CloudSave \u043d\u044c SQL Server, PostgreSQL, MySQL \u0431\u043e\u043b\u043e\u043d Oracle-\u0442\u0430\u0439 \u0443\u0443\u0433\u0443\u0443\u043b \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440 \u043d\u044d\u0433\u0434\u0434\u044d\u0433 application-aware \u0430\u0433\u0435\u043d\u0442\u0443\u0443\u0434\u044b\u0433 \u0430\u0448\u0438\u0433\u043b\u0430\u0434\u0430\u0433.<\/p>\n<p>CloudSave \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u044d\u0445\u043b\u04af\u04af\u043b\u044d\u0445 \u04af\u0435\u0434:<br \/>\n1. \u042d\u043d\u044d \u043d\u044c \u0443\u0443\u0433\u0443\u0443\u043b API-\u0443\u0443\u0434\u0430\u0430\u0440 (Windows-\u0434 \u0437\u043e\u0440\u0438\u0443\u043b\u0441\u0430\u043d VSS \u044d\u0441\u0432\u044d\u043b Linux-\u0434 \u0437\u043e\u0440\u0438\u0443\u043b\u0441\u0430\u043d WAL \u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433) \u0434\u0430\u043c\u0436\u0443\u0443\u043b\u0430\u043d \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0445\u04e9\u0434\u04e9\u043b\u0433\u04af\u04af\u0440\u0442\u044d\u0439 \u0448\u0443\u0443\u0434 \u0445\u0430\u0440\u0438\u043b\u0446\u0434\u0430\u0433.<br \/>\n2. \u042d\u043d\u044d \u043d\u044c VM-\u0438\u0439\u0433 \u0437\u043e\u0433\u0441\u043e\u043e\u0445\u0433\u04af\u0439\u0433\u044d\u044d\u0440 \u0441\u0430\u043d\u0430\u0445 \u043e\u0439\u043d \u0431\u0443\u0444\u0435\u0440\u0443\u0443\u0434\u044b\u0433 \u0434\u0438\u0441\u043a \u0440\u04af\u04af \u0431\u0438\u0447\u0438\u0445\u0438\u0439\u0433 \u0437\u043e\u0445\u0438\u043e\u043d \u0431\u0430\u0439\u0433\u0443\u0443\u043b\u0434\u0430\u0433.<br \/>\n3. \u042d\u043d\u044d \u043d\u044c \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0444\u0430\u0439\u043b\u0443\u0443\u0434\u044b\u0433 \u0430\u044e\u0443\u043b\u0433\u04af\u0439\u0433\u044d\u044d\u0440 \u0430\u0432\u0447, \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u043b\u043e\u0433-\u0438\u0439\u043d \u0442\u0430\u0439\u0440\u0430\u043b\u0442\u044b\u0433 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0430\u0430\u0440 \u0443\u0434\u0438\u0440\u0434\u0434\u0430\u0433.<br \/>\n4. \u042d\u043d\u044d \u043d\u044c \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u043b\u043e\u0433\u0443\u0443\u0434\u044b\u0433 \u0442\u0430\u0441\u0440\u0430\u043b\u0442\u0433\u04af\u0439 \u043d\u04e9\u04e9\u0446\u04e9\u043b\u0436, \u0445\u044d\u0434\u0445\u044d\u043d \u0442\u043e\u0432\u0448\u0438\u043b\u0442\u043e\u043e\u0440 Point-in-Time Recovery (PITR) \u0445\u0438\u0439\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0438\u0439\u0433 \u043e\u043b\u0433\u043e\u0434\u043e\u0433.<\/p>\n<p>Application consistency-\u0438\u0439\u043d \u043d\u0430\u0440\u0438\u0439\u043d \u0442\u04e9\u0432\u04e9\u0433\u0442\u044d\u0439 \u0431\u0430\u0439\u0434\u043b\u044b\u0433 CloudSave-\u0434 \u0448\u0438\u043b\u0436\u04af\u04af\u043b\u0441\u043d\u044d\u044d\u0440 DBA \u0431\u043e\u043b\u043e\u043d \u0441\u0438\u0441\u0442\u0435\u043c\u0438\u0439\u043d \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0443\u0443\u0434 \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0443\u0443\u0434\u044b\u043d \u0433\u04af\u0439\u0446\u044d\u0442\u0433\u044d\u043b \u044d\u0441\u0432\u044d\u043b \u0431\u044d\u043b\u044d\u043d \u0431\u0430\u0439\u0434\u043b\u044b\u0433 \u0430\u043b\u0434\u0430\u0433\u0434\u0443\u0443\u043b\u0430\u0445\u0433\u04af\u0439\u0433\u044d\u044d\u0440 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0431\u04af\u0440\u044d\u043d \u0431\u04af\u0442\u044d\u043d \u0431\u0430\u0439\u0434\u043b\u044b\u0433 \u0431\u0430\u0442\u0430\u043b\u0433\u0430\u0430\u0436\u0443\u0443\u043b\u0430\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0442\u043e\u0439.<\/p>\n<h2>\u0414\u04af\u0433\u043d\u044d\u043b\u0442<\/h2>\n<p>\u0412\u0438\u0440\u0442\u0443\u0430\u043b \u043c\u0430\u0448\u0438\u043d snapshot \u043d\u044c \u0434\u044d\u0434 \u0431\u04af\u0442\u0446\u0438\u0439\u043d \u0443\u0434\u0438\u0440\u0434\u043b\u0430\u0433\u0430\u0434 \u0437\u043e\u0440\u0438\u0443\u043b\u0441\u0430\u043d \u0433\u0430\u0439\u0445\u0430\u043b\u0442\u0430\u0439 \u0445\u044d\u0440\u044d\u0433\u0441\u044d\u043b \u0431\u043e\u043b\u043e\u0432\u0447 \u0442\u044d\u0434\u0433\u044d\u044d\u0440 \u043d\u044c \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d ACID \u0448\u0430\u0430\u0440\u0434\u043b\u0430\u0433\u0430\u0442\u0430\u0439 \u04af\u043d\u0434\u0441\u044d\u043d\u0434\u044d\u044d \u043d\u0438\u0439\u0446\u0434\u044d\u0433\u0433\u04af\u0439. Crash-consistent \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440 snapshot-\u0434 \u043d\u0430\u0439\u0434\u0430\u0445 \u043d\u044c \u0442\u0430\u043d\u0430\u0439 \u0431\u0430\u0439\u0433\u0443\u0443\u043b\u043b\u0430\u0433\u044b\u0433 torn page, \u0442\u0430\u0441\u0430\u0440\u0441\u0430\u043d \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0439\u043d \u0433\u0438\u043d\u0436 \u0431\u043e\u043b\u043e\u043d \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0433\u0430\u043c\u0448\u0438\u0433\u0442 \u0430\u043b\u0434\u0430\u0433\u0434\u0430\u043b\u0434 \u04e9\u0440\u0442\u04e9\u0445 \u044d\u0440\u0441\u0434\u044d\u043b\u0434 \u043e\u0440\u0443\u0443\u043b\u0434\u0430\u0433.<\/p>\n<p>\u04e8\u04e9\u0440\u0438\u0439\u043d \u0447\u0443\u0445\u0430\u043b \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u0433 \u0445\u0430\u043c\u0433\u0430\u0430\u043b\u0430\u0445\u044b\u043d \u0442\u0443\u043b\u0434 \u0442\u0430 application-aware quiescing-\u0438\u0439\u0433 \u0445\u044d\u0440\u044d\u0433\u0436\u04af\u04af\u043b\u0436, \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0443\u0443\u0433\u0443\u0443\u043b \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0430\u0440\u0433\u0430\u0447\u043b\u0430\u043b\u044b\u0433 \u0430\u0448\u0438\u0433\u043b\u0430\u0436, \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u043b\u043e\u0433-\u0438\u0439\u043d \u0442\u0430\u0441\u0440\u0430\u043b\u0442\u0433\u04af\u0439 \u0430\u0440\u0445\u0438\u0432\u044b\u0433 \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445 \u0451\u0441\u0442\u043e\u0439. \u0417\u043e\u0440\u0438\u043b\u0442\u043e\u0442 \u0431\u0430\u0439\u0433\u0443\u0443\u043b\u043b\u0430\u0433\u044b\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0448\u0438\u0439\u0434\u043b\u04af\u04af\u0434\u0438\u0439\u0433 \u043d\u044d\u0432\u0442\u0440\u04af\u04af\u043b\u0441\u043d\u044d\u044d\u0440 \u0442\u0430 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0430\u0430 \u04e9\u043d\u0434\u04e9\u0440 \u0431\u044d\u043b\u044d\u043d \u0431\u0430\u0439\u0434\u0430\u043b\u0442\u0430\u0439, \u0431\u04af\u0440\u044d\u043d \u0441\u044d\u0440\u0433\u044d\u044d\u0433\u0434\u044d\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0442\u043e\u0439, \u043d\u0430\u0439\u0434\u0432\u0430\u0440\u0442\u0430\u0439 \u0431\u0430\u0439\u043b\u0433\u0430\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0442\u043e\u0439.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&gt; Discover why standard VM snapshots cause data corruption in transactional databases like PostgreSQL and SQL Server. Learn DBA best practices for application-consistent backups, avoiding VM stun, and ensuring data integrity with CloudSave.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"Why VM Snapshots Are Unsafe for Transactional Databases","rank_math_description":"> Discover why standard VM snapshots cause data corruption in transactional databases like PostgreSQL and SQL Server. Learn DBA best practices for application-consistent backups, avoiding VM stun, and ensuring data integrity with CloudSave.","rank_math_focus_keyword":"VM snapshots transactional databases","footnotes":""},"categories":[575],"tags":[3420,3752,3753,3754,3755,3756,3757],"class_list":["post-5498","post","type-post","status-publish","format-standard","hentry","category-database-backup","tag-data-integrity","tag-database-corruption","tag-database-recovery","tag-dba-guide","tag-hypervisor-snapshots","tag-transactional-databases","tag-vm-snapshots"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.7 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Why VM Snapshots Are Unsafe for Transactional Databases<\/title>\n<meta name=\"description\" content=\"&gt; Discover why standard VM snapshots cause data corruption in transactional databases like PostgreSQL and SQL Server. Learn DBA best practices for application-consistent backups, avoiding VM stun, and ensuring data integrity with CloudSave.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\/\" \/>\n<meta property=\"og:locale\" content=\"mn_MN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u042f\u0430\u0433\u0430\u0430\u0434 VM \u0430\u0433\u0448\u0438\u043d (snapshot) \u043d\u044c \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0443\u0443\u0434\u0430\u0434 \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u0430\u0433\u0433\u04af\u0439 \u0432\u044d: \u04e8\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0431\u04af\u0440\u044d\u043d \u0431\u04af\u0442\u044d\u043d \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0442\u0430\u043b\u0430\u0430\u0440\u0445 DBA-\u0438\u0439\u043d \u0433\u0430\u0440\u044b\u043d \u0430\u0432\u043b\u0430\u0433\u0430\" \/>\n<meta property=\"og:description\" content=\"&gt; Discover why standard VM snapshots cause data corruption in transactional databases like PostgreSQL and SQL Server. Learn DBA best practices for application-consistent backups, avoiding VM stun, and ensuring data integrity with CloudSave.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudSave\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-15T14:01:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-15T16:05:02+00:00\" \/>\n<meta name=\"author\" content=\"shervinrv\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"shervinrv\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u043c\u0438\u043d\u0443\u0442\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\\\/\"},\"author\":{\"name\":\"shervinrv\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/#\\\/schema\\\/person\\\/286beefe68281d868e87f46603a7ae4d\"},\"headline\":\"\u042f\u0430\u0433\u0430\u0430\u0434 VM \u0430\u0433\u0448\u0438\u043d (snapshot) \u043d\u044c \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0443\u0443\u0434\u0430\u0434 \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u0430\u0433\u0433\u04af\u0439 \u0432\u044d: \u04e8\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0431\u04af\u0440\u044d\u043d \u0431\u04af\u0442\u044d\u043d \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0442\u0430\u043b\u0430\u0430\u0440\u0445 DBA-\u0438\u0439\u043d \u0433\u0430\u0440\u044b\u043d \u0430\u0432\u043b\u0430\u0433\u0430\",\"datePublished\":\"2026-06-15T14:01:13+00:00\",\"dateModified\":\"2026-06-15T16:05:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\\\/\"},\"wordCount\":1631,\"publisher\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/#\\\/schema\\\/person\\\/286beefe68281d868e87f46603a7ae4d\"},\"keywords\":[\"data integrity\",\"database corruption\",\"database recovery\",\"DBA guide\",\"hypervisor snapshots\",\"transactional databases\",\"VM snapshots\"],\"articleSection\":[\"Database Backup\"],\"inLanguage\":\"mn\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\\\/\",\"url\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\\\/\",\"name\":\"Why VM Snapshots Are Unsafe for Transactional Databases\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/#website\"},\"datePublished\":\"2026-06-15T14:01:13+00:00\",\"dateModified\":\"2026-06-15T16:05:02+00:00\",\"description\":\"> Discover why standard VM snapshots cause data corruption in transactional databases like PostgreSQL and SQL Server. Learn DBA best practices for application-consistent backups, avoiding VM stun, and ensuring data integrity with CloudSave.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\\\/#breadcrumb\"},\"inLanguage\":\"mn\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u042f\u0430\u0433\u0430\u0430\u0434 VM \u0430\u0433\u0448\u0438\u043d (snapshot) \u043d\u044c \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0443\u0443\u0434\u0430\u0434 \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u0430\u0433\u0433\u04af\u0439 \u0432\u044d: \u04e8\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0431\u04af\u0440\u044d\u043d \u0431\u04af\u0442\u044d\u043d \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0442\u0430\u043b\u0430\u0430\u0440\u0445 DBA-\u0438\u0439\u043d \u0433\u0430\u0440\u044b\u043d \u0430\u0432\u043b\u0430\u0433\u0430\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/#website\",\"url\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/\",\"name\":\"CloudSave\",\"description\":\"CloudSave\",\"publisher\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/#\\\/schema\\\/person\\\/286beefe68281d868e87f46603a7ae4d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"mn\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/#\\\/schema\\\/person\\\/286beefe68281d868e87f46603a7ae4d\",\"name\":\"shervinrv\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"mn\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/Logo_Name-2.png\",\"url\":\"https:\\\/\\\/cloudsave.app\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/Logo_Name-2.png\",\"contentUrl\":\"https:\\\/\\\/cloudsave.app\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/Logo_Name-2.png\",\"width\":859,\"height\":150,\"caption\":\"shervinrv\"},\"logo\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/Logo_Name-2.png\"},\"sameAs\":[\"http:\\\/\\\/cloudsave.app\"],\"url\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/author\\\/shervinrv\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Why VM Snapshots Are Unsafe for Transactional Databases","description":"> Discover why standard VM snapshots cause data corruption in transactional databases like PostgreSQL and SQL Server. Learn DBA best practices for application-consistent backups, avoiding VM stun, and ensuring data integrity with CloudSave.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\/","og_locale":"mn_MN","og_type":"article","og_title":"\u042f\u0430\u0433\u0430\u0430\u0434 VM \u0430\u0433\u0448\u0438\u043d (snapshot) \u043d\u044c \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0443\u0443\u0434\u0430\u0434 \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u0430\u0433\u0433\u04af\u0439 \u0432\u044d: \u04e8\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0431\u04af\u0440\u044d\u043d \u0431\u04af\u0442\u044d\u043d \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0442\u0430\u043b\u0430\u0430\u0440\u0445 DBA-\u0438\u0439\u043d \u0433\u0430\u0440\u044b\u043d \u0430\u0432\u043b\u0430\u0433\u0430","og_description":"> Discover why standard VM snapshots cause data corruption in transactional databases like PostgreSQL and SQL Server. Learn DBA best practices for application-consistent backups, avoiding VM stun, and ensuring data integrity with CloudSave.","og_url":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\/","og_site_name":"CloudSave","article_published_time":"2026-06-15T14:01:13+00:00","article_modified_time":"2026-06-15T16:05:02+00:00","author":"shervinrv","twitter_card":"summary_large_image","twitter_misc":{"Written by":"shervinrv","Est. reading time":"2 \u043c\u0438\u043d\u0443\u0442"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\/#article","isPartOf":{"@id":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\/"},"author":{"name":"shervinrv","@id":"https:\/\/cloudsave.app\/mn\/#\/schema\/person\/286beefe68281d868e87f46603a7ae4d"},"headline":"\u042f\u0430\u0433\u0430\u0430\u0434 VM \u0430\u0433\u0448\u0438\u043d (snapshot) \u043d\u044c \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0443\u0443\u0434\u0430\u0434 \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u0430\u0433\u0433\u04af\u0439 \u0432\u044d: \u04e8\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0431\u04af\u0440\u044d\u043d \u0431\u04af\u0442\u044d\u043d \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0442\u0430\u043b\u0430\u0430\u0440\u0445 DBA-\u0438\u0439\u043d \u0433\u0430\u0440\u044b\u043d \u0430\u0432\u043b\u0430\u0433\u0430","datePublished":"2026-06-15T14:01:13+00:00","dateModified":"2026-06-15T16:05:02+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\/"},"wordCount":1631,"publisher":{"@id":"https:\/\/cloudsave.app\/mn\/#\/schema\/person\/286beefe68281d868e87f46603a7ae4d"},"keywords":["data integrity","database corruption","database recovery","DBA guide","hypervisor snapshots","transactional databases","VM snapshots"],"articleSection":["Database Backup"],"inLanguage":"mn"},{"@type":"WebPage","@id":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\/","url":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\/","name":"Why VM Snapshots Are Unsafe for Transactional Databases","isPartOf":{"@id":"https:\/\/cloudsave.app\/mn\/#website"},"datePublished":"2026-06-15T14:01:13+00:00","dateModified":"2026-06-15T16:05:02+00:00","description":"> Discover why standard VM snapshots cause data corruption in transactional databases like PostgreSQL and SQL Server. Learn DBA best practices for application-consistent backups, avoiding VM stun, and ensuring data integrity with CloudSave.","breadcrumb":{"@id":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\/#breadcrumb"},"inLanguage":"mn","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudsave.app\/mn\/knowledge-base\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d1%8f%d0%b0%d0%b3%d0%b0%d0%b0%d0%b4-vm-%d0%b0%d0%b3%d1%88%d0%b8%d0%bd-snapshot-%d0%bd%d1%8c-%d0%b3%d2%af%d0%b9%d0%bb%d0%b3%d1%8d%d1%8d%d0%bd%d0%b8%d0%b9-%d3%a9%d0%b3%d3%a9%d0%b3%d0%b4%d0%bb%d0%b8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudsave.app\/mn\/"},{"@type":"ListItem","position":2,"name":"\u042f\u0430\u0433\u0430\u0430\u0434 VM \u0430\u0433\u0448\u0438\u043d (snapshot) \u043d\u044c \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0443\u0443\u0434\u0430\u0434 \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u0430\u0433\u0433\u04af\u0439 \u0432\u044d: \u04e8\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0431\u04af\u0440\u044d\u043d \u0431\u04af\u0442\u044d\u043d \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0442\u0430\u043b\u0430\u0430\u0440\u0445 DBA-\u0438\u0439\u043d \u0433\u0430\u0440\u044b\u043d \u0430\u0432\u043b\u0430\u0433\u0430"}]},{"@type":"WebSite","@id":"https:\/\/cloudsave.app\/mn\/#website","url":"https:\/\/cloudsave.app\/mn\/","name":"CloudSave","description":"CloudSave","publisher":{"@id":"https:\/\/cloudsave.app\/mn\/#\/schema\/person\/286beefe68281d868e87f46603a7ae4d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudsave.app\/mn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"mn"},{"@type":["Person","Organization"],"@id":"https:\/\/cloudsave.app\/mn\/#\/schema\/person\/286beefe68281d868e87f46603a7ae4d","name":"shervinrv","image":{"@type":"ImageObject","inLanguage":"mn","@id":"https:\/\/cloudsave.app\/wp-content\/uploads\/2026\/02\/Logo_Name-2.png","url":"https:\/\/cloudsave.app\/wp-content\/uploads\/2026\/02\/Logo_Name-2.png","contentUrl":"https:\/\/cloudsave.app\/wp-content\/uploads\/2026\/02\/Logo_Name-2.png","width":859,"height":150,"caption":"shervinrv"},"logo":{"@id":"https:\/\/cloudsave.app\/wp-content\/uploads\/2026\/02\/Logo_Name-2.png"},"sameAs":["http:\/\/cloudsave.app"],"url":"https:\/\/cloudsave.app\/mn\/knowledge-base\/author\/shervinrv\/"}]}},"_links":{"self":[{"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/posts\/5498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/comments?post=5498"}],"version-history":[{"count":3,"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/posts\/5498\/revisions"}],"predecessor-version":[{"id":5820,"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/posts\/5498\/revisions\/5820"}],"wp:attachment":[{"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/media?parent=5498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/categories?post=5498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/tags?post=5498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}