{"id":802,"date":"2026-10-02T08:59:44","date_gmt":"2026-10-02T05:59:44","guid":{"rendered":"https:\/\/hosting.in.ua\/blog\/?p=802"},"modified":"2026-10-02T09:04:14","modified_gmt":"2026-10-02T06:04:14","slug":"avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy","status":"publish","type":"post","link":"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/","title":{"rendered":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u0439 \u0431\u0435\u043a\u0430\u043f \u0441\u0430\u0439\u0442\u0456\u0432 \u0442\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 Linux\/VPS: \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0438\u0439 Bash-\u0441\u043a\u0440\u0438\u043f\u0442 \u0456\u0437 \u0440\u043e\u0442\u0430\u0446\u0456\u0454\u044e \u0442\u0430 \u043b\u043e\u0433\u0430\u043c\u0438"},"content":{"rendered":"<p>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0435 \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0438\u0445 \u043a\u043e\u043f\u0456\u0439 \u2014 \u0454\u0434\u0438\u043d\u0438\u0439 \u043d\u0430\u0434\u0456\u0439\u043d\u0438\u0439 \u0437\u0430\u0445\u0438\u0441\u0442 \u0432\u0456\u0434 \u0437\u0431\u043e\u0457\u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u043e\u043c\u0438\u043b\u043e\u043a \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f CMS \u0430\u0431\u043e \u0430\u0442\u0430\u043a \u0437\u043b\u043e\u0432\u043c\u0438\u0441\u043d\u0438\u043a\u0456\u0432. \u0425\u043e\u0447\u0430 \u0431\u0456\u043b\u044c\u0448\u0456\u0441\u0442\u044c \u043f\u0430\u043d\u0435\u043b\u0435\u0439 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f (Plesk, cPanel) \u043c\u0430\u044e\u0442\u044c \u0432\u0431\u0443\u0434\u043e\u0432\u0430\u043d\u0456 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0438 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f, \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u0456 \u043d\u0438\u043c\u0438 \u0430\u0440\u0445\u0456\u0432\u0438 \u0447\u0430\u0441\u0442\u043e \u0440\u043e\u0437\u043c\u0456\u0449\u0443\u044e\u0442\u044c\u0441\u044f \u0432 \u0456\u0437\u043e\u043b\u044c\u043e\u0432\u0430\u043d\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0438\u0445 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u044f\u0445, \u0434\u043e \u044f\u043a\u0438\u0445 \u043d\u0435\u043c\u0430\u0454 \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0447\u0435\u0440\u0435\u0437 FTP.<\/p>\n<p>\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0433\u043e Bash-\u0441\u043a\u0440\u0438\u043f\u0442\u0443 \u0434\u043b\u044f VPS\/VDS \u0430\u0431\u043e \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0443 \u0437 SSH-\u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c. \u0421\u043a\u0440\u0438\u043f\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u0441\u0442\u0432\u043e\u0440\u044e\u0454 \u0434\u0430\u043c\u043f\u0438 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 MySQL\/MariaDB, \u0430\u0440\u0445\u0456\u0432\u0443\u0454 \u0444\u0430\u0439\u043b\u0438 \u0434\u0435\u043a\u0456\u043b\u044c\u043a\u043e\u0445 \u0441\u0430\u0439\u0442\u0456\u0432, \u0437\u0431\u0438\u0440\u0430\u0454 \u0457\u0445 \u0443 \u043f\u0456\u0434\u0441\u0443\u043c\u043a\u043e\u0432\u0438\u0439 \u0430\u0440\u0445\u0456\u0432, \u0432\u0435\u0434\u0435 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0438\u0439 \u043b\u043e\u0433 \u0456 \u0432\u0438\u0434\u0430\u043b\u044f\u0454 \u043a\u043e\u043f\u0456\u0457, \u0441\u0442\u0430\u0440\u0456\u0448\u0456 \u0437\u0430 7 \u0434\u043d\u0456\u0432.<\/p>\n<h2>\u041e\u0431\u043c\u0435\u0436\u0435\u043d\u043d\u044f \u0442\u0430 \u0432\u0438\u043c\u043e\u0433\u0438<\/h2>\n<p>\u0426\u0435\u0439 \u043f\u0456\u0434\u0445\u0456\u0434 \u0440\u043e\u0437\u0440\u0430\u0445\u043e\u0432\u0430\u043d\u0438\u0439 \u043d\u0430 <strong>VPS\/VDS \u0441\u0435\u0440\u0432\u0435\u0440\u0438<\/strong> \u0430\u0431\u043e <strong>\u0432\u0456\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0438\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0456\u0437 \u0440\u043e\u0437\u0448\u0438\u0440\u0435\u043d\u0438\u043c SSH-\u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c<\/strong>. \u0414\u043b\u044f \u043a\u043e\u0440\u0435\u043a\u0442\u043d\u043e\u0457 \u0440\u043e\u0431\u043e\u0442\u0438 \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0456:<\/p>\n<ul>\n<li>\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0433\u043e \u0440\u044f\u0434\u043a\u0430 (SSH \/ Bash).<\/li>\n<li>\u0423\u0442\u0438\u043b\u0456\u0442\u0438: <code>mysqldump<\/code>, <code>tar<\/code>, <code>find<\/code>, <code>cron<\/code>.<\/li>\n<li>\u0414\u043e\u0441\u0442\u0430\u0442\u043d\u0456 \u043b\u0456\u043c\u0456\u0442\u0438 I\/O \u0442\u0430 RAM (\u043d\u0430 \u0434\u0435\u0448\u0435\u0432\u0438\u0445 \u0442\u0430\u0440\u0438\u0444\u0430\u0445 Shared-\u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0443 \u043f\u0440\u043e\u0446\u0435\u0441 \u043f\u0430\u043a\u0443\u0432\u0430\u043d\u043d\u044f \u0432\u0435\u043b\u0438\u043a\u0438\u0445 \u0441\u0430\u0439\u0442\u0456\u0432 \u043c\u043e\u0436\u0435 \u0437\u0443\u043f\u0438\u043d\u044f\u0442\u0438\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u044e \u0447\u0435\u0440\u0435\u0437 OOM \u0447\u0438 \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u0438).<\/li>\n<\/ul>\n<h2>\u0413\u043e\u0442\u043e\u0432\u0438\u0439 Bash-\u0441\u043a\u0440\u0438\u043f\u0442<\/h2>\n<p>\u0421\u0442\u0432\u043e\u0440\u0456\u0442\u044c \u0444\u0430\u0439\u043b <code>backup.sh<\/code> \u0443 \u0432\u0430\u0448\u0456\u0439 \u0434\u043e\u043c\u0430\u0448\u043d\u0456\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0457 \u0442\u0430 \u0434\u043e\u0434\u0430\u0439\u0442\u0435 \u0432 \u043d\u044c\u043e\u0433\u043e \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u043a\u043e\u0434:<\/p>\n<pre><code class=\"language-bash\">#!\/usr\/bin\/env bash\nset -euo pipefail\n\n# === \u041a\u041e\u041d\u0424\u0406\u0413\u0423\u0420\u0410\u0426\u0406\u042f ===\nVHOST_ROOT=\"$HOME\"\nBACKUP_DIR=\"${VHOST_ROOT}\/MyBackup\"\nLOG_FILE=\"${VHOST_ROOT}\/backup.log\"\nDB_HOST=\"localhost\"\n\n# \u041f\u0435\u0440\u0435\u043b\u0456\u043a \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0439 \u0441\u0430\u0439\u0442\u0456\u0432 (\u0432\u0456\u0434\u043d\u043e\u0441\u043d\u043e VHOST_ROOT)\nSITES=(\n    \"httpdocs\"\n    \"site2.org.ua\"\n    \"site3.org.ua\"\n)\n\n# \u041f\u0435\u0440\u0435\u043b\u0456\u043a \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 \u0443 \u0444\u043e\u0440\u043c\u0430\u0442\u0456 \"\u041d\u0410\u0417\u0412\u0410_\u0411\u0414:\u041a\u041e\u0420\u0418\u0421\u0422\u0423\u0412\u0410\u0427_\u0411\u0414:\u041f\u0410\u0420\u041e\u041b\u042c_\u0411\u0414\"\nDATABASES=(\n    \"db_site1:user1:pass1\"\n    \"db_site2:user2:pass2\"\n    \"db_site3:user3:pass3\"\n)\n\n# === \u041b\u041e\u0413\u0423\u0412\u0410\u041d\u041d\u042f \u0422\u0410 \u041e\u0411\u0420\u041e\u0411\u041a\u0410 \u041f\u041e\u041c\u0418\u041b\u041e\u041a ===\nlog() {\n    echo \"[$(date '+%Y-%m-%d %H:%M:%S')] $1\" >> \"$LOG_FILE\"\n}\n\nerror_handler() {\n    local line_no=\"$1\"\n    local exit_code=\"${2:-1}\"\n    log \"ERROR: \u0421\u043a\u0440\u0438\u043f\u0442 \u043f\u0435\u0440\u0435\u0440\u0432\u0430\u043d\u043e \u043d\u0430 \u0440\u044f\u0434\u043a\u0443 ${line_no} \u0437 \u043a\u043e\u0434\u043e\u043c \u043f\u043e\u043c\u0438\u043b\u043a\u0438 ${exit_code}.\"\n    [ -d \"${TMP_DIR:-}\" ] && rm -rf \"$TMP_DIR\"\n    exit \"$exit_code\"\n}\n\ntrap 'error_handler ${LINENO} $?' ERR\n\n# === \u041e\u0421\u041d\u041e\u0412\u041d\u0418\u0419 \u041f\u0420\u041e\u0426\u0415\u0421 ===\nlog \"--- \u0421\u0422\u0410\u0420\u0422: \u041f\u043e\u0447\u0430\u0442\u043e\u043a \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f ---\"\n\nDATE=$(date +%Y-%m-%d_%H-%M)\nTMP_DIR=\"${VHOST_ROOT}\/tmp\/backup_${DATE}\"\nARCHIVE_NAME=\"full_backup_${DATE}.tar.gz\"\n\nmkdir -p \"${TMP_DIR}\/db\" \"${TMP_DIR}\/files\" \"${BACKUP_DIR}\"\n\n# 1. \u0414\u0430\u043c\u043f \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 (\u0437 \u043f\u0440\u0430\u043f\u043e\u0440\u0446\u044f\u043c\u0438 \u0431\u0435\u0437\u0431\u043b\u043e\u043a\u0443\u0432\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0447\u0438\u0442\u0430\u043d\u043d\u044f InnoDB)\nfor db_entry in \"${DATABASES[@]}\"; do\n    IFS=\":\" read -r db_name db_user db_pass <<< \"$db_entry\"\n    log \"DB: \u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0434\u0430\u043c\u043f\u0443 \u0431\u0430\u0437\u0438 '${db_name}'...\"\n    mysqldump -h \"${DB_HOST}\" -u\"${db_user}\" -p\"${db_pass}\" \\\n        --single-transaction --quick \"${db_name}\" > \"${TMP_DIR}\/db\/${db_name}.sql\"\n    log \"DB: \u0414\u0430\u043c\u043f '${db_name}' \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043e.\"\ndone\n\n# 2. \u0410\u0440\u0445\u0456\u0432\u0443\u0432\u0430\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0456\u0432 \u0441\u0430\u0439\u0442\u0456\u0432\nfor site in \"${SITES[@]}\"; do\n    if [ -d \"${VHOST_ROOT}\/${site}\" ]; then\n        log \"FILES: \u0410\u0440\u0445\u0456\u0432\u0443\u0432\u0430\u043d\u043d\u044f '${site}'...\"\n        tar_status=0\n        tar -czf \"${TMP_DIR}\/files\/${site}.tar.gz\" \\\n            --exclude=\"${site}\/var\/cache\" \\\n            --exclude=\"${site}\/tmp\" \\\n            -C \"${VHOST_ROOT}\" \"$site\" || tar_status=$?\n\n        # \u041a\u043e\u0434 1 \u0443 tar \u043e\u0437\u043d\u0430\u0447\u0430\u0454 \"\u0444\u0430\u0439\u043b\u0438 \u0437\u043c\u0456\u043d\u044e\u0432\u0430\u043b\u0438\u0441\u044f \u043f\u0456\u0434 \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f\" (\u043f\u043e\u043f\u0435\u0440\u0435\u0434\u0436\u0435\u043d\u043d\u044f)\n        if [ \"$tar_status\" -eq 1 ]; then\n            log \"WARNING: \u0424\u0430\u0439\u043b\u0438 \u0432 '${site}' \u0437\u043c\u0456\u043d\u044e\u0432\u0430\u043b\u0438\u0441\u044f \u043f\u0456\u0434 \u0447\u0430\u0441 \u0430\u0440\u0445\u0456\u0432\u0443\u0432\u0430\u043d\u043d\u044f.\"\n        elif [ \"$tar_status\" -gt 1 ]; then\n            log \"ERROR: \u041a\u0440\u0438\u0442\u0438\u0447\u043d\u0430 \u043f\u043e\u043c\u0438\u043b\u043a\u0430 tar \u0443 '${site}', \u043a\u043e\u0434: $tar_status\"\n            exit \"$tar_status\"\n        fi\n        log \"FILES: \u0410\u0440\u0445\u0456\u0432 '${site}' \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043e.\"\n    fi\ndone\n\n# 3. \u0424\u043e\u0440\u043c\u0443\u0432\u0430\u043d\u043d\u044f \u043f\u0456\u0434\u0441\u0443\u043c\u043a\u043e\u0432\u043e\u0433\u043e \u0430\u0440\u0445\u0456\u0432\u0443\nlog \"ARCHIVE: \u0417\u0431\u0438\u0440\u0430\u043d\u043d\u044f \u043f\u0456\u0434\u0441\u0443\u043c\u043a\u043e\u0432\u043e\u0433\u043e \u0430\u0440\u0445\u0456\u0432\u0443 ${ARCHIVE_NAME}...\"\ntar -czf \"${BACKUP_DIR}\/${ARCHIVE_NAME}\" -C \"${TMP_DIR}\" .\nlog \"ARCHIVE: \u0417\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u043e \u0443 ${BACKUP_DIR}\/${ARCHIVE_NAME}.\"\n\n# 4. \u0420\u043e\u0442\u0430\u0446\u0456\u044f (\u0432\u0438\u0434\u0430\u043b\u0435\u043d\u043d\u044f \u0430\u0440\u0445\u0456\u0432\u0456\u0432, \u0441\u0442\u0430\u0440\u0456\u0448\u0438\u0445 \u0437\u0430 7 \u0434\u043d\u0456\u0432)\nlog \"ROTATION: \u0412\u0438\u0434\u0430\u043b\u0435\u043d\u043d\u044f \u043a\u043e\u043f\u0456\u0439, \u0441\u0442\u0430\u0440\u0456\u0448\u0438\u0445 \u0437\u0430 7 \u0434\u043d\u0456\u0432...\"\nfind \"${BACKUP_DIR}\" -type f -name \"full_backup_*.tar.gz\" -mtime +7 -delete\n\n# 5. \u041e\u0447\u0438\u0449\u0435\u043d\u043d\u044f \u0442\u0438\u043c\u0447\u0430\u0441\u043e\u0432\u043e\u0457 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0457\nrm -rf \"${TMP_DIR}\"\nlog \"--- \u0423\u0421\u041f\u0406\u0425: \u0420\u0435\u0437\u0435\u0440\u0432\u043d\u0435 \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e ---\"\n<\/code><\/pre>\n<h2>\u041a\u0440\u043e\u043a\u0438 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f<\/h2>\n<h3>1. \u041d\u0430\u0434\u0430\u043d\u043d\u044f \u043f\u0440\u0430\u0432 \u043d\u0430 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f<\/h3>\n<p>\u041f\u0456\u0441\u043b\u044f \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0443 \u0434\u0430\u0439\u0442\u0435 \u0439\u043e\u043c\u0443 \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f:<\/p>\n<pre><code class=\"language-bash\">chmod +x ~\/backup.sh<\/code><\/pre>\n<h3>2. \u0414\u043e\u0434\u0430\u0432\u0430\u043d\u043d\u044f \u0437\u0430\u0432\u0434\u0430\u043d\u043d\u044f \u0434\u043e Cron<\/h3>\n<p>\u0412\u0456\u0434\u043a\u0440\u0438\u0439\u0442\u0435 \u043f\u043b\u0430\u043d\u0443\u0432\u0430\u043b\u044c\u043d\u0438\u043a \u0437\u0430\u0432\u0434\u0430\u043d\u044c \u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430:<\/p>\n<pre><code class=\"language-bash\">crontab -e<\/code><\/pre>\n<p>\u0414\u043e\u0434\u0430\u0439\u0442\u0435 \u0440\u044f\u0434\u043e\u043a \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u0449\u043e\u043d\u0435\u0434\u0456\u043b\u0456 \u043e 03:00:<\/p>\n<pre><code class=\"language-bash\">0 3 * * 0 \/bin\/bash \/home\/username\/backup.sh > \/dev\/null 2>&1<\/code><\/pre>\n<h2>\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u0441\u0442\u0430\u043d\u0443 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f<\/h2>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u043b\u043e\u0433\u0443\u0454 \u043a\u043e\u0436\u0435\u043d \u0435\u0442\u0430\u043f \u0440\u043e\u0431\u043e\u0442\u0438 \u0443 \u0444\u0430\u0439\u043b <code>backup.log<\/code>. \u0423 \u0440\u0430\u0437\u0456 \u0430\u0432\u0430\u0440\u0456\u0439\u043d\u043e\u0433\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044f (\u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434, \u043f\u0435\u0440\u0435\u043f\u043e\u0432\u043d\u0435\u043d\u043d\u044f \u0434\u0438\u0441\u043a\u0430 \u0430\u0431\u043e \u043d\u0435\u0432\u0456\u0440\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u043e\u043b\u044f \u0434\u043e \u0411\u0414) \u0443 \u043b\u043e\u0433 \u0437\u0430\u043f\u0438\u0448\u0435\u0442\u044c\u0441\u044f \u0442\u043e\u0447\u043d\u0438\u0439 \u043d\u043e\u043c\u0435\u0440 \u0440\u044f\u0434\u043a\u0430 \u0442\u0430 \u043a\u043e\u0434 \u043f\u043e\u043c\u0438\u043b\u043a\u0438.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u043e\u0441\u0442\u0430\u043d\u043d\u0456 \u0437\u0430\u043f\u0438\u0441\u0438 \u0443 \u043b\u043e\u0433\u0443 \u043c\u043e\u0436\u043d\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u044e:<\/p>\n<pre><code class=\"language-bash\">tail -n 30 ~\/backup.log<\/code><\/pre>\n<blockquote>\n<p><strong>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/strong> \u041e\u0442\u0440\u0438\u043c\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f, \u044f\u043a\u0430 \u0444\u043e\u0440\u043c\u0443\u0454 \u0433\u043e\u0442\u043e\u0432\u0456 \u0430\u0440\u0445\u0456\u0432\u0438 \u0443 \u0437\u0440\u0443\u0447\u043d\u0456\u0439 \u0434\u043b\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u043f\u043e FTP\/SFTP \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0457 \u0431\u0435\u0437 \u0437\u0430\u043b\u0443\u0447\u0435\u043d\u043d\u044f \u0432\u0430\u0436\u043a\u0438\u0445 \u043f\u043b\u0430\u0433\u0456\u043d\u0456\u0432 CMS.<\/p>\n<\/blockquote>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0435 \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0438\u0445 \u043a\u043e\u043f\u0456\u0439 \u2014 \u0454\u0434\u0438\u043d\u0438\u0439 \u043d\u0430\u0434\u0456\u0439\u043d\u0438\u0439 \u0437\u0430\u0445\u0438\u0441\u0442 \u0432\u0456\u0434 \u0437\u0431\u043e\u0457\u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u043e\u043c\u0438\u043b\u043e\u043a \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f CMS \u0430\u0431\u043e \u0430\u0442\u0430\u043a \u0437\u043b\u043e\u0432\u043c\u0438\u0441\u043d\u0438\u043a\u0456\u0432. \u0425\u043e\u0447\u0430 \u0431\u0456\u043b\u044c\u0448\u0456\u0441\u0442\u044c \u043f\u0430\u043d\u0435\u043b\u0435\u0439 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f (Plesk, cPanel) \u043c\u0430\u044e\u0442\u044c \u0432\u0431\u0443\u0434\u043e\u0432\u0430\u043d\u0456 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0438 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f, \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u0456 \u043d\u0438\u043c\u0438 \u0430\u0440\u0445\u0456\u0432\u0438 \u0447\u0430\u0441\u0442\u043e \u0440\u043e\u0437\u043c\u0456\u0449\u0443\u044e\u0442\u044c\u0441\u044f \u0432 \u0456\u0437\u043e\u043b\u044c\u043e\u0432\u0430\u043d\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0438\u0445 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u044f\u0445, \u0434\u043e \u044f\u043a\u0438\u0445 \u043d\u0435\u043c\u0430\u0454 \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0447\u0435\u0440\u0435\u0437 FTP. \u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0433\u043e Bash-\u0441\u043a\u0440\u0438\u043f\u0442\u0443 \u0434\u043b\u044f VPS\/VDS \u0430\u0431\u043e \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0443&hellip;&nbsp;<\/p>\n","protected":false},"author":1,"featured_media":805,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[26],"tags":[],"class_list":["post-802","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nalashtuvannya-pz"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u0439 \u0431\u0435\u043a\u0430\u043f \u0441\u0430\u0439\u0442\u0456\u0432 \u0442\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 Linux\/VPS: \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0438\u0439 Bash-\u0441\u043a\u0440\u0438\u043f\u0442 \u0456\u0437 \u0440\u043e\u0442\u0430\u0446\u0456\u0454\u044e \u0442\u0430 \u043b\u043e\u0433\u0430\u043c\u0438 - \u0411\u043b\u043e\u0433 Hosting in Ukraine<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/\" \/>\n<meta property=\"og:locale\" content=\"uk_UA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u0439 \u0431\u0435\u043a\u0430\u043f \u0441\u0430\u0439\u0442\u0456\u0432 \u0442\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 Linux\/VPS: \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0438\u0439 Bash-\u0441\u043a\u0440\u0438\u043f\u0442 \u0456\u0437 \u0440\u043e\u0442\u0430\u0446\u0456\u0454\u044e \u0442\u0430 \u043b\u043e\u0433\u0430\u043c\u0438 - \u0411\u043b\u043e\u0433 Hosting in Ukraine\" \/>\n<meta property=\"og:description\" content=\"\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0435 \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0438\u0445 \u043a\u043e\u043f\u0456\u0439 \u2014 \u0454\u0434\u0438\u043d\u0438\u0439 \u043d\u0430\u0434\u0456\u0439\u043d\u0438\u0439 \u0437\u0430\u0445\u0438\u0441\u0442 \u0432\u0456\u0434 \u0437\u0431\u043e\u0457\u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u043e\u043c\u0438\u043b\u043e\u043a \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f CMS \u0430\u0431\u043e \u0430\u0442\u0430\u043a \u0437\u043b\u043e\u0432\u043c\u0438\u0441\u043d\u0438\u043a\u0456\u0432. \u0425\u043e\u0447\u0430 \u0431\u0456\u043b\u044c\u0448\u0456\u0441\u0442\u044c \u043f\u0430\u043d\u0435\u043b\u0435\u0439 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f (Plesk, cPanel) \u043c\u0430\u044e\u0442\u044c \u0432\u0431\u0443\u0434\u043e\u0432\u0430\u043d\u0456 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0438 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f, \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u0456 \u043d\u0438\u043c\u0438 \u0430\u0440\u0445\u0456\u0432\u0438 \u0447\u0430\u0441\u0442\u043e \u0440\u043e\u0437\u043c\u0456\u0449\u0443\u044e\u0442\u044c\u0441\u044f \u0432 \u0456\u0437\u043e\u043b\u044c\u043e\u0432\u0430\u043d\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0438\u0445 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u044f\u0445, \u0434\u043e \u044f\u043a\u0438\u0445 \u043d\u0435\u043c\u0430\u0454 \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0447\u0435\u0440\u0435\u0437 FTP. \u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0433\u043e Bash-\u0441\u043a\u0440\u0438\u043f\u0442\u0443 \u0434\u043b\u044f VPS\/VDS \u0430\u0431\u043e \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0443&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0411\u043b\u043e\u0433 Hosting in Ukraine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hostinginua\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-02T05:59:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-02T06:04:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2026\/10\/gemini_generated_image_tdr0u6tdr0u6tdr0.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1376\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Yevhenii\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@HostingInUA\" \/>\n<meta name=\"twitter:site\" content=\"@HostingInUA\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e\" \/>\n\t<meta name=\"twitter:data1\" content=\"Yevhenii\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u0445\u0432\u0438\u043b\u0438\u043d\u0438\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/nalashtuvannya-pz\\\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/nalashtuvannya-pz\\\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\\\/\"},\"author\":{\"name\":\"Yevhenii\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#\\\/schema\\\/person\\\/28d8fb95d1ac8afea538f3e366bf89fa\"},\"headline\":\"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u0439 \u0431\u0435\u043a\u0430\u043f \u0441\u0430\u0439\u0442\u0456\u0432 \u0442\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 Linux\\\/VPS: \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0438\u0439 Bash-\u0441\u043a\u0440\u0438\u043f\u0442 \u0456\u0437 \u0440\u043e\u0442\u0430\u0446\u0456\u0454\u044e \u0442\u0430 \u043b\u043e\u0433\u0430\u043c\u0438\",\"datePublished\":\"2026-10-02T05:59:44+00:00\",\"dateModified\":\"2026-10-02T06:04:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/nalashtuvannya-pz\\\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\\\/\"},\"wordCount\":251,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/nalashtuvannya-pz\\\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/gemini_generated_image_tdr0u6tdr0u6tdr0.jpg\",\"articleSection\":[\"\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u041f\u0417\"],\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/nalashtuvannya-pz\\\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/nalashtuvannya-pz\\\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\\\/\",\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/nalashtuvannya-pz\\\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\\\/\",\"name\":\"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u0439 \u0431\u0435\u043a\u0430\u043f \u0441\u0430\u0439\u0442\u0456\u0432 \u0442\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 Linux\\\/VPS: \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0438\u0439 Bash-\u0441\u043a\u0440\u0438\u043f\u0442 \u0456\u0437 \u0440\u043e\u0442\u0430\u0446\u0456\u0454\u044e \u0442\u0430 \u043b\u043e\u0433\u0430\u043c\u0438 - \u0411\u043b\u043e\u0433 Hosting in Ukraine\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/nalashtuvannya-pz\\\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/nalashtuvannya-pz\\\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/gemini_generated_image_tdr0u6tdr0u6tdr0.jpg\",\"datePublished\":\"2026-10-02T05:59:44+00:00\",\"dateModified\":\"2026-10-02T06:04:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/nalashtuvannya-pz\\\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\\\/#breadcrumb\"},\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/nalashtuvannya-pz\\\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/nalashtuvannya-pz\\\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/gemini_generated_image_tdr0u6tdr0u6tdr0.jpg\",\"contentUrl\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/gemini_generated_image_tdr0u6tdr0u6tdr0.jpg\",\"width\":1376,\"height\":768},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/nalashtuvannya-pz\\\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0411\u043b\u043e\u0433\",\"item\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u041f\u0417\",\"item\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/category\\\/nalashtuvannya-pz\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u0439 \u0431\u0435\u043a\u0430\u043f \u0441\u0430\u0439\u0442\u0456\u0432 \u0442\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 Linux\\\/VPS: \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0438\u0439 Bash-\u0441\u043a\u0440\u0438\u043f\u0442 \u0456\u0437 \u0440\u043e\u0442\u0430\u0446\u0456\u0454\u044e \u0442\u0430 \u043b\u043e\u0433\u0430\u043c\u0438\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/\",\"name\":\"Blog Hosting in Ukraine\",\"description\":\"\u0411\u043b\u043e\u0433 \u043f\u0440\u043e \u0445\u043e\u0441\u0442\u0438\u043d\u0433, \u0434\u043e\u043c\u0435\u043d\u0438 \u0442\u0430 \u0441\u0430\u0439\u0442\u0438\",\"publisher\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"uk\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#organization\",\"name\":\"Blog Hosting in Ukraine\",\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/black_logo.png\",\"contentUrl\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/black_logo.png\",\"width\":136,\"height\":30,\"caption\":\"Blog Hosting in Ukraine\"},\"image\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hostinginua\",\"https:\\\/\\\/x.com\\\/HostingInUA\",\"https:\\\/\\\/www.instagram.com\\\/hosting.in.ua\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/hostinginukraine\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#\\\/schema\\\/person\\\/28d8fb95d1ac8afea538f3e366bf89fa\",\"name\":\"Yevhenii\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/40ed5571b025544ee1b36aec8595c4e0.jpg?ver=1791545223\",\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/40ed5571b025544ee1b36aec8595c4e0.jpg?ver=1791545223\",\"contentUrl\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/40ed5571b025544ee1b36aec8595c4e0.jpg?ver=1791545223\",\"caption\":\"Yevhenii\"},\"sameAs\":[\"http:\\\/\\\/hosting.in.ua\\\/blog\"],\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/author\\\/yevhenii\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u0439 \u0431\u0435\u043a\u0430\u043f \u0441\u0430\u0439\u0442\u0456\u0432 \u0442\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 Linux\/VPS: \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0438\u0439 Bash-\u0441\u043a\u0440\u0438\u043f\u0442 \u0456\u0437 \u0440\u043e\u0442\u0430\u0446\u0456\u0454\u044e \u0442\u0430 \u043b\u043e\u0433\u0430\u043c\u0438 - \u0411\u043b\u043e\u0433 Hosting in Ukraine","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:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/","og_locale":"uk_UA","og_type":"article","og_title":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u0439 \u0431\u0435\u043a\u0430\u043f \u0441\u0430\u0439\u0442\u0456\u0432 \u0442\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 Linux\/VPS: \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0438\u0439 Bash-\u0441\u043a\u0440\u0438\u043f\u0442 \u0456\u0437 \u0440\u043e\u0442\u0430\u0446\u0456\u0454\u044e \u0442\u0430 \u043b\u043e\u0433\u0430\u043c\u0438 - \u0411\u043b\u043e\u0433 Hosting in Ukraine","og_description":"\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0435 \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0438\u0445 \u043a\u043e\u043f\u0456\u0439 \u2014 \u0454\u0434\u0438\u043d\u0438\u0439 \u043d\u0430\u0434\u0456\u0439\u043d\u0438\u0439 \u0437\u0430\u0445\u0438\u0441\u0442 \u0432\u0456\u0434 \u0437\u0431\u043e\u0457\u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u043e\u043c\u0438\u043b\u043e\u043a \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f CMS \u0430\u0431\u043e \u0430\u0442\u0430\u043a \u0437\u043b\u043e\u0432\u043c\u0438\u0441\u043d\u0438\u043a\u0456\u0432. \u0425\u043e\u0447\u0430 \u0431\u0456\u043b\u044c\u0448\u0456\u0441\u0442\u044c \u043f\u0430\u043d\u0435\u043b\u0435\u0439 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f (Plesk, cPanel) \u043c\u0430\u044e\u0442\u044c \u0432\u0431\u0443\u0434\u043e\u0432\u0430\u043d\u0456 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0438 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f, \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u0456 \u043d\u0438\u043c\u0438 \u0430\u0440\u0445\u0456\u0432\u0438 \u0447\u0430\u0441\u0442\u043e \u0440\u043e\u0437\u043c\u0456\u0449\u0443\u044e\u0442\u044c\u0441\u044f \u0432 \u0456\u0437\u043e\u043b\u044c\u043e\u0432\u0430\u043d\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0438\u0445 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u044f\u0445, \u0434\u043e \u044f\u043a\u0438\u0445 \u043d\u0435\u043c\u0430\u0454 \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0447\u0435\u0440\u0435\u0437 FTP. \u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0433\u043e Bash-\u0441\u043a\u0440\u0438\u043f\u0442\u0443 \u0434\u043b\u044f VPS\/VDS \u0430\u0431\u043e \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0443&hellip;&nbsp;","og_url":"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/","og_site_name":"\u0411\u043b\u043e\u0433 Hosting in Ukraine","article_publisher":"https:\/\/www.facebook.com\/hostinginua","article_published_time":"2026-10-02T05:59:44+00:00","article_modified_time":"2026-10-02T06:04:14+00:00","og_image":[{"width":1376,"height":768,"url":"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2026\/10\/gemini_generated_image_tdr0u6tdr0u6tdr0.jpg","type":"image\/jpeg"}],"author":"Yevhenii","twitter_card":"summary_large_image","twitter_creator":"@HostingInUA","twitter_site":"@HostingInUA","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e":"Yevhenii","\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f":"2 \u0445\u0432\u0438\u043b\u0438\u043d\u0438"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/#article","isPartOf":{"@id":"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/"},"author":{"name":"Yevhenii","@id":"https:\/\/hosting.in.ua\/blog\/#\/schema\/person\/28d8fb95d1ac8afea538f3e366bf89fa"},"headline":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u0439 \u0431\u0435\u043a\u0430\u043f \u0441\u0430\u0439\u0442\u0456\u0432 \u0442\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 Linux\/VPS: \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0438\u0439 Bash-\u0441\u043a\u0440\u0438\u043f\u0442 \u0456\u0437 \u0440\u043e\u0442\u0430\u0446\u0456\u0454\u044e \u0442\u0430 \u043b\u043e\u0433\u0430\u043c\u0438","datePublished":"2026-10-02T05:59:44+00:00","dateModified":"2026-10-02T06:04:14+00:00","mainEntityOfPage":{"@id":"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/"},"wordCount":251,"commentCount":0,"publisher":{"@id":"https:\/\/hosting.in.ua\/blog\/#organization"},"image":{"@id":"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/#primaryimage"},"thumbnailUrl":"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2026\/10\/gemini_generated_image_tdr0u6tdr0u6tdr0.jpg","articleSection":["\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u041f\u0417"],"inLanguage":"uk","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/","url":"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/","name":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u0439 \u0431\u0435\u043a\u0430\u043f \u0441\u0430\u0439\u0442\u0456\u0432 \u0442\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 Linux\/VPS: \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0438\u0439 Bash-\u0441\u043a\u0440\u0438\u043f\u0442 \u0456\u0437 \u0440\u043e\u0442\u0430\u0446\u0456\u0454\u044e \u0442\u0430 \u043b\u043e\u0433\u0430\u043c\u0438 - \u0411\u043b\u043e\u0433 Hosting in Ukraine","isPartOf":{"@id":"https:\/\/hosting.in.ua\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/#primaryimage"},"image":{"@id":"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/#primaryimage"},"thumbnailUrl":"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2026\/10\/gemini_generated_image_tdr0u6tdr0u6tdr0.jpg","datePublished":"2026-10-02T05:59:44+00:00","dateModified":"2026-10-02T06:04:14+00:00","breadcrumb":{"@id":"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/#breadcrumb"},"inLanguage":"uk","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/"]}]},{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/#primaryimage","url":"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2026\/10\/gemini_generated_image_tdr0u6tdr0u6tdr0.jpg","contentUrl":"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2026\/10\/gemini_generated_image_tdr0u6tdr0u6tdr0.jpg","width":1376,"height":768},{"@type":"BreadcrumbList","@id":"https:\/\/hosting.in.ua\/blog\/nalashtuvannya-pz\/avtomatychnyj-bekap-sajtiv-ta-baz-danyh-na-linuxvps-universalnyj-bash-skrypt-iz-rotacziyeyu-ta-logamy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0411\u043b\u043e\u0433","item":"https:\/\/hosting.in.ua\/blog\/"},{"@type":"ListItem","position":2,"name":"\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u041f\u0417","item":"https:\/\/hosting.in.ua\/blog\/category\/nalashtuvannya-pz\/"},{"@type":"ListItem","position":3,"name":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u0439 \u0431\u0435\u043a\u0430\u043f \u0441\u0430\u0439\u0442\u0456\u0432 \u0442\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 Linux\/VPS: \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0438\u0439 Bash-\u0441\u043a\u0440\u0438\u043f\u0442 \u0456\u0437 \u0440\u043e\u0442\u0430\u0446\u0456\u0454\u044e \u0442\u0430 \u043b\u043e\u0433\u0430\u043c\u0438"}]},{"@type":"WebSite","@id":"https:\/\/hosting.in.ua\/blog\/#website","url":"https:\/\/hosting.in.ua\/blog\/","name":"Blog Hosting in Ukraine","description":"\u0411\u043b\u043e\u0433 \u043f\u0440\u043e \u0445\u043e\u0441\u0442\u0438\u043d\u0433, \u0434\u043e\u043c\u0435\u043d\u0438 \u0442\u0430 \u0441\u0430\u0439\u0442\u0438","publisher":{"@id":"https:\/\/hosting.in.ua\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hosting.in.ua\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"uk"},{"@type":"Organization","@id":"https:\/\/hosting.in.ua\/blog\/#organization","name":"Blog Hosting in Ukraine","url":"https:\/\/hosting.in.ua\/blog\/","logo":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/hosting.in.ua\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2025\/10\/black_logo.png","contentUrl":"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2025\/10\/black_logo.png","width":136,"height":30,"caption":"Blog Hosting in Ukraine"},"image":{"@id":"https:\/\/hosting.in.ua\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hostinginua","https:\/\/x.com\/HostingInUA","https:\/\/www.instagram.com\/hosting.in.ua\/","https:\/\/www.linkedin.com\/company\/hostinginukraine\/"]},{"@type":"Person","@id":"https:\/\/hosting.in.ua\/blog\/#\/schema\/person\/28d8fb95d1ac8afea538f3e366bf89fa","name":"Yevhenii","image":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/hosting.in.ua\/blog\/wp-content\/litespeed\/avatar\/40ed5571b025544ee1b36aec8595c4e0.jpg?ver=1791545223","url":"https:\/\/hosting.in.ua\/blog\/wp-content\/litespeed\/avatar\/40ed5571b025544ee1b36aec8595c4e0.jpg?ver=1791545223","contentUrl":"https:\/\/hosting.in.ua\/blog\/wp-content\/litespeed\/avatar\/40ed5571b025544ee1b36aec8595c4e0.jpg?ver=1791545223","caption":"Yevhenii"},"sameAs":["http:\/\/hosting.in.ua\/blog"],"url":"https:\/\/hosting.in.ua\/blog\/author\/yevhenii\/"}]}},"_links":{"self":[{"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/posts\/802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/comments?post=802"}],"version-history":[{"count":1,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/posts\/802\/revisions"}],"predecessor-version":[{"id":803,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/posts\/802\/revisions\/803"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/media\/805"}],"wp:attachment":[{"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/media?parent=802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/categories?post=802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/tags?post=802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}