{"id":3840,"date":"2026-06-12T08:08:32","date_gmt":"2026-06-12T08:08:32","guid":{"rendered":"https:\/\/cloudsave.app\/?p=3840"},"modified":"2026-06-12T08:36:23","modified_gmt":"2026-06-12T08:36:23","slug":"%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86","status":"publish","type":"post","link":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\/","title":{"rendered":"\u04e8\u04e9\u0440\u04e9\u04e9 \u0445\u0438\u0439\u0434\u044d\u0433 (DIY) \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u0438\u0439\u043d \u0434\u0430\u043b\u0434 \u0430\u044e\u0443\u043b: \u0417\u0430\u0445\u0438\u0430\u043b\u0433\u0430\u0442 Bash \u044f\u0430\u0433\u0430\u0430\u0434 \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u043e\u0440\u0447\u0438\u043d\u0434 \u0442\u043e\u0445\u0438\u0440\u043e\u043c\u0436\u0433\u04af\u0439 \u0432\u044d?"},"content":{"rendered":"<p>\u04e8\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 (DBA) \u0431\u043e\u043b\u043e\u043d \u0421\u0438\u0441\u0442\u0435\u043c\u0438\u0439\u043d \u0438\u043d\u0436\u0435\u043d\u0435\u0440 \u0431\u04af\u0440 \u043a\u0430\u0440\u044c\u0435\u0440\u044b\u043d\u0445\u0430\u0430 \u0430\u043b\u044c \u043d\u044d\u0433 \u04af\u0435\u0434 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445\u0438\u0439\u043d \u0442\u0443\u043b\u0434 \u04e9\u04e9\u0440\u04e9\u04e9 \u0442\u0443\u0441\u0433\u0430\u0439 shell \u0441\u043a\u0440\u0438\u043f\u0442 \u0431\u0438\u0447\u0438\u0436 \u04af\u0437\u0441\u044d\u043d \u0431\u0430\u0439\u0434\u0430\u0433. \u042d\u043d\u044d \u0431\u043e\u043b \u0431\u0430\u0440\u0430\u0433 \u043b \u043d\u044d\u0433 \u0451\u0441\u043d\u044b \u0437\u0430\u043d \u04af\u0439\u043b \u044e\u043c. \u0422\u04e9\u0441\u043b\u0438\u0439\u043d \u044d\u0445\u043d\u0438\u0439 \u0448\u0430\u0442\u0430\u043d\u0434 <code>mysqldump<\/code> \u044d\u0441\u0432\u044d\u043b <code>pg_dump<\/code>-\u0438\u0439\u0433 <code>gzip<\/code> \u0440\u04af\u04af \u0434\u0430\u043c\u0436\u0443\u0443\u043b\u0434\u0430\u0433 \u044d\u043d\u0433\u0438\u0439\u043d cron job \u043d\u044c \u043c\u0430\u0448 \u0433\u043e\u0451\u043c\u0441\u043e\u0433, \u0445\u04e9\u043d\u0433\u04e9\u043d \u0431\u04e9\u0433\u04e9\u04e9\u0434 \u0445\u044d\u043c\u043d\u044d\u043b\u0442\u0442\u044d\u0439 \u0448\u0438\u0439\u0434\u044d\u043b \u043c\u044d\u0442 \u0441\u0430\u043d\u0430\u0433\u0434\u0434\u0430\u0433.<\/p>\n<p>\u0413\u044d\u0441\u044d\u043d \u0445\u044d\u0434\u0438\u0439 \u0447 \u0434\u044d\u0434 \u0431\u04af\u0442\u044d\u0446 \u04e9\u0440\u0433\u04e9\u0436\u0438\u0436, \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0445\u044d\u043c\u0436\u044d\u044d \u043d\u044d\u043c\u044d\u0433\u0434\u044d\u0436, \u0430\u0436\u0438\u043b\u043b\u0430\u0445 \u0445\u0443\u0433\u0430\u0446\u0430\u0430\u043d\u044b (uptime) SLA \u0447\u0430\u043d\u0433\u0430\u0440\u0447 \u044d\u0445\u043b\u044d\u0445\u044d\u0434 \u0442\u044d\u0440\u0445\u04af\u04af 10 \u043c\u04e9\u0440 Bash \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u044c \u0447\u0438\u043c\u044d\u044d\u0433\u04af\u0439\u0445\u044d\u043d \u0442\u044d\u0441\u0440\u044d\u0445 \u0431\u04e9\u043c\u0431\u04e9\u0433 \u0431\u043e\u043b\u043e\u043d \u0445\u0443\u0432\u0438\u0440\u0434\u0430\u0433. \u04ae\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u043e\u0440\u0447\u0438\u043d \u043d\u044c \u04e9\u043d\u0434\u04e9\u0440 \u0431\u044d\u043b\u044d\u043d \u0431\u0430\u0439\u0434\u0430\u043b, \u0421\u044d\u0440\u0433\u044d\u044d\u0445 \u0446\u044d\u0433\u0438\u0439\u043d \u0437\u043e\u0440\u0438\u043b\u0442 (RPO) \u0431\u043e\u043b\u043e\u043d \u0421\u044d\u0440\u0433\u044d\u044d\u0445 \u0445\u0443\u0433\u0430\u0446\u0430\u0430\u043d\u044b \u0437\u043e\u0440\u0438\u043b\u0442\u044b\u0433 (RTO) \u0445\u0430\u0442\u0443\u0443 \u0448\u0430\u0430\u0440\u0434\u0434\u0430\u0433. \u0418\u0439\u043c \u043e\u0440\u0447\u0438\u043d\u0434 \u04e9\u04e9\u0440\u0438\u0439\u043d \u0433\u0430\u0440\u0430\u0430\u0440 \u0445\u0438\u0439\u0441\u044d\u043d (DIY) \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u044d\u0434 \u043d\u0430\u0439\u0434\u0430\u0445 \u043d\u044c \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0431\u04af\u0440\u044d\u043d \u0431\u04af\u0442\u044d\u043d \u0431\u0430\u0439\u0434\u0430\u043b, \u0447\u0438\u043c\u044d\u044d\u0433\u04af\u0439 \u0430\u043b\u0434\u0430\u0430, \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0441\u0443\u043b \u0442\u0430\u043b, \u0443\u0434\u0438\u0440\u0434\u0430\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0433\u04af\u0439 \u0441\u044d\u0440\u0433\u044d\u044d\u0445 \u04af\u0439\u043b \u044f\u0432\u0446 \u0437\u044d\u0440\u044d\u0433 \u043d\u043e\u0446\u0442\u043e\u0439 \u044d\u0440\u0441\u0434\u044d\u043b\u04af\u04af\u0434\u0438\u0439\u0433 \u0434\u0430\u0433\u0443\u0443\u043b\u0434\u0430\u0433.<\/p>\n<p>\u042d\u043d\u044d \u043d\u0438\u0439\u0442\u043b\u044d\u043b\u0434 \u0431\u0438\u0434 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d DIY \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u0438\u0439\u043d \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b\u043d \u0430\u043b\u0434\u0430\u0430 \u0431\u043e\u043b\u043e\u043d \u0434\u0430\u043b\u0434 \u0430\u044e\u0443\u043b\u0443\u0443\u0434\u044b\u0433 \u0437\u0430\u0434\u043b\u0430\u043d \u0448\u0438\u043d\u0436\u0438\u043b\u0436, \u043b\u043e\u0433\u0438\u043a \u0431\u043e\u043b\u043e\u043d \u0444\u0438\u0437\u0438\u043a \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0442\u0435\u0445\u043d\u0438\u043a\u0438\u0439\u043d \u0431\u044d\u0440\u0445\u0448\u044d\u044d\u043b\u04af\u04af\u0434\u0438\u0439\u0433 \u0441\u0443\u0434\u0430\u043b\u0436, \u0442\u0430\u043d\u044b \u0431\u0438\u0437\u043d\u0435\u0441\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 CloudSave \u0433\u044d\u0445 \u043c\u044d\u0442 \u0430\u0436 \u0430\u0445\u0443\u0439\u043d \u043d\u044d\u0433\u0436\u0438\u0439\u043d \u0442\u04af\u0432\u0448\u043d\u0438\u0439 \u0448\u0438\u0439\u0434\u043b\u04af\u04af\u0434 \u0440\u04af\u04af \u0445\u044d\u0440\u0445\u044d\u043d \u0448\u0438\u043b\u0436\u0438\u0445 \u0442\u0430\u043b\u0430\u0430\u0440 \u044f\u0440\u0438\u043b\u0446\u0430\u0445 \u0431\u043e\u043b\u043d\u043e.<\/p>\n<h2>\u042d\u043d\u0433\u0438\u0439\u043d \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0445\u0443\u0443\u0440\u043c\u0430\u0433 \u0431\u0430\u0439\u0434\u0430\u043b: \u0421\u043e\u043d\u0433\u043e\u0434\u043e\u0433 DIY \u0441\u043a\u0440\u0438\u043f\u0442\u0438\u0439\u0433 \u0437\u0430\u0434\u043b\u0430\u043d \u0448\u0438\u043d\u0436\u043b\u044d\u0445 \u043d\u044c<\/h2>\n<p>\u0410\u044e\u0443\u043b\u044b\u0433 \u043e\u0439\u043b\u0433\u043e\u0445\u044b\u043d \u0442\u0443\u043b\u0434 \u044d\u0445\u043b\u044d\u044d\u0434 \u0435\u0440\u0434\u0438\u0439\u043d DIY \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0441\u043a\u0440\u0438\u043f\u0442\u0438\u0439\u043d \u0431\u04af\u0442\u0446\u0438\u0439\u0433 \u0445\u0430\u0440\u0430\u0445 \u0445\u044d\u0440\u044d\u0433\u0442\u044d\u0439. MySQL \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0445\u0443\u0432\u044c\u0434 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 \u0430\u0440\u0433\u0430 \u043d\u044c \u0438\u0445\u044d\u0432\u0447\u043b\u044d\u043d \u0438\u0439\u043c\u044d\u0440\u0445\u04af\u04af \u0445\u0430\u0440\u0430\u0433\u0434\u0434\u0430\u0433:<\/p>\n<pre><code class=\"language-bash\">#!\/bin\/bash\n# \u042d\u043d\u0433\u0438\u0439\u043d DIY MySQL \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0441\u043a\u0440\u0438\u043f\u0442\nBACKUP_DIR=\"\/mnt\/backups\"\nDATE=$(date +%F)\nDB_USER=\"admin\"\nDB_PASS=\"SuperSecret123!\"\n\nmysqldump -u $DB_USER -p$DB_PASS my_database | gzip &gt; $BACKUP_DIR\/mydb_$DATE.sql.gz\n\n# 30 \u0445\u043e\u043d\u043e\u0433\u043e\u043e\u0441 \u0434\u044d\u044d\u0448 \u0445\u0443\u0433\u0430\u0446\u0430\u0430\u043d\u044b \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u0443\u0441\u0442\u0433\u0430\u0445\nfind $BACKUP_DIR -type f -name \"*.sql.gz\" -mtime +30 -exec rm {} ;\n<\/code><\/pre>\n<p>\u0410\u043d\u0445 \u0445\u0430\u0440\u0430\u0445\u0430\u0434 \u044d\u043d\u044d \u0441\u043a\u0440\u0438\u043f\u0442 \u0437\u043e\u0440\u0438\u043b\u0433\u043e\u043e \u0431\u0438\u0435\u043b\u04af\u04af\u043b\u0436 \u0431\u0430\u0439\u0433\u0430\u0430 \u043c\u044d\u0442: \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u0433 \u0433\u0430\u0440\u0433\u0430\u0436, \u0448\u0430\u0445\u0430\u0436, \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445 \u0445\u0443\u0433\u0430\u0446\u0430\u0430\u0433 \u0443\u0434\u0438\u0440\u0434\u0430\u0436 \u0431\u0430\u0439\u043d\u0430. \u0413\u044d\u0432\u0447 \u04af\u04af\u043d\u0438\u0439 \u0446\u0430\u0430\u043d\u0430 \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u043e\u0440\u0447\u0438\u043d\u0434 \u04e9\u0433\u04e9\u0433\u0434\u04e9\u043b \u0430\u043b\u0434\u0430\u0445\u0430\u0434 \u0445\u04af\u0440\u0433\u044d\u0445 \u043d\u043e\u0446\u0442\u043e\u0439 \u0430\u043b\u0434\u0430\u0430\u043d\u0443\u0443\u0434 \u043d\u0443\u0443\u0433\u0434\u0430\u0436 \u0431\u0430\u0439\u0434\u0430\u0433.<\/p>\n<h2>\u0410\u044e\u0443\u043b 1: \u0427\u0438\u043c\u044d\u044d\u0433\u04af\u0439 \u0430\u043b\u0434\u0430\u0430\u043d\u0443\u0443\u0434 \u0431\u0430 \u0434\u0430\u043c\u0436\u0443\u0443\u043b\u0430\u0445 \u0445\u043e\u043e\u043b\u043e\u0439\u043d \u0443\u0440\u0445\u0438<\/h2>\n<p>DIY \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u0438\u0439\u043d \u0445\u0430\u043c\u0433\u0438\u0439\u043d \u0445\u043e\u0440\u0442\u043e\u0439 \u0430\u044e\u0443\u043b\u0443\u0443\u0434\u044b\u043d \u043d\u044d\u0433 \u0431\u043e\u043b \u0447\u0438\u043c\u044d\u044d\u0433\u04af\u0439 \u0430\u043b\u0434\u0430\u0430 \u044e\u043c. \u0414\u044d\u044d\u0440\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u044d\u0434 <code>mysqldump<\/code> \u043a\u043e\u043c\u0430\u043d\u0434 \u043d\u044c \u0448\u0443\u0443\u0434 <code>gzip<\/code> \u0440\u04af\u04af \u0434\u0430\u043c\u0436\u0443\u0443\u043b\u0430\u0433\u0434\u0434\u0430\u0433 (<code>|<\/code>).<\/p>\n<p>Bash-\u0434 \u0434\u0430\u043c\u0436\u0443\u0443\u043b\u0430\u0445 \u0445\u043e\u043e\u043b\u043e\u0439\u043d (pipeline) \u0433\u0430\u0440\u0430\u043b\u0442\u044b\u043d \u0441\u0442\u0430\u0442\u0443\u0441 \u043d\u044c \u0434\u0430\u043c\u0436\u0443\u0443\u043b\u0430\u0445 \u0445\u043e\u043e\u043b\u043e\u0439\u043d <em>\u0441\u04af\u04af\u043b\u0438\u0439\u043d<\/em> \u043a\u043e\u043c\u0430\u043d\u0434\u044b\u043d \u0433\u0430\u0440\u0430\u043b\u0442\u044b\u043d \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0430\u0439\u0434\u0430\u0433. \u0425\u044d\u0440\u044d\u0432 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u0430\u043d\u0430\u0445 \u043e\u0439 \u0434\u0443\u0443\u0441\u0447, \u0445\u043e\u043b\u0431\u043e\u043b\u0442 \u0442\u0430\u0441\u0430\u0440\u0447 \u044d\u0441\u0432\u044d\u043b \u0434\u0430\u043c\u043f\u044b\u043d \u0434\u0443\u043d\u0434\u0443\u0443\u0440 \u0442\u04af\u0433\u0436\u0438\u0433\u0434\u0441\u044d\u043d \u0445\u04af\u0441\u043d\u044d\u0433\u0442\u0442\u044d\u0439 \u0442\u0430\u0430\u0440\u0432\u0430\u043b <code>mysqldump<\/code> \u0430\u043c\u0436\u0438\u043b\u0442\u0433\u04af\u0439 \u0431\u043e\u043b\u0436 \u0430\u043b\u0434\u0430\u0430 \u0433\u0430\u0440\u0433\u0430\u043d\u0430. \u0413\u044d\u0441\u044d\u043d \u0445\u044d\u0434\u0438\u0439 \u0447 <code>gzip<\/code> \u043d\u044c \u0445\u04af\u043b\u044d\u044d\u043d \u0430\u0432\u0441\u0430\u043d \u0445\u044d\u0441\u044d\u0433\u0447\u0438\u043b\u0441\u044d\u043d \u0433\u0430\u0440\u0430\u043b\u0442\u044b\u0433 \u0430\u043c\u0436\u0438\u043b\u0442\u0442\u0430\u0439 \u0448\u0430\u0445\u0430\u0436, <code>0<\/code> (\u0430\u043c\u0436\u0438\u043b\u0442\u0442\u0430\u0439) \u0441\u0442\u0430\u0442\u0443\u0441 \u043a\u043e\u0434\u0442\u043e\u0439\u0433\u043e\u043e\u0440 \u0434\u0443\u0443\u0441\u0433\u0430\u043d\u0430.<\/p>\n<p>Cron job-\u044b\u043d \u0433\u0430\u0440\u0430\u043b\u0442\u044b\u043d \u043a\u043e\u0434\u044b\u0433 \u0448\u0430\u043b\u0433\u0430\u0434\u0430\u0433 \u0442\u0430\u043d\u044b \u0445\u044f\u043d\u0430\u043b\u0442\u044b\u043d \u0441\u0438\u0441\u0442\u0435\u043c \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u0430\u043c\u0436\u0438\u043b\u0442\u0442\u0430\u0439 \u0431\u043e\u043b\u0441\u043e\u043d \u0433\u044d\u0436 \u043c\u044d\u0434\u044d\u044d\u043b\u043d\u044d. \u0422\u0430\u043d\u0434 \u0434\u0438\u0441\u043a \u0434\u044d\u044d\u0440 \u0445\u04af\u0447\u0438\u043d\u0442\u044d\u0439 <code>.gz<\/code> \u0444\u0430\u0439\u043b \u0431\u0430\u0439\u0445 \u0431\u043e\u043b\u043e\u0432\u0447 \u0434\u043e\u0442\u043e\u0440 \u043d\u044c \u0442\u0430\u0441\u0430\u043b\u0434\u0430\u043b\u0442\u0430\u0439, \u0445\u044d\u0440\u044d\u0433\u0433\u04af\u0439 SQL \u0444\u0430\u0439\u043b \u0431\u0430\u0439\u0445 \u0431\u043e\u043b\u043d\u043e. \u0422\u0430 \u04af\u04af\u043d\u0438\u0439\u0433 \u0447\u0443\u0445\u0430\u043b \u0441\u044d\u0440\u0433\u044d\u044d\u043b\u0442 \u0445\u0438\u0439\u0445 \u0433\u044d\u0436 \u043e\u0440\u043e\u043b\u0434\u043e\u0445 \u0445\u04af\u0440\u0442\u043b\u044d\u044d \u043e\u043b\u0436 \u043c\u044d\u0434\u044d\u0445\u0433\u04af\u0439.<\/p>\n<h3>\u0417\u0430\u0441\u0430\u0445 \u0430\u0440\u0433\u0430 (\u0431\u0430 \u0442\u04af\u04af\u043d\u0438\u0439 \u0445\u044f\u0437\u0433\u0430\u0430\u0440\u043b\u0430\u043b\u0442)<\/h3>\n<p>\u0418\u043d\u0436\u0435\u043d\u0435\u0440\u04af\u04af\u0434 \u0438\u0445\u044d\u0432\u0447\u043b\u044d\u043d Bash-\u0434 \u0445\u0430\u0442\u0443\u0443 \u0430\u043b\u0434\u0430\u0430\u0433 \u0445\u044f\u043d\u0430\u0445 \u0430\u0440\u0433\u044b\u0433 \u0438\u0434\u044d\u0432\u0445\u0436\u04af\u04af\u043b\u0436 \u04af\u04af\u043d\u0438\u0439\u0433 \u0437\u0430\u0441\u0430\u0445\u044b\u0433 \u043e\u0440\u043e\u043b\u0434\u0434\u043e\u0433:<\/p>\n<pre><code class=\"language-bash\">set -e\nset -o pipefail\n<\/code><\/pre>\n<p><code>set -o pipefail<\/code> \u043d\u044c \u0434\u0430\u043c\u0436\u0443\u0443\u043b\u0430\u0445 \u0445\u043e\u043e\u043b\u043e\u0439\u043d <em>\u0430\u043b\u044c \u043d\u044d\u0433<\/em> \u043a\u043e\u043c\u0430\u043d\u0434 \u0430\u043c\u0436\u0438\u043b\u0442\u0433\u04af\u0439 \u0431\u043e\u043b\u0431\u043e\u043b \u0441\u043a\u0440\u0438\u043f\u0442\u0438\u0439\u0433 \u0437\u043e\u0433\u0441\u043e\u043e\u0445\u044b\u0433 \u0431\u0430\u0442\u0430\u043b\u0433\u0430\u0430\u0436\u0443\u0443\u043b\u0434\u0430\u0433 \u0447, \u044d\u043d\u044d \u043d\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u0438\u0439\u043d \u044d\u0440\u0433\u044d\u043d \u0442\u043e\u0439\u0440\u043e\u043d\u0434 \u0431\u0430\u0442 \u0431\u04e9\u0445 \u0434\u043e\u0445\u0438\u043e\u043b\u043e\u043b, \u0431\u04af\u0440\u0442\u0433\u044d\u043b (logging) \u0431\u043e\u043b\u043e\u043d \u0434\u0430\u0445\u0438\u043d \u043e\u0440\u043e\u043b\u0434\u043e\u0445 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b\u0433 \u0431\u0438\u0439 \u0431\u043e\u043b\u0433\u043e\u0445\u044b\u0433 \u0448\u0430\u0430\u0440\u0434\u0434\u0430\u0433. \u0421\u04af\u043b\u0436\u044d\u044d\u043d\u0438\u0439 \u0442\u04af\u0440 \u0437\u0443\u0443\u0440\u044b\u043d \u0430\u043b\u0434\u0430\u0430\u043d\u0430\u0430\u0441 \u0431\u043e\u043b\u0436 \u0448\u04e9\u043d\u0438\u0439\u043d 2 \u0446\u0430\u0433\u0442 \u0430\u043b\u0434\u0430\u0430 \u0433\u0430\u0440\u0430\u0445\u0430\u0434 DIY \u0441\u043a\u0440\u0438\u043f\u0442 \u0437\u04af\u0433\u044d\u044d\u0440 \u043b \u0437\u043e\u0433\u0441\u0434\u043e\u0433. \u0425\u0430\u0440\u0438\u043d \u0430\u0436 \u0430\u0445\u0443\u0439\u043d \u043d\u044d\u0433\u0436\u0438\u0439\u043d \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443\u0443\u0434 \u044d\u0434\u0433\u044d\u044d\u0440 \u0442\u04af\u0440 \u0437\u0443\u0443\u0440\u044b\u043d \u0430\u043b\u0434\u0430\u0430\u0433 \u0443\u0445\u0430\u0430\u043b\u0430\u0433, \u04e9\u0441\u04e9\u043d \u043d\u044d\u043c\u044d\u0433\u0434\u044d\u0445 \u0434\u0430\u0432\u0442\u0430\u043c\u0436\u0442\u0430\u0439\u0433\u0430\u0430\u0440 \u0434\u0430\u0445\u0438\u043d \u043e\u0440\u043e\u043b\u0434\u043e\u0445 \u0437\u0430\u043c\u0430\u0430\u0440 \u0448\u0438\u0439\u0434\u0432\u044d\u0440\u043b\u044d\u0434\u044d\u0433.<\/p>\n<h2>\u0410\u044e\u0443\u043b 2: \u04e8\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0431\u04af\u0440\u044d\u043d \u0431\u04af\u0442\u044d\u043d \u0431\u0430\u0439\u0434\u0430\u043b \u0431\u0430 \u0442\u04af\u0433\u0436\u0438\u0433\u0434\u044d\u0445 \u0445\u0430\u0440 \u0434\u0430\u0440\u0441\u0430\u043d \u0437\u04af\u04af\u0434<\/h2>\n<p>DIY \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434 \u043d\u044c \u043b\u043e\u0433\u0438\u043a \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u04e9\u0434 (<code>mysqldump<\/code>, <code>pg_dump<\/code>) \u0438\u0445\u044d\u044d\u0445\u044d\u043d \u043d\u0430\u0439\u0434\u0434\u0430\u0433. \u041b\u043e\u0433\u0438\u043a \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u043d\u044c \u0431\u04af\u0445 \u0445\u04af\u0441\u043d\u044d\u0433\u0442\u04af\u04af\u0434 \u0434\u044d\u044d\u0440 <code>SELECT<\/code> \u043c\u044d\u0434\u044d\u0433\u0434\u043b\u04af\u04af\u0434\u0438\u0439\u0433 \u0430\u0436\u0438\u043b\u043b\u0443\u0443\u043b\u0436 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u0433 \u0433\u0430\u0440\u0433\u0430\u0436 \u0430\u0432\u0434\u0430\u0433. \u0413\u04af\u0439\u043b\u0433\u044d\u044d \u0438\u0445\u0442\u044d\u0439 \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0434 \u04e9\u0433\u04e9\u0433\u0434\u04e9\u043b \u0431\u0430\u0439\u043d\u0433\u0430 \u04e9\u04e9\u0440\u0447\u043b\u04e9\u0433\u0434\u04e9\u0436 \u0431\u0430\u0439\u0434\u0430\u0433. \u0425\u044d\u0440\u044d\u0432 \u0441\u043a\u0440\u0438\u043f\u0442 100GB \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433 \u0434\u0430\u043c\u043f\u0438\u043d\u0433 \u0445\u0438\u0439\u0445\u044d\u0434 45 \u043c\u0438\u043d\u0443\u0442 \u0437\u0430\u0440\u0446\u0443\u0443\u043b\u0434\u0430\u0433 \u0431\u043e\u043b \u0434\u0430\u043c\u043f\u044b\u043d \u044d\u0445\u044d\u043d \u04af\u0435\u0438\u0439\u043d \u04e9\u0433\u04e9\u0433\u0434\u04e9\u043b \u043d\u044c \u0442\u04e9\u0433\u0441\u0433\u04e9\u043b\u0438\u0439\u043d \u04e9\u0433\u04e9\u0433\u0434\u043b\u04e9\u04e9\u0441 45 \u043c\u0438\u043d\u0443\u0442\u0430\u0430\u0440 \u0445\u0443\u0443\u0447\u0438\u0440\u0441\u0430\u043d \u0431\u0430\u0439\u0445 \u0431\u04e9\u0433\u04e9\u04e9\u0434 \u044d\u043d\u044d \u043d\u044c ACID \u043d\u0438\u0439\u0446\u043b\u0438\u0439\u0433 \u0437\u04e9\u0440\u0447\u0438\u043d\u04e9.<\/p>\n<h3>MySQL \u0413\u04af\u0439\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u0431\u04af\u0440\u044d\u043d \u0431\u04af\u0442\u044d\u043d \u0431\u0430\u0439\u0434\u0430\u043b<\/h3>\n<p>InnoDB \u0430\u0448\u0438\u0433\u043b\u0430\u043d MySQL-\u0434 \u0442\u043e\u0433\u0442\u0432\u043e\u0440\u0442\u043e\u0439 \u0430\u0433\u0448\u0438\u043d (snapshot) \u0430\u0432\u0430\u0445\u044b\u043d \u0442\u0443\u043b\u0434 \u0442\u0430 \u0442\u0443\u0441\u0433\u0430\u0439 \u0442\u0443\u0433\u0443\u0443\u0434\u044b\u0433 (flags) \u0430\u0448\u0438\u0433\u043b\u0430\u0445 \u0451\u0441\u0442\u043e\u0439:<\/p>\n<pre><code class=\"language-bash\">mysqldump --single-transaction --quick --routines --events -u user -p db &gt; dump.sql\n<\/code><\/pre>\n<p><code>--single-transaction<\/code> \u0442\u0443\u0433 \u043d\u044c \u0442\u0443\u0441\u0433\u0430\u0430\u0440\u043b\u0430\u043b\u0442\u044b\u043d \u0442\u04af\u0432\u0448\u0438\u043d\u0433 <code>REPEATABLE READ<\/code> \u0431\u043e\u043b\u0433\u043e\u0436, \u0434\u0430\u043c\u043f\u0438\u043d\u0433 \u0445\u0438\u0439\u0445\u044d\u044d\u0441 \u04e9\u043c\u043d\u04e9 \u0433\u04af\u0439\u043b\u0433\u044d\u044d\u0433 \u044d\u0445\u043b\u04af\u04af\u043b\u0434\u044d\u0433. \u0413\u044d\u0441\u044d\u043d \u0445\u044d\u0434\u0438\u0439 \u0447, \u0445\u044d\u0440\u044d\u0432 \u0442\u0430\u043d\u044b \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0434 \u0445\u0443\u0443\u0447\u0438\u043d MyISAM \u0445\u04af\u0441\u043d\u044d\u0433\u0442\u04af\u04af\u0434 \u0431\u0430\u0439\u0433\u0430\u0430 \u0431\u043e\u043b \u044d\u043d\u044d \u0442\u0443\u0433 \u043d\u044c \u0442\u044d\u0434\u043d\u0438\u0439\u0433 \u0442\u04af\u0433\u0436\u0438\u0433\u0434\u044d\u0445\u044d\u044d\u0441 \u0441\u044d\u0440\u0433\u0438\u0439\u043b\u0436 \u0447\u0430\u0434\u0430\u0445\u0433\u04af\u0439 \u0431\u04e9\u0433\u04e9\u04e9\u0434 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u0445\u0438\u0439\u0433\u0434\u044d\u0436 \u0431\u0430\u0439\u0445 \u04af\u0435\u0434 \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u0443\u043d\u0448\u0438\u0445\/\u0431\u0438\u0447\u0438\u0445 \u0443\u0440\u0441\u0433\u0430\u043b\u044b\u0433 \u0437\u043e\u0433\u0441\u043e\u043e\u0436 \u0431\u043e\u043b\u0437\u043e\u0448\u0433\u04af\u0439. \u0422\u04af\u04af\u043d\u0447\u043b\u044d\u043d, \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u04af\u0435\u044d\u0440 \u0445\u04e9\u0433\u0436\u04af\u04af\u043b\u044d\u0433\u0447\u0434\u0438\u0439\u043d \u0433\u04af\u0439\u0446\u044d\u0442\u0433\u044d\u0441\u044d\u043d \u0430\u043b\u0438\u0432\u0430\u0430 <code>ALTER TABLE<\/code>, <code>DROP TABLE<\/code>, \u044d\u0441\u0432\u044d\u043b <code>RENAME TABLE<\/code> \u043c\u044d\u0434\u044d\u0433\u0434\u043b\u04af\u04af\u0434 \u043d\u044c <code>REPEATABLE READ<\/code> \u0430\u0433\u0448\u0438\u043d\u0433 \u044d\u0432\u0434\u044d\u0436, \u0434\u0430\u043c\u043f\u0438\u043d\u0433 \u0430\u043c\u0436\u0438\u043b\u0442\u0433\u04af\u0439 \u0431\u043e\u043b\u043e\u0445\u043e\u0434 \u0445\u04af\u0440\u0433\u044d\u043d\u044d.<\/p>\n<h3>PostgreSQL \u0431\u0430 WAL \u0410\u0440\u0445\u0438\u0432\u043b\u0430\u043b\u0442<\/h3>\n<p>PostgreSQL-\u0438\u0439\u043d \u0445\u0443\u0432\u044c\u0434 <code>pg_dump<\/code> \u043d\u044c \u0442\u043e\u0433\u0442\u0432\u043e\u0440\u0442\u043e\u0439 \u043b\u043e\u0433\u0438\u043a \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u0445\u0430\u043d\u0433\u0430\u0434\u0430\u0433 \u0431\u043e\u043b\u043e\u0432\u0447 \u0437\u04e9\u0432\u0445\u04e9\u043d \u043b\u043e\u0433\u0438\u043a \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u043d\u044c \u0426\u0430\u0433 \u0445\u0443\u0433\u0430\u0446\u0430\u0430\u043d\u044b \u0446\u044d\u0433\u0438\u0439\u043d \u0441\u044d\u0440\u0433\u044d\u044d\u043b\u0442\u0438\u0439\u0433 (PITR) \u0445\u0430\u043d\u0433\u0430\u0436 \u0447\u0430\u0434\u0430\u0445\u0433\u04af\u0439. \u0425\u044d\u0440\u044d\u0432 \u0442\u0430\u043d\u044b \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d 16:00 \u0446\u0430\u0433\u0442 \u0443\u043d\u0430\u0436, \u0442\u0430\u043d\u044b \u0441\u04af\u04af\u043b\u0438\u0439\u043d cron \u0441\u043a\u0440\u0438\u043f\u0442 \u0448\u04e9\u043d\u04e9 \u0434\u0443\u043d\u0434 \u0430\u0436\u0438\u043b\u043b\u0430\u0441\u0430\u043d \u0431\u043e\u043b \u0442\u0430 16 \u0446\u0430\u0433\u0438\u0439\u043d \u04e9\u0433\u04e9\u0433\u0434\u043b\u04e9\u04e9 \u0430\u043b\u0434\u0430\u043d\u0430.<\/p>\n<p>PITR-\u0434 \u0445\u04af\u0440\u044d\u0445\u0438\u0439\u043d \u0442\u0443\u043b\u0434 Write-Ahead Logs (WAL)-\u0438\u0439\u0433 \u0442\u0430\u0441\u0440\u0430\u043b\u0442\u0433\u04af\u0439 \u0430\u0440\u0445\u0438\u0432\u043b\u0430\u0445 \u0448\u0430\u0430\u0440\u0434\u043b\u0430\u0433\u0430\u0442\u0430\u0439. <code>archive_command<\/code>-\u0438\u0439\u0433 \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0443\u0434\u0438\u0440\u0434\u0430\u0445 DIY \u0441\u043a\u0440\u0438\u043f\u0442 \u0431\u0438\u0447\u0438\u0445 \u043d\u044c \u043c\u0430\u0448 \u0445\u044d\u0446\u04af\u04af \u0431\u0430\u0439\u0434\u0430\u0433.<\/p>\n<pre><code class=\"language-ini\"># postgresql.conf\nwal_level = replica\narchive_mode = on\narchive_command = 'test ! -f \/mnt\/wal_archive\/%f &amp;&amp; cp %p \/mnt\/wal_archive\/%f'\n<\/code><\/pre>\n<p>\u0425\u044d\u0440\u044d\u0432 \u043e\u0447\u0438\u0445 \u0433\u0430\u0437\u0430\u0440 (<code>\/mnt\/wal_archive\/<\/code>) \u0434\u04af\u04af\u0440\u044d\u0445 \u044d\u0441\u0432\u044d\u043b \u0431\u043e\u043b\u043e\u043c\u0436\u0433\u04af\u0439 \u0431\u043e\u043b\u0431\u043e\u043b <code>archive_command<\/code> \u0430\u043c\u0436\u0438\u043b\u0442\u0433\u04af\u0439 \u0431\u043e\u043b\u043d\u043e. \u0414\u0430\u0440\u0430\u0430 \u043d\u044c PostgreSQL \u043d\u044c \u04af\u043d\u0434\u0441\u044d\u043d \u0434\u0438\u0441\u043a \u0434\u04af\u04af\u0440\u044d\u0445 \u0445\u04af\u0440\u0442\u044d\u043b WAL \u0444\u0430\u0439\u043b\u0443\u0443\u0434\u044b\u0433 \u0434\u043e\u0442\u043e\u043e\u0434\u0434\u043e\u043e \u0445\u0430\u0434\u0433\u0430\u043b\u0436, \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0431\u04af\u0440\u044d\u043d \u0442\u0430\u0441\u0430\u043b\u0434\u0430\u043b\u0434 \u0445\u04af\u0440\u0433\u044d\u043d\u044d. DIY \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434 \u043d\u044c WAL \u0445\u0443\u0440\u0438\u043c\u0442\u043b\u0430\u043b\u044b\u0433 \u0445\u044f\u043d\u0430\u0445, \u0442\u0430\u0441\u0430\u043b\u0434\u0430\u043b \u0433\u0430\u0440\u0430\u0445\u0430\u0430\u0441 \u04e9\u043c\u043d\u04e9 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0443\u0443\u0434\u0430\u0434 \u0434\u043e\u0445\u0438\u043e \u04e9\u0433\u04e9\u0445\u04e9\u0434 \u0448\u0430\u0430\u0440\u0434\u043b\u0430\u0433\u0430\u0442\u0430\u0439 \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u0439\u0433 \u0445\u043e\u0432\u043e\u0440\u0445\u043e\u043d \u0430\u0433\u0443\u0443\u043b\u0434\u0430\u0433.<\/p>\n<h2>\u0410\u044e\u0443\u043b 3: \u0425\u0430\u0434\u0433\u0430\u043b\u0430\u0445 \u0445\u0443\u0433\u0430\u0446\u0430\u0430\u043d\u044b \u0440\u0443\u043b\u0435\u0442<\/h2>\n<p>\u0411\u0438\u0434\u043d\u0438\u0439 \u0430\u043d\u0445\u043d\u044b \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u044d\u0445 \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445 \u0445\u0443\u0433\u0430\u0446\u0430\u0430\u043d\u044b \u043a\u043e\u043c\u0430\u043d\u0434\u044b\u0433 \u044d\u0440\u0433\u044d\u043d \u0445\u0430\u0440\u044a\u044f:<\/p>\n<pre><code class=\"language-bash\">find $BACKUP_DIR -type f -name \"*.sql.gz\" -mtime +30 -exec rm {} ;\n<\/code><\/pre>\n<p>\u042d\u043d\u044d \u0431\u043e\u043b \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0433\u0430\u043c\u0448\u0438\u0433\u0442 \u0430\u043b\u0434\u0430\u0433\u0434\u0430\u043b \u0431\u043e\u043b\u043e\u0445\u044b\u0433 \u0445\u04af\u043b\u044d\u044d\u0436 \u0431\u0443\u0439 \u04af\u0439\u043b \u044f\u0432\u0434\u0430\u043b \u044e\u043c. \u0422\u043e\u0445\u0438\u0440\u0433\u043e\u043e\u043d\u044b \u04e9\u04e9\u0440\u0447\u043b\u04e9\u043b\u0442\u04e9\u04e9\u0441 \u0431\u043e\u043b\u0436 <code>mysqldump<\/code> \u0431\u0430\u0442\u0430\u043b\u0433\u0430\u0430\u0436\u0443\u0443\u043b\u0430\u043b\u0442 \u044d\u0432\u0434\u044d\u0440\u0441\u044d\u043d \u0433\u044d\u0436 \u0442\u04e9\u0441\u04e9\u04e9\u043b\u04e9\u04e9\u0434 \u04af\u0437 \u0434\u044d\u044d. \u0421\u043a\u0440\u0438\u043f\u0442 \u0448\u0438\u043d\u044d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u04af\u04af\u0441\u0433\u044d\u0436 \u0447\u0430\u0434\u0430\u0445\u0433\u04af\u0439 \u0431\u0430\u0439\u0433\u0430\u0430 \u0447 <code>find<\/code> \u043a\u043e\u043c\u0430\u043d\u0434 \u0448\u04e9\u043d\u04e9 \u0431\u04af\u0440 \u0430\u0436\u0438\u043b\u043b\u0430\u0436, 30 \u0445\u043e\u043d\u043e\u0433\u043e\u043e\u0441 \u0434\u044d\u044d\u0448 \u0445\u0443\u0433\u0430\u0446\u0430\u0430\u043d\u044b \u0444\u0430\u0439\u043b\u0443\u0443\u0434\u044b\u0433 \u0443\u0441\u0442\u0433\u0430\u0441\u0430\u0430\u0440 \u0431\u0430\u0439\u043d\u0430.<\/p>\n<p>\u041d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 30 \u0445\u043e\u043d\u043e\u0433\u0438\u0439\u043d \u0442\u0443\u0440\u0448 \u0447\u0438\u043c\u044d\u044d\u0433\u04af\u0439\u0445\u044d\u043d \u0430\u043c\u0436\u0438\u043b\u0442\u0433\u04af\u0439 \u0431\u043e\u043b\u0441\u043d\u044b \u0434\u0430\u0440\u0430\u0430 <code>find<\/code> \u043a\u043e\u043c\u0430\u043d\u0434 \u0442\u0430\u043d\u044b \u0445\u0430\u043c\u0433\u0438\u0439\u043d \u0441\u04af\u04af\u043b\u0438\u0439\u043d \u0441\u0430\u0439\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u0443\u0441\u0442\u0433\u0430\u0445 \u0431\u043e\u043b\u043d\u043e. \u0418\u043d\u0433\u044d\u0441\u043d\u044d\u044d\u0440 \u0442\u0430\u043d\u0434 \u044f\u043c\u0430\u0440 \u0447 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u04af\u043b\u0434\u044d\u0445\u0433\u04af\u0439.<\/p>\n<p>CloudSave \u0433\u044d\u0445 \u043c\u044d\u0442 \u0430\u0436 \u0430\u0445\u0443\u0439\u043d \u043d\u044d\u0433\u0436\u0438\u0439\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0445\u0430\u043d\u0433\u0430\u043c\u0436 \u043d\u044c \u0442\u04e9\u043b\u04e9\u0432\u0442 \u0441\u0443\u0443\u0440\u0438\u043b\u0441\u0430\u043d \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445 \u0431\u043e\u0434\u043b\u043e\u0433\u044b\u0433 \u0430\u0448\u0438\u0433\u043b\u0430\u0434\u0430\u0433. \u042d\u043d\u044d \u043d\u044c &#8220;30 \u0445\u043e\u043d\u043e\u0433\u043e\u043e\u0441 \u0434\u044d\u044d\u0448 \u0445\u0443\u0433\u0430\u0446\u0430\u0430\u043d\u044b \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u0443\u0441\u0442\u0433\u0430\u0445&#8221; \u0431\u043e\u043b\u043e\u043d &#8220;\u0445\u0443\u0443\u0447\u0438\u043d \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u0433 \u0446\u044d\u0432\u044d\u0440\u043b\u044d\u0445\u044d\u044d\u0441 \u04e9\u043c\u043d\u04e9 \u0434\u043e\u0440 \u0445\u0430\u044f\u0436 30 \u0430\u043c\u0436\u0438\u043b\u0442\u0442\u0430\u0439 \u0441\u044d\u0440\u0433\u044d\u044d\u0445 \u0446\u044d\u0433 \u0431\u0430\u0439\u0433\u0430\u0430 \u044d\u0441\u044d\u0445\u0438\u0439\u0433 \u0431\u0430\u0442\u0430\u043b\u0433\u0430\u0430\u0436\u0443\u0443\u043b\u0430\u0445&#8221; \u0445\u043e\u0451\u0440\u044b\u043d \u044f\u043b\u0433\u0430\u0430\u0433 \u043e\u0439\u043b\u0433\u043e\u0434\u043e\u0433.<\/p>\n<h2>\u0410\u044e\u0443\u043b 4: \u0410\u044e\u0443\u043b\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u0430\u043b, \u0448\u0438\u0444\u0440\u043b\u044d\u043b\u0442 \u0431\u0430 \u0434\u0430\u0433\u0430\u0436 \u043c\u04e9\u0440\u0434\u04e9\u0445 \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0441\u043e\u0445\u043e\u0440 \u0442\u043e\u043b\u0431\u043e<\/h2>\n<p>\u0420\u0430\u043d\u0441\u043e\u043c\u0432\u044d\u0440 (ransomware) \u0431\u043e\u043b\u043e\u043d \u0445\u0430\u0442\u0443\u0443 \u0434\u0430\u0433\u0430\u0436 \u043c\u04e9\u0440\u0434\u04e9\u0445 \u0445\u04af\u0440\u044d\u044d\u043d\u0438\u0439 (GDPR, HIPAA, SOC 2) \u044d\u0440\u0438\u043d \u04af\u0435\u0434 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u04af\u04af\u0434 \u043d\u044c \u0433\u043e\u043b \u0431\u0430\u0439 \u0431\u043e\u043b\u0434\u043e\u0433. DIY \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434 \u043d\u044c \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0448\u0438\u043b\u0434\u044d\u0433 \u0442\u0443\u0440\u0448\u043b\u0430\u0433\u0443\u0443\u0434\u044b\u0433 \u0431\u0430\u0439\u043d\u0433\u0430 \u0437\u04e9\u0440\u0447\u0434\u04e9\u0433:<\/p>\n<ol>\n<li><strong>\u0425\u0430\u0440\u0434\u043a\u043e\u0434 \u0445\u0438\u0439\u0441\u044d\u043d \u0438\u0442\u0433\u044d\u043c\u0436\u043b\u044d\u043b\u04af\u04af\u0434:<\/strong> \u04e8\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u043d\u0443\u0443\u0446 \u04af\u0433\u0441\u0438\u0439\u0433 \u044d\u043d\u0433\u0438\u0439\u043d \u0442\u0435\u043a\u0441\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u044d\u0441\u0432\u044d\u043b cron \u0442\u043e\u0434\u043e\u0440\u0445\u043e\u0439\u043b\u043e\u043b\u0442\u043e\u0434 \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445 \u043d\u044c \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0430\u0441\u0430\u0440 \u0442\u043e\u043c \u044d\u0440\u0441\u0434\u044d\u043b \u044e\u043c. MySQL-\u0438\u0439\u043d <code>mysql_config_editor<\/code> \u044d\u0441\u0432\u044d\u043b PostgreSQL-\u0438\u0439\u043d <code>.pgpass<\/code> \u0444\u0430\u0439\u043b \u0437\u044d\u0440\u044d\u0433 \u0445\u044d\u0440\u044d\u0433\u0441\u043b\u04af\u04af\u0434 \u04af\u04af\u043d\u0438\u0439\u0433 \u0431\u0430\u0433\u0430\u0441\u0433\u0430\u0434\u0430\u0433 \u0447, \u0442\u044d\u0434\u0433\u044d\u044d\u0440 \u043d\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u044d\u044d\u0440\u0445 \u0434\u043e\u0442\u043e\u043e\u0434 \u0442\u04af\u043b\u0445\u04af\u04af\u0440\u0438\u0439\u043d \u0444\u0430\u0439\u043b\u0443\u0443\u0434\u044b\u0433 \u0443\u0434\u0438\u0440\u0434\u0430\u0445\u044b\u0433 \u0448\u0430\u0430\u0440\u0434\u0434\u0430\u0433.<\/li>\n<li><strong>\u0425\u0430\u0434\u0433\u0430\u043b\u0430\u043b\u0442\u044b\u043d \u04af\u0435\u0438\u0439\u043d \u0448\u0438\u0444\u0440\u043b\u044d\u043b\u0442 \u0431\u0430\u0439\u0445\u0433\u04af\u0439:<\/strong> \u0422\u04af\u04af\u0445\u0438\u0439 SQL-\u0438\u0439\u0433 \u0434\u0438\u0441\u043a \u0440\u04af\u04af \u0431\u0443\u0443\u043b\u0433\u0430\u0445 \u043d\u044c \u044d\u043c\u0437\u044d\u0433 PII\/PHI-\u0433 \u0438\u043b \u0431\u043e\u043b\u0433\u043e\u0434\u043e\u0433.<\/li>\n<li><strong>\u041d\u0430\u0440\u0438\u0439\u043d \u0442\u04e9\u0432\u04e9\u0433\u0442\u044d\u0439 \u0448\u0438\u0444\u0440\u043b\u044d\u043b\u0442\u0438\u0439\u043d \u0434\u0430\u043c\u0436\u0443\u0443\u043b\u0430\u0445 \u0445\u043e\u043e\u043b\u043e\u0439\u043d\u0443\u0443\u0434:<\/strong> GPG \u0430\u0448\u0438\u0433\u043b\u0430\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u0448\u0443\u0443\u0434 \u0448\u0438\u0444\u0440\u043b\u044d\u0445 \u043e\u0440\u043e\u043b\u0434\u043b\u043e\u0433\u043e \u043d\u044c CPU-\u0438\u0439\u043d \u0430\u0447\u0430\u0430\u043b\u043b\u044b\u0433 \u043d\u044d\u043c\u044d\u0433\u0434\u04af\u04af\u043b\u0436, \u0442\u04af\u043b\u0445\u04af\u04af\u0440\u0438\u0439\u043d \u0443\u0434\u0438\u0440\u0434\u043b\u0430\u0433\u044b\u043d \u043d\u0430\u0440\u0438\u0439\u043d \u0442\u04e9\u0432\u04e9\u0433\u0442\u044d\u0439 \u0431\u0430\u0439\u0434\u043b\u044b\u0433 \u04af\u04af\u0441\u0433\u044d\u0434\u044d\u0433.<\/li>\n<\/ol>\n<pre><code class=\"language-bash\"># DIY \u0448\u0438\u0444\u0440\u043b\u044d\u0433\u0434\u0441\u044d\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0434\u0430\u043c\u0436\u0443\u0443\u043b\u0430\u0445 \u0445\u043e\u043e\u043b\u043e\u0439\npg_dump mydb | gzip | gpg --symmetric --cipher-algo AES256 --passphrase-file \/etc\/keys\/backup.key &gt; backup.sql.gz.gpg\n<\/code><\/pre>\n<p>\u0425\u044d\u0440\u044d\u0432 \u0441\u0435\u0440\u0432\u0435\u0440 \u044d\u0432\u0434\u044d\u0440\u0432\u044d\u043b \u0445\u0430\u043b\u0434\u0430\u0433\u0447 \u043d\u044c \u0448\u0438\u0444\u0440\u043b\u044d\u0433\u0434\u0441\u044d\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u0431\u043e\u043b\u043e\u043d <code>\/etc\/keys\/backup.key<\/code> \u0444\u0430\u0439\u043b \u0445\u043e\u0451\u0443\u043b\u0430\u043d\u0434 \u043d\u044c \u0445\u0430\u043d\u0434\u0430\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0442\u043e\u0439 \u0431\u043e\u043b\u0436, \u0448\u0438\u0444\u0440\u043b\u044d\u043b\u0442\u0438\u0439\u0433 \u0445\u044d\u0440\u044d\u0433\u0433\u04af\u0439 \u0431\u043e\u043b\u0433\u043e\u043d\u043e. \u0422\u04af\u04af\u043d\u0447\u043b\u044d\u043d, \u0445\u044d\u0440\u044d\u0432 GPG \u0442\u04af\u043b\u0445\u04af\u04af\u0440\u0438\u0439\u0433 \u04af\u04af\u0441\u0433\u044d\u0441\u044d\u043d DBA \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0430\u0441 \u0433\u0430\u0440\u0447, \u0442\u04af\u043b\u0445\u04af\u04af\u0440 \u0430\u043b\u0434\u0430\u0433\u0434\u0432\u0430\u043b \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u0441\u044d\u0440\u0433\u044d\u044d\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0433\u04af\u0439 \u0431\u043e\u043b\u043d\u043e.<\/p>\n<h2>\u0410\u044e\u0443\u043b 5: RTO-\u0438\u0439\u043d \u0431\u043e\u0434\u0438\u0442 \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0448\u0430\u043b\u0433\u0430\u043b\u0442 (\u0421\u044d\u0440\u0433\u044d\u044d\u0445 \u043d\u044c \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445\u04e9\u04e9\u0441 \u0438\u043b\u04af\u04af \u0445\u044d\u0446\u04af\u04af)<\/h2>\n<p>\u041d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u044d\u0446\u0441\u0438\u0439\u043d \u0448\u0430\u043b\u0433\u0430\u043b\u0442 \u0431\u043e\u043b \u0441\u044d\u0440\u0433\u044d\u044d\u043b\u0442 \u044e\u043c. DIY \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u044d\u044d\u0440 \u04af\u04af\u0441\u0433\u044d\u0433\u0434\u0441\u044d\u043d \u043b\u043e\u0433\u0438\u043a \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u04af\u04af\u0434 \u043d\u044c \u0441\u044d\u0440\u0433\u044d\u044d\u0445\u044d\u0434 \u043c\u0430\u0448 \u0443\u0434\u0430\u0430\u043d \u0431\u0430\u0439\u0434\u0430\u0433. 500GB SQL \u0434\u0430\u043c\u043f\u044b\u0433 \u04af\u04af\u0441\u0433\u044d\u0445\u044d\u0434 15 \u043c\u0438\u043d\u0443\u0442 \u0437\u0430\u0440\u0446\u0443\u0443\u043b\u0430\u0433\u0434\u0430\u0436 \u0431\u043e\u043b\u043e\u0445 \u0447, \u04af\u04af\u043d\u0438\u0439\u0433 \u0441\u044d\u0440\u0433\u044d\u044d\u0445\u044d\u0434 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0445\u04e9\u0434\u04e9\u043b\u0433\u04af\u04af\u0440 SQL-\u0438\u0439\u0433 \u0437\u0430\u0434\u043b\u0430\u043d \u0448\u0438\u043d\u0436\u0438\u043b\u0436, \u0438\u043d\u0434\u0435\u043a\u0441\u04af\u04af\u0434\u0438\u0439\u0433 \u0434\u0430\u0445\u0438\u043d \u0431\u04af\u0442\u044d\u044d\u0436, \u0445\u044f\u0437\u0433\u0430\u0430\u0440\u043b\u0430\u043b\u0442\u0443\u0443\u0434\u044b\u0433 \u0434\u0430\u0445\u0438\u043d \u0442\u043e\u043e\u0446\u043e\u043e\u043b\u043e\u0445 \u0448\u0430\u0430\u0440\u0434\u043b\u0430\u0433\u0430\u0442\u0430\u0439 \u0431\u043e\u043b\u0434\u043e\u0433. \u042d\u043d\u044d \u043d\u044c \u0445\u044d\u0434\u044d\u043d \u0446\u0430\u0433, \u0431\u04af\u0440 \u0445\u044d\u0434\u044d\u043d \u04e9\u0434\u04e9\u0440 \u04af\u0440\u0433\u044d\u043b\u0436\u0438\u043b\u0436, \u0442\u0430\u043d\u044b RTO-\u0433 \u04af\u0433\u04af\u0439 \u0445\u0438\u0439\u0436 \u0431\u043e\u043b\u0437\u043e\u0448\u0433\u04af\u0439.<\/p>\n<p>\u0422\u043e\u043c\u043e\u043e\u0445\u043e\u043d \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0443\u0443\u0434\u044b\u043d \u0445\u0443\u0432\u044c\u0434 \u0444\u0438\u0437\u0438\u043a \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 (\u0431\u043e\u0434\u0438\u0442 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0444\u0430\u0439\u043b\u0443\u0443\u0434\u044b\u0433 \u0445\u0443\u0443\u043b\u0430\u0445) \u0437\u0430\u0430\u0432\u0430\u043b \u0448\u0430\u0430\u0440\u0434\u043b\u0430\u0433\u0430\u0442\u0430\u0439. Percona XtraBackup \u044d\u0441\u0432\u044d\u043b <code>pg_basebackup<\/code> \u0433\u044d\u0445 \u043c\u044d\u0442 \u0445\u044d\u0440\u044d\u0433\u0441\u043b\u04af\u04af\u0434 \u0431\u0430\u0439\u0434\u0430\u0433 \u0447, \u0442\u044d\u0434\u0433\u044d\u044d\u0440\u0438\u0439\u0433 DIY Bash \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u044d\u0434 \u043e\u0440\u0443\u0443\u043b\u0430\u0445 \u043d\u044c \u043c\u0430\u0448 \u043d\u0430\u0440\u0438\u0439\u043d \u0442\u04e9\u0432\u04e9\u0433\u0442\u044d\u0439 \u044e\u043c. \u0422\u0430 LVM \u0430\u0433\u0448\u0438\u043d\u0433 \u0443\u0434\u0438\u0440\u0434\u0430\u0445, \u0444\u0430\u0439\u043b\u044b\u043d \u0441\u0438\u0441\u0442\u0435\u043c\u0438\u0439\u043d \u0442\u043e\u0433\u0442\u0432\u043e\u0440\u0442\u043e\u0439 \u0431\u0430\u0439\u0434\u043b\u044b\u0433 \u0445\u0430\u043d\u0433\u0430\u0445, \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u0441\u04af\u043b\u0436\u044d\u044d\u043d\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0438\u0439\u0433 \u0434\u04af\u04af\u0440\u0433\u044d\u043b\u0433\u04af\u0439\u0433\u044d\u044d\u0440 \u0433\u0430\u0434\u0430\u0433\u0448 \u0448\u0438\u043b\u0436\u04af\u04af\u043b\u044d\u0445\u0438\u0439\u0433 \u0431\u0430\u0442\u0430\u043b\u0433\u0430\u0430\u0436\u0443\u0443\u043b\u0430\u0445 \u0451\u0441\u0442\u043e\u0439.<\/p>\n<h3>LVM \u0430\u0433\u0448\u0438\u043d\u0433\u0438\u0439\u043d \u0443\u0440\u0445\u0438<\/h3>\n<p>\u041e\u043b\u043e\u043d \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u04af\u04af\u0434 LVM \u0430\u0433\u0448\u0438\u043d \u0430\u0448\u0438\u0433\u043b\u0430\u043d &#8220;\u0437\u043e\u0433\u0441\u043e\u043b\u0442\u0433\u04af\u0439&#8221; (zero downtime) \u0444\u0438\u0437\u0438\u043a \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u0445\u0438\u0439\u0445\u0438\u0439\u0433 \u043e\u0440\u043e\u043b\u0434\u0434\u043e\u0433:<\/p>\n<pre><code class=\"language-bash\"># \u0410\u0433\u0448\u0438\u043d \u04af\u04af\u0441\u0433\u044d\u0445\nlvcreate --size 20G --snapshot --name db_snap \/dev\/vg0\/db_vol\n\n# \u0425\u043e\u043b\u0431\u043e\u0445 (mount) \u0431\u043e\u043b\u043e\u043d \u0445\u0443\u0443\u043b\u0430\u0445\nmount \/dev\/vg0\/db_snap \/mnt\/snap\ntar -czf \/backups\/db_physical.tar.gz \/mnt\/snap\/mysql\n<\/code><\/pre>\n<p>\u0425\u044d\u0440\u044d\u0432 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0434 \u0431\u0438\u0447\u0438\u0445 I\/O \u0433\u044d\u043d\u044d\u0442 \u0438\u0445\u0441\u044d\u0445 \u044e\u043c \u0431\u043e\u043b 20G LVM \u0430\u0433\u0448\u0438\u043d \u0442\u044d\u0440 \u0434\u0430\u0440\u0443\u0439 \u0434\u04af\u04af\u0440\u0447 \u0431\u043e\u043b\u043d\u043e. LVM \u0430\u0433\u0448\u0438\u043d \u0434\u04af\u04af\u0440\u044d\u0445\u044d\u0434 \u0445\u04af\u0447\u0438\u043d\u0433\u04af\u0439 \u0431\u043e\u043b\u0436, \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u0430\u043c\u0436\u0438\u043b\u0442\u0433\u04af\u0439 \u0431\u043e\u043b\u043d\u043e. \u04ae\u04af\u043d\u044d\u044d\u0441 \u0447 \u0434\u043e\u0440 \u043d\u044c, \u0438\u0445 \u0430\u0447\u0430\u0430\u043b\u0430\u043b\u0442\u0430\u0439 LVM \u0430\u0433\u0448\u0438\u043d \u043d\u044c \u04af\u043d\u0434\u0441\u044d\u043d \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u044d\u0437\u043b\u044d\u0445\u04af\u04af\u043d\u0438\u0439 I\/O \u0433\u04af\u0439\u0446\u044d\u0442\u0433\u044d\u043b\u0438\u0439\u0433 \u044d\u0440\u0441 \u0431\u0443\u0443\u0440\u0443\u0443\u043b\u0436, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u044b\u043d \u0445\u043e\u0446\u0440\u043e\u043b\u0442\u044b\u0433 \u04af\u04af\u0441\u0433\u044d\u0436 \u0431\u043e\u043b\u0437\u043e\u0448\u0433\u04af\u0439.<\/p>\n<h2>\u0410\u0436 \u0430\u0445\u0443\u0439\u043d \u043d\u044d\u0433\u0436\u0438\u0439\u043d \u0442\u04af\u0432\u0448\u043d\u0438\u0439 \u0445\u0430\u043c\u0433\u0430\u0430\u043b\u0430\u043b\u0442 \u0440\u0443\u0443 \u0448\u0438\u043b\u0436\u0438\u0445 \u043d\u044c<\/h2>\n<p>DIY \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u044d\u044d\u0441 \u0430\u0436 \u0430\u0445\u0443\u0439\u043d \u043d\u044d\u0433\u0436\u0438\u0439\u043d \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c \u0440\u0443\u0443 \u0448\u0438\u043b\u0436\u0438\u0445 \u043d\u044c \u0430\u043b\u0438\u0432\u0430\u0430 \u0434\u044d\u0434 \u0431\u04af\u0442\u0446\u0438\u0439\u043d \u0431\u0430\u0433\u0438\u0439\u043d \u0445\u0443\u0432\u044c\u0434 \u0442\u04e9\u043b\u04e9\u0432\u0448\u043b\u0438\u0439\u043d \u0447\u0443\u0445\u0430\u043b \u04af\u0435 \u0448\u0430\u0442 \u044e\u043c. \u0417\u043e\u0440\u0438\u043b\u0433\u043e \u043d\u044c &#8220;\u0441\u043a\u0440\u0438\u043f\u0442 \u0430\u0436\u0438\u043b\u043b\u0430\u0430\u0441\u0430\u0439 \u0433\u044d\u0436 \u043d\u0430\u0439\u0434\u0430\u0445&#8221;-\u0430\u0430\u0441 \u0441\u044d\u0440\u0433\u044d\u044d\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0442\u043e\u0439 \u0433\u044d\u0434\u0433\u0438\u0439\u0433 \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439\u043d \u0445\u0443\u0432\u044c\u0434 \u0431\u0430\u0442\u043b\u0430\u0445 \u0440\u0443\u0443 \u0448\u0438\u043b\u0436\u0438\u0445 \u044f\u0432\u0434\u0430\u043b \u044e\u043c.<\/p>\n<p>CloudSave \u0433\u044d\u0445 \u043c\u044d\u0442 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443\u0443\u0434 \u043d\u044c DIY \u0441\u043a\u0440\u0438\u043f\u0442\u0438\u0439\u043d \u0441\u043e\u0445\u043e\u0440 \u0442\u043e\u043b\u0431\u043e\u043d\u0443\u0443\u0434\u044b\u0433 \u0430\u0440\u0438\u043b\u0433\u0430\u0445 \u0437\u043e\u0440\u0438\u043b\u0433\u043e\u043e\u0440 \u0442\u0443\u0441\u0433\u0430\u0439\u043b\u0430\u043d \u0431\u04af\u0442\u044d\u044d\u0433\u0434\u0441\u044d\u043d. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u0434 \u043c\u044d\u0434\u0440\u044d\u043c\u0442\u0433\u0438\u0439 \u0430\u0433\u0435\u043d\u0442\u0443\u0443\u0434\u044b\u0433 \u0431\u0430\u0439\u0440\u0448\u0443\u0443\u043b\u0441\u043d\u0430\u0430\u0440 CloudSave \u043d\u044c \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d API-\u0443\u0443\u0434\u0442\u0430\u0439 (MySQL, PostgreSQL, MS SQL, Oracle) \u0448\u0443\u0443\u0434 \u0445\u0430\u0440\u0438\u043b\u0446\u0430\u0436, \u0445\u04af\u0441\u043d\u044d\u0433\u0442\u04af\u04af\u0434\u0438\u0439\u0433 \u0442\u04af\u0433\u0436\u0438\u0445\u0433\u04af\u0439\u0433\u044d\u044d\u0440 \u044d\u0441\u0432\u044d\u043b \u0433\u04af\u0439\u0446\u044d\u0442\u0433\u044d\u043b\u0438\u0439\u0433 \u0431\u0443\u0443\u0440\u0443\u0443\u043b\u0430\u0445\u0433\u04af\u0439\u0433\u044d\u044d\u0440 \u0442\u043e\u0433\u0442\u0432\u043e\u0440\u0442\u043e\u0439 \u0444\u0438\u0437\u0438\u043a \u0431\u043e\u043b\u043e\u043d \u043b\u043e\u0433\u0438\u043a \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u0437\u043e\u0445\u0438\u043e\u043d \u0431\u0430\u0439\u0433\u0443\u0443\u043b\u0434\u0430\u0433.<\/p>\n<h3>\u0421\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u044d\u044d\u0441 \u0442\u0430\u0442\u0433\u0430\u043b\u0437\u0430\u0445\u044b\u043d \u0433\u043e\u043b \u0434\u0430\u0432\u0443\u0443 \u0442\u0430\u043b\u0443\u0443\u0434:<\/h3>\n<ol>\n<li><strong>\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0436\u0443\u0443\u043b\u0441\u0430\u043d \u0431\u0430\u0442\u0430\u043b\u0433\u0430\u0430\u0436\u0443\u0443\u043b\u0430\u043b\u0442:<\/strong> \u041e\u0440\u0447\u0438\u043d \u04af\u0435\u0438\u0439\u043d \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443\u0443\u0434 \u0437\u04e9\u0432\u0445\u04e9\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u0445\u0438\u0439\u0434\u044d\u0433\u0433\u04af\u0439; \u0442\u044d\u0434\u0433\u044d\u044d\u0440\u0438\u0439\u0433 \u0448\u0430\u043b\u0433\u0430\u0434\u0430\u0433. CloudSave \u043d\u044c \u0442\u04af\u0440 \u0437\u0443\u0443\u0440\u044b\u043d \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u0436\u0438\u0448\u044d\u044d\u0433 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0430\u0430\u0440 \u044d\u0445\u043b\u04af\u04af\u043b\u0436, \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u0441\u044d\u0440\u0433\u044d\u044d\u0436, \u0431\u04af\u0440\u044d\u043d \u0431\u04af\u0442\u044d\u043d \u0431\u0430\u0439\u0434\u043b\u044b\u043d \u0448\u0430\u043b\u0433\u0430\u043b\u0442\u0443\u0443\u0434\u044b\u0433 (\u0436\u0438\u0448\u044d\u044d \u043d\u044c, <code>DBCC CHECKDB<\/code>) \u0430\u0436\u0438\u043b\u043b\u0443\u0443\u043b\u0436, \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u043d\u044c \u04af\u043d\u044d\u0445\u044d\u044d\u0440 \u0430\u0448\u0438\u0433\u043b\u0430\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0442\u043e\u0439 \u0433\u044d\u0441\u044d\u043d \u0431\u0430\u0442\u0430\u043b\u0433\u0430\u0430\u0436\u0443\u0443\u043b\u0441\u0430\u043d \u0442\u0430\u0439\u043b\u0430\u043d\u0433 \u0433\u0430\u0440\u0433\u0430\u0436 \u04e9\u0433\u0434\u04e9\u0433.<\/li>\n<li><strong>\u04e8\u04e9\u0440\u0447\u043b\u04e9\u0433\u0434\u04e9\u0448\u0433\u04af\u0439 (Immutable) \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u043b\u0442:<\/strong> \u0420\u0430\u043d\u0441\u043e\u043c\u0432\u044d\u0440\u0442\u044d\u0439 \u0442\u044d\u043c\u0446\u044d\u0445\u0438\u0439\u043d \u0442\u0443\u043b\u0434 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u04af\u04af\u0434 \u04e9\u04e9\u0440\u0447\u043b\u04e9\u0433\u0434\u04e9\u0448\u0433\u04af\u0439 \u0431\u0430\u0439\u0445 \u0451\u0441\u0442\u043e\u0439. DIY \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434 \u043d\u044c WORM (Write Once, Read Many) \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u043b\u0442 \u0440\u0443\u0443 \u0445\u044f\u043b\u0431\u0430\u0440\u0445\u0430\u043d \u0431\u0438\u0447\u0438\u0436 \u0447\u0430\u0434\u0430\u0445\u0433\u04af\u0439. \u0410\u0436 \u0430\u0445\u0443\u0439\u043d \u043d\u044d\u0433\u0436\u0438\u0439\u043d \u0448\u0438\u0439\u0434\u043b\u04af\u04af\u0434 \u043d\u044c S3 Object Lock \u0431\u043e\u043b\u043e\u043d \u04e9\u04e9\u0440\u0447\u043b\u04e9\u0433\u0434\u04e9\u0448\u0433\u04af\u0439 \u04af\u04af\u043b\u044d\u043d \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u043b\u0442\u0442\u0430\u0439 \u0448\u0443\u0443\u0434 \u043d\u044d\u0433\u0434\u0434\u044d\u0433 \u0431\u04e9\u0433\u04e9\u04e9\u0434 \u044d\u043d\u044d \u043d\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u04af\u0440\u044d\u043d \u044d\u0432\u0434\u044d\u0440\u0441\u044d\u043d \u0447 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u0445\u0430\u043b\u0434\u0430\u0433\u0447 \u0443\u0441\u0442\u0433\u0430\u0445 \u044d\u0441\u0432\u044d\u043b \u0448\u0438\u0444\u0440\u043b\u044d\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0433\u04af\u0439 \u0433\u044d\u0434\u0433\u0438\u0439\u0433 \u0431\u0430\u0442\u0430\u043b\u0433\u0430\u0430\u0436\u0443\u0443\u043b\u0434\u0430\u0433.<\/li>\n<li><strong>\u0425\u044f\u043b\u0431\u0430\u0440\u0448\u0443\u0443\u043b\u0441\u0430\u043d PITR:<\/strong> \u041d\u0430\u0440\u0438\u0439\u043d \u0442\u04e9\u0432\u04e9\u0433\u0442\u044d\u0439 <code>recovery.conf<\/code> \u044d\u0441\u0432\u044d\u043b <code>postgresql.auto.conf<\/code> \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u04af\u04af\u0434\u0438\u0439\u0433 \u0430\u0448\u0438\u0433\u043b\u0430\u043d \u04af\u043d\u0434\u0441\u044d\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442 \u0431\u043e\u043b\u043e\u043d \u043e\u043b\u043e\u043d \u0437\u0443\u0443\u043d WAL \u0444\u0430\u0439\u043b\u0443\u0443\u0434\u044b\u0433 \u0433\u0430\u0440\u0430\u0430\u0440 \u043d\u044d\u0433\u0442\u0433\u044d\u0445\u0438\u0439\u043d \u043e\u0440\u043e\u043d\u0434 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443\u0443\u0434 \u043d\u044c \u0445\u0430\u0440\u0430\u0430\u043d\u044b \u0446\u0430\u0433\u0438\u0439\u043d \u0445\u0443\u0432\u0430\u0430\u0440\u0438\u0439\u0433 \u04e9\u0433\u0434\u04e9\u0433. \u0422\u0430 \u0437\u04af\u0433\u044d\u044d\u0440 \u043b \u0441\u044d\u0440\u0433\u044d\u044d\u0445\u0438\u0439\u0433 \u0445\u04af\u0441\u0447 \u0431\u0443\u0439 \u044f\u0433 \u0442\u043e\u0434\u043e\u0440\u0445\u043e\u0439 \u043c\u0438\u043d\u0443\u0442\u0430\u0430 \u0441\u043e\u043d\u0433\u043e\u0445\u043e\u0434 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0445\u0430\u043d\u0433\u0430\u043c\u0436 \u043d\u044c \u0431\u04af\u0440\u0442\u0433\u044d\u043b\u0438\u0439\u043d \u0434\u0430\u0445\u0438\u043d \u0442\u043e\u0433\u043b\u0443\u0443\u043b\u0430\u043b\u0442\u044b\u0433 (log replay) \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0430\u0430\u0440 \u0437\u043e\u0445\u0438\u0446\u0443\u0443\u043b\u0434\u0430\u0433.<\/li>\n<li><strong>\u0414\u0430\u0432\u0445\u0430\u0440\u0434\u0430\u043b\u0433\u04af\u0439 \u0431\u043e\u043b\u0433\u043e\u0445 (Deduplication) \u0431\u043e\u043b\u043e\u043d \u0448\u0430\u0445\u0430\u043b\u0442:<\/strong> DIY \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434 \u043d\u044c \u0444\u0430\u0439\u043b \u0431\u04af\u0440\u0438\u0439\u0433 \u0442\u0443\u0441 \u0442\u0443\u0441\u0430\u0434 \u043d\u044c \u0448\u0430\u0445\u0430\u0445 <code>gzip<\/code>-\u0434 \u043d\u0430\u0439\u0434\u0434\u0430\u0433. \u0410\u0436 \u0430\u0445\u0443\u0439\u043d \u043d\u044d\u0433\u0436\u0438\u0439\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0445\u0430\u043d\u0433\u0430\u043c\u0436 \u043d\u044c \u0434\u044d\u043b\u0445\u0438\u0439\u043d \u0445\u044d\u043c\u0436\u044d\u044d\u043d\u0438\u0439 \u0431\u043b\u043e\u043a \u0442\u04af\u0432\u0448\u043d\u0438\u0439 \u0434\u0430\u0432\u0445\u0430\u0440\u0434\u0430\u043b\u0433\u04af\u0439 \u0431\u043e\u043b\u0433\u043e\u0445 \u0430\u0440\u0433\u044b\u0433 \u0430\u0448\u0438\u0433\u043b\u0430\u0434\u0430\u0433 \u0431\u04e9\u0433\u04e9\u04e9\u0434 \u044d\u043d\u044d \u043d\u044c \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u0433 \u0433\u0430\u0434\u0430\u0433\u0448 \u0448\u0438\u043b\u0436\u04af\u04af\u043b\u044d\u0445 \u04af\u0435\u0434 \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445 \u0437\u0430\u0440\u0434\u0430\u043b \u0431\u043e\u043b\u043e\u043d \u0441\u04af\u043b\u0436\u044d\u044d\u043d\u0438\u0439 \u0437\u0443\u0440\u0432\u0430\u0441\u044b\u043d \u04e9\u0440\u0433\u04e9\u043d\u0438\u0439\u0433 \u044d\u0440\u0441 \u0431\u0443\u0443\u0440\u0443\u0443\u043b\u0434\u0430\u0433.<\/li>\n<\/ol>\n<h2>\u0414\u04af\u0433\u043d\u044d\u043b\u0442<\/h2>\n<p>\u04e8\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433 \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445 \u0442\u0443\u0441\u0433\u0430\u0439 Bash \u0441\u043a\u0440\u0438\u043f\u0442 \u0431\u0438\u0447\u0438\u0445 \u043d\u044c \u0430\u043c\u0430\u0440\u0445\u0430\u043d. \u0425\u0430\u0440\u0438\u043d \u0434\u0430\u043c\u0436\u0443\u0443\u043b\u0430\u0445 \u0445\u043e\u043e\u043b\u043e\u0439\u043d \u0447\u0438\u043c\u044d\u044d\u0433\u04af\u0439 \u0430\u043b\u0434\u0430\u0430\u0433 \u0437\u043e\u0445\u0438\u0446\u0443\u0443\u043b\u0434\u0430\u0433, ACID \u043d\u0438\u0439\u0446\u043b\u0438\u0439\u0433 \u0431\u0430\u0442\u0430\u043b\u0433\u0430\u0430\u0436\u0443\u0443\u043b\u0434\u0430\u0433, \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439\u043d \u0442\u04af\u043b\u0445\u04af\u04af\u0440\u04af\u04af\u0434\u0438\u0439\u0433 \u0430\u044e\u0443\u043b\u0433\u04af\u0439 \u0443\u0434\u0438\u0440\u0434\u0434\u0430\u0433, \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445 \u0445\u0443\u0433\u0430\u0446\u0430\u0430\u043d\u0434 \u0441\u0443\u0443\u0440\u0438\u043b\u0441\u0430\u043d \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0430\u043b\u0434\u0430\u0433\u0434\u043b\u0430\u0430\u0441 \u0441\u044d\u0440\u0433\u0438\u0439\u043b\u0434\u044d\u0433, \u043c\u04e9\u043d \u0445\u0430\u0442\u0443\u0443 RTO\/RPO SLA-\u0433 \u0431\u0430\u0442\u0430\u043b\u0433\u0430\u0430\u0436\u0443\u0443\u043b\u0434\u0430\u0433 \u0441\u043a\u0440\u0438\u043f\u0442 \u0431\u0438\u0447\u0438\u0445 \u043d\u044c \u0431\u0430\u0440\u0430\u0433 \u0431\u043e\u043b\u043e\u043c\u0436\u0433\u04af\u0439 \u044e\u043c.<\/p>\n<p>\u04ae\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u043e\u0440\u0447\u0438\u043d\u0434 \u04e9\u0433\u04e9\u0433\u0434\u043b\u0438\u0439\u043d \u0441\u0430\u043d \u043d\u044c \u0431\u0438\u0437\u043d\u0435\u0441\u0438\u0439\u043d \u0445\u0430\u043c\u0433\u0438\u0439\u043d \u0447\u0443\u0445\u0430\u043b \u0445\u04e9\u0440\u04e9\u043d\u0433\u04e9 \u044e\u043c. \u0422\u04af\u04af\u043d\u0438\u0439 \u0445\u0430\u043c\u0433\u0430\u0430\u043b\u0430\u043b\u0442\u044b\u0433 \u0445\u044d\u0434\u044d\u043d \u0437\u0443\u0443\u043d \u043c\u04e9\u0440 shell \u0441\u043a\u0440\u0438\u043f\u0442\u044d\u044d\u0440 \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0433\u0434\u0434\u0430\u0433 \u0445\u0430\u0436\u0443\u0443\u0433\u0438\u0439\u043d \u0442\u04e9\u0441\u04e9\u043b \u0433\u044d\u0436 \u04af\u0437\u044d\u0445 \u043d\u044c \u044f\u043c\u0430\u0440 \u0447 \u0430\u0436 \u0430\u0445\u0443\u0439\u043d \u043d\u044d\u0433\u0436\u0438\u0439\u043d \u0445\u0443\u0432\u044c\u0434 \u044d\u0440\u0441\u0434\u044d\u043b\u0442\u044d\u0439. \u041e\u0434\u043e\u043e\u0433\u0438\u0439\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u043b\u0442\u0438\u0439\u043d \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u0430 \u0430\u0443\u0434\u0438\u0442\u0430\u0434 \u043e\u0440\u0443\u0443\u043b\u0436, \u043b\u043e\u0433\u0438\u043a \u0434\u0430\u043c\u043f\u044b\u043d \u0445\u044f\u0437\u0433\u0430\u0430\u0440\u043b\u0430\u043b\u0442\u044b\u0433 \u043e\u0439\u043b\u0433\u043e\u0436, CloudSave \u0433\u044d\u0445 \u043c\u044d\u0442 \u0431\u0430\u0442 \u0431\u04e9\u0445, \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0436\u0443\u0443\u043b\u0441\u0430\u043d \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443\u0443\u0434 \u0440\u0443\u0443 \u0448\u0438\u043b\u0436\u0441\u044d\u043d\u044d\u044d\u0440 DevOps \u0431\u043e\u043b\u043e\u043d DBA \u0431\u0430\u0433\u0443\u0443\u0434 \u0442\u0443\u0441\u0433\u0430\u0439 \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u0438\u0439\u043d &#8220;\u0430\u0432\u0442\u043e\u0431\u0443\u0441\u043d\u044b \u0445\u04af\u0447\u0438\u043d \u0437\u04af\u0439\u043b&#8221;-\u0438\u0439\u0433 (bus factor) \u0430\u0440\u0438\u043b\u0433\u0430\u0436, \u04e9\u0433\u04e9\u0433\u0434\u043b\u04e9\u04e9 \u04af\u043d\u044d\u0445\u044d\u044d\u0440 \u0443\u044f\u043d \u0445\u0430\u0442\u0430\u043d \u0431\u0430\u0439\u043b\u0433\u0430\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0442\u043e\u0439.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>** Discover the hidden dangers of DIY database backup scripts. Learn why custom Bash scripts fail in production, the risks of logical dumps, and how to secure your data with enterprise solutions.<\/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 DIY Database Backup Scripts Fail in Production","rank_math_description":"** Discover the hidden dangers of DIY database backup scripts. Learn why custom Bash scripts fail in production, the risks of logical dumps, and how to secure your data with enterprise solutions.","rank_math_focus_keyword":"DIY database backup scripts","footnotes":""},"categories":[575],"tags":[2675,1060,2676,2677,2678,2679,1064],"class_list":["post-3840","post","type-post","status-publish","format-standard","hentry","category-database-backup","tag-bash-scripts","tag-database-administration","tag-diy-backups","tag-mysqldump","tag-pg_dump","tag-production-backups","tag-rpo-and-rto"],"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 DIY Database Backup Scripts Fail in Production<\/title>\n<meta name=\"description\" content=\"** Discover the hidden dangers of DIY database backup scripts. Learn why custom Bash scripts fail in production, the risks of logical dumps, and how to secure your data with enterprise solutions.\" \/>\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\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\/\" \/>\n<meta property=\"og:locale\" content=\"mn_MN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u04e8\u04e9\u0440\u04e9\u04e9 \u0445\u0438\u0439\u0434\u044d\u0433 (DIY) \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u0438\u0439\u043d \u0434\u0430\u043b\u0434 \u0430\u044e\u0443\u043b: \u0417\u0430\u0445\u0438\u0430\u043b\u0433\u0430\u0442 Bash \u044f\u0430\u0433\u0430\u0430\u0434 \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u043e\u0440\u0447\u0438\u043d\u0434 \u0442\u043e\u0445\u0438\u0440\u043e\u043c\u0436\u0433\u04af\u0439 \u0432\u044d?\" \/>\n<meta property=\"og:description\" content=\"** Discover the hidden dangers of DIY database backup scripts. Learn why custom Bash scripts fail in production, the risks of logical dumps, and how to secure your data with enterprise solutions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudSave\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-12T08:08:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-12T08:36:23+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\\\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\\\/\"},\"author\":{\"name\":\"shervinrv\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/#\\\/schema\\\/person\\\/286beefe68281d868e87f46603a7ae4d\"},\"headline\":\"\u04e8\u04e9\u0440\u04e9\u04e9 \u0445\u0438\u0439\u0434\u044d\u0433 (DIY) \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u0438\u0439\u043d \u0434\u0430\u043b\u0434 \u0430\u044e\u0443\u043b: \u0417\u0430\u0445\u0438\u0430\u043b\u0433\u0430\u0442 Bash \u044f\u0430\u0433\u0430\u0430\u0434 \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u043e\u0440\u0447\u0438\u043d\u0434 \u0442\u043e\u0445\u0438\u0440\u043e\u043c\u0436\u0433\u04af\u0439 \u0432\u044d?\",\"datePublished\":\"2026-06-12T08:08:32+00:00\",\"dateModified\":\"2026-06-12T08:36:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\\\/\"},\"wordCount\":1738,\"publisher\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/#\\\/schema\\\/person\\\/286beefe68281d868e87f46603a7ae4d\"},\"keywords\":[\"bash scripts\",\"Database Administration\",\"DIY backups\",\"mysqldump\",\"pg_dump\",\"production backups\",\"RPO and RTO\"],\"articleSection\":[\"Database Backup\"],\"inLanguage\":\"mn\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\\\/\",\"url\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\\\/\",\"name\":\"Why DIY Database Backup Scripts Fail in Production\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/#website\"},\"datePublished\":\"2026-06-12T08:08:32+00:00\",\"dateModified\":\"2026-06-12T08:36:23+00:00\",\"description\":\"** Discover the hidden dangers of DIY database backup scripts. Learn why custom Bash scripts fail in production, the risks of logical dumps, and how to secure your data with enterprise solutions.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\\\/#breadcrumb\"},\"inLanguage\":\"mn\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/knowledge-base\\\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cloudsave.app\\\/mn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u04e8\u04e9\u0440\u04e9\u04e9 \u0445\u0438\u0439\u0434\u044d\u0433 (DIY) \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u0438\u0439\u043d \u0434\u0430\u043b\u0434 \u0430\u044e\u0443\u043b: \u0417\u0430\u0445\u0438\u0430\u043b\u0433\u0430\u0442 Bash \u044f\u0430\u0433\u0430\u0430\u0434 \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u043e\u0440\u0447\u0438\u043d\u0434 \u0442\u043e\u0445\u0438\u0440\u043e\u043c\u0436\u0433\u04af\u0439 \u0432\u044d?\"}]},{\"@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 DIY Database Backup Scripts Fail in Production","description":"** Discover the hidden dangers of DIY database backup scripts. Learn why custom Bash scripts fail in production, the risks of logical dumps, and how to secure your data with enterprise solutions.","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\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\/","og_locale":"mn_MN","og_type":"article","og_title":"\u04e8\u04e9\u0440\u04e9\u04e9 \u0445\u0438\u0439\u0434\u044d\u0433 (DIY) \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u0438\u0439\u043d \u0434\u0430\u043b\u0434 \u0430\u044e\u0443\u043b: \u0417\u0430\u0445\u0438\u0430\u043b\u0433\u0430\u0442 Bash \u044f\u0430\u0433\u0430\u0430\u0434 \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u043e\u0440\u0447\u0438\u043d\u0434 \u0442\u043e\u0445\u0438\u0440\u043e\u043c\u0436\u0433\u04af\u0439 \u0432\u044d?","og_description":"** Discover the hidden dangers of DIY database backup scripts. Learn why custom Bash scripts fail in production, the risks of logical dumps, and how to secure your data with enterprise solutions.","og_url":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\/","og_site_name":"CloudSave","article_published_time":"2026-06-12T08:08:32+00:00","article_modified_time":"2026-06-12T08:36:23+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\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\/#article","isPartOf":{"@id":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\/"},"author":{"name":"shervinrv","@id":"https:\/\/cloudsave.app\/mn\/#\/schema\/person\/286beefe68281d868e87f46603a7ae4d"},"headline":"\u04e8\u04e9\u0440\u04e9\u04e9 \u0445\u0438\u0439\u0434\u044d\u0433 (DIY) \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u0438\u0439\u043d \u0434\u0430\u043b\u0434 \u0430\u044e\u0443\u043b: \u0417\u0430\u0445\u0438\u0430\u043b\u0433\u0430\u0442 Bash \u044f\u0430\u0433\u0430\u0430\u0434 \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u043e\u0440\u0447\u0438\u043d\u0434 \u0442\u043e\u0445\u0438\u0440\u043e\u043c\u0436\u0433\u04af\u0439 \u0432\u044d?","datePublished":"2026-06-12T08:08:32+00:00","dateModified":"2026-06-12T08:36:23+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\/"},"wordCount":1738,"publisher":{"@id":"https:\/\/cloudsave.app\/mn\/#\/schema\/person\/286beefe68281d868e87f46603a7ae4d"},"keywords":["bash scripts","Database Administration","DIY backups","mysqldump","pg_dump","production backups","RPO and RTO"],"articleSection":["Database Backup"],"inLanguage":"mn"},{"@type":"WebPage","@id":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\/","url":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\/","name":"Why DIY Database Backup Scripts Fail in Production","isPartOf":{"@id":"https:\/\/cloudsave.app\/mn\/#website"},"datePublished":"2026-06-12T08:08:32+00:00","dateModified":"2026-06-12T08:36:23+00:00","description":"** Discover the hidden dangers of DIY database backup scripts. Learn why custom Bash scripts fail in production, the risks of logical dumps, and how to secure your data with enterprise solutions.","breadcrumb":{"@id":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\/#breadcrumb"},"inLanguage":"mn","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudsave.app\/mn\/knowledge-base\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudsave.app\/mn\/knowledge-base\/%d3%a9%d3%a9%d1%80%d3%a9%d3%a9-%d1%85%d0%b8%d0%b9%d0%b4%d1%8d%d0%b3-diy-%d0%bc%d1%8d%d0%b4%d1%8d%d1%8d%d0%bb%d0%bb%d0%b8%d0%b9%d0%bd-%d1%81%d0%b0%d0%bd%d0%b3%d0%b8%d0%b9%d0%bd-%d0%bd%d3%a9%d3%a9%d1%86\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudsave.app\/mn\/"},{"@type":"ListItem","position":2,"name":"\u04e8\u04e9\u0440\u04e9\u04e9 \u0445\u0438\u0439\u0434\u044d\u0433 (DIY) \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u043d \u0441\u0430\u043d\u0433\u0438\u0439\u043d \u043d\u04e9\u04e9\u0446\u043b\u04e9\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u04af\u04af\u0434\u0438\u0439\u043d \u0434\u0430\u043b\u0434 \u0430\u044e\u0443\u043b: \u0417\u0430\u0445\u0438\u0430\u043b\u0433\u0430\u0442 Bash \u044f\u0430\u0433\u0430\u0430\u0434 \u04af\u0439\u043b\u0434\u0432\u044d\u0440\u043b\u044d\u043b\u0438\u0439\u043d \u043e\u0440\u0447\u0438\u043d\u0434 \u0442\u043e\u0445\u0438\u0440\u043e\u043c\u0436\u0433\u04af\u0439 \u0432\u044d?"}]},{"@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\/3840","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=3840"}],"version-history":[{"count":3,"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/posts\/3840\/revisions"}],"predecessor-version":[{"id":4035,"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/posts\/3840\/revisions\/4035"}],"wp:attachment":[{"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/media?parent=3840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/categories?post=3840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudsave.app\/mn\/wp-json\/wp\/v2\/tags?post=3840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}