{"id":130945,"date":"2026-10-16T19:17:36","date_gmt":"2026-10-16T12:17:36","guid":{"rendered":"https:\/\/tino.vn\/blog\/?p=130945"},"modified":"2026-10-23T18:54:48","modified_gmt":"2026-10-23T11:54:48","slug":"tu-dong-backup-n8n-va-openclaw-len-google-drive","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/tu-dong-backup-n8n-va-openclaw-len-google-drive\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn t\u1ef1 \u0111\u1ed9ng backup n8n v\u00e0 OpenClaw l\u00ean Google Drive"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>M\u1ed9t c\u00e1ch \u0111\u01a1n gi\u1ea3n v\u00e0 \u1ed5n \u0111\u1ecbnh \u0111\u1ec3 t\u1ef1 \u0111\u1ed9ng backup <a href=\"https:\/\/tino.vn\/blog\/n8n-la-gi\/\">n8n<\/a> v\u00e0 <a href=\"https:\/\/tino.vn\/blog\/openclaw-la-gi\/\">OpenClaw<\/a> l\u00ean Google Drive l\u00e0 ch\u1ea1y m\u1ed9t script tr\u00ean VPS m\u1ed7i \u0111\u00eam b\u1eb1ng cron: script xu\u1ea5t d\u1eef li\u1ec7u n8n, t\u1ea1o b\u1ea3n sao l\u01b0u OpenClaw b\u1eb1ng l\u1ec7nh ch\u00ednh th\u1ee9c openclaw backup create, r\u1ed3i d\u00f9ng rclone \u0111\u1ea9y l\u00ean Google Drive.<\/strong> B\u1ea3n backup \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a b\u1eb1ng rclone crypt tr\u01b0\u1edbc khi r\u1eddi VPS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">B\u00e0i n\u00e0y d\u00e0nh cho n8n \u0111\u00e3 <a href=\"https:\/\/tino.vn\/blog\/cach-cai-dat-n8n-tren-vps\/\">c\u00e0i \u0111\u1eb7t tr\u00ean VPS<\/a> b\u1eb1ng Docker v\u00e0 OpenClaw \u0111\u00e3 <a href=\"https:\/\/tino.vn\/blog\/cai-dat-openclaw-tren-vps\/\">c\u00e0i \u0111\u1eb7t tr\u00ean VPS<\/a>. Mu\u1ed1n xu\u1ea5t workflow, credentials b\u1eb1ng giao di\u1ec7n ho\u1eb7c CLI c\u1ee7a n8n, xem <a href=\"https:\/\/tino.vn\/blog\/cach-backup-va-restore-workflow-n8n\/\">c\u00e1ch backup v\u00e0 restore workflow n8n<\/a>.<\/p>\n\n\n\n<h2 id=\"C\u00f3_th\u1ec3_backup_n8n_v\u00e0_OpenClaw_t\u1eeb_2_VPS_l\u00ean_c\u00f9ng_Google_Drive_kh\u00f4ng?\">C\u00f3 th\u1ec3 backup n8n v\u00e0 OpenClaw t\u1eeb 2 VPS l\u00ean c\u00f9ng Google Drive kh\u00f4ng?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00f3. Hai VPS c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng c\u00f9ng m\u1ed9t t\u00e0i kho\u1ea3n Google Drive l\u00e0m n\u01a1i l\u01b0u tr\u1eef b\u1ea3n backup m\u00e0 kh\u00f4ng \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn ho\u1ea1t \u0111\u1ed9ng c\u1ee7a nhau.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">V\u00ed d\u1ee5, h\u1ec7 th\u1ed1ng g\u1ed3m:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>VPS 1:<\/strong> C\u00e0i \u0111\u1eb7t n8n b\u1eb1ng Docker, d\u00f9ng \u0111\u1ec3 ch\u1ea1y c\u00e1c workflow t\u1ef1 \u0111\u1ed9ng.<\/li>\n\n\n<li><strong>VPS 2:<\/strong> C\u00e0i \u0111\u1eb7t OpenClaw, d\u00f9ng \u0111\u1ec3 v\u1eadn h\u00e0nh AI Agent.<\/li>\n\n\n<li><strong>Google Drive:<\/strong> T\u00e0i kho\u1ea3n l\u01b0u tr\u1eef t\u1eadp trung c\u00e1c b\u1ea3n sao l\u01b0u.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1ed7i VPS \u0111\u1ea3m nhi\u1ec7m m\u1ed9t quy tr\u00ecnh ri\u00eang:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Ti\u00eau ch\u00ed<\/th><th>VPS 1 \u2013 n8n<\/th><th>VPS 2 \u2013 OpenClaw<\/th><\/tr><\/thead><tbody><tr><td>Ph\u1ea7n m\u1ec1m sao l\u01b0u<\/td><td>Rclone<\/td><td>Rclone<\/td><\/tr><tr><td>D\u1eef li\u1ec7u c\u1ea7n sao l\u01b0u<\/td><td>Th\u01b0 m\u1ee5c .n8n v\u00e0 d\u1eef li\u1ec7u li\u00ean quan<\/td><td>State, c\u1ea5u h\u00ecnh, Agent, sessions, workspace<\/td><\/tr><tr><td>C\u00f4ng c\u1ee5 t\u1ea1o backup<\/td><td>Script Bash k\u1ebft h\u1ee3p Docker<\/td><td>OpenClaw Backup CLI<\/td><\/tr><tr><td>C\u00f4ng c\u1ee5 l\u1eadp l\u1ecbch<\/td><td>Cron<\/td><td>Cron<\/td><\/tr><tr><td>Th\u01b0 m\u1ee5c Google Drive<\/td><td>AI-Backups\/n8n<\/td><td>AI-Backups\/openclaw<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Hai VPS kh\u00f4ng c\u1ea7n c\u00f3 chung \u0111\u1ecba ch\u1ec9 IP ho\u1eb7c c\u1ea5u h\u00ecnh ph\u1ea7n c\u1ee9ng. \u0110i\u1ec1u ki\u1ec7n quan tr\u1ecdng l\u00e0 c\u1ea3 hai c\u00f3 k\u1ebft n\u1ed1i Internet v\u00e0 \u0111\u01b0\u1ee3c c\u1ea5p quy\u1ec1n truy c\u1eadp t\u00e0i kho\u1ea3n Google Drive.<\/p>\n\n\n\n<h2 id=\"C\u1ea7n_chu\u1ea9n_b\u1ecb_g\u00ec_tr\u01b0\u1edbc_khi_thi\u1ebft_l\u1eadp_Auto_Backup?\">C\u1ea7n chu\u1ea9n b\u1ecb g\u00ec tr\u01b0\u1edbc khi thi\u1ebft l\u1eadp Auto Backup?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ec3 th\u1ef1c hi\u1ec7n, b\u1ea1n c\u1ea7n:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Hai VPS Linux s\u1eed d\u1ee5ng Ubuntu ho\u1eb7c Debian, \u0111\u00e3 c\u00e0i n8n v\u00e0 OpenClaw t\u01b0\u01a1ng \u1ee9ng.<\/li>\n\n\n<li>Quy\u1ec1n truy c\u1eadp SSH v\u00e0o t\u1eebng VPS th\u00f4ng qua Xshell.<\/li>\n\n\n<li>M\u1ed9t t\u00e0i kho\u1ea3n Google c\u00f3 \u0111\u1ee7 dung l\u01b0\u1ee3ng Drive.<\/li>\n\n\n<li>Quy\u1ec1n c\u00e0i \u0111\u1eb7t ph\u1ea7n m\u1ec1m v\u00e0 ch\u1ec9nh s\u1eeda Cron.<\/li>\n\n\n<li>M\u1ed9t m\u00e1y t\u00ednh Windows c\u00f3 tr\u00ecnh duy\u1ec7t \u0111\u1ec3 x\u00e1c th\u1ef1c Google Drive.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"H\u01b0\u1edbng_d\u1eabn_t\u1ef1_\u0111\u1ed9ng_backup_n8n_v\u00e0_OpenClaw_l\u00ean_Google_Drive\">H\u01b0\u1edbng d\u1eabn t\u1ef1 \u0111\u1ed9ng backup n8n v\u00e0 OpenClaw l\u00ean Google Drive<\/h2>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_1_\u2013_K\u1ebft_n\u1ed1i_Google_Drive_v\u1edbi_t\u1eebng_VPS_b\u1eb1ng_Rclone\">B\u01b0\u1edbc 1 \u2013 K\u1ebft n\u1ed1i Google Drive v\u1edbi t\u1eebng VPS b\u1eb1ng Rclone<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Rclone l\u00e0 c\u00f4ng c\u1ee5 gi\u00fap sao ch\u00e9p d\u1eef li\u1ec7u t\u1eeb VPS l\u00ean c\u00e1c d\u1ecbch v\u1ee5 l\u01b0u tr\u1eef \u0111\u00e1m m\u00e2y, bao g\u1ed3m Google Drive. Trong m\u00f4 h\u00ecnh hai VPS, c\u1ea7n c\u00e0i v\u00e0 c\u1ea5u h\u00ecnh Rclone ri\u00eang tr\u00ean t\u1eebng m\u00e1y ch\u1ee7.<\/p>\n\n\n\n<h4 id=\"1.1._C\u00e0i_\u0111\u1eb7t_Rclone_tr\u00ean_VPS_1_v\u00e0_VPS_2\">1.1. C\u00e0i \u0111\u1eb7t Rclone tr\u00ean VPS 1 v\u00e0 VPS 2<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u01b0\u1edbc ti\u00ean, s\u1eed d\u1ee5ng Xshell \u0111\u0103ng nh\u1eadp VPS 1 (n8n).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e0i \u0111\u1eb7t c\u00e1c c\u00f4ng c\u1ee5 c\u1ea7n thi\u1ebft:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install -y curl nano tar cron<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e0i c\u00f4ng c\u1ee5 gi\u1ea3i n\u00e9n unzip:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install -y unzip<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e0i Rclone b\u1eb1ng script ch\u00ednh th\u1ee9c:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -v\ncurl https:\/\/rclone.org\/install.sh | sudo bash<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"967\" height=\"526\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-11.png\" alt=\"C\u00e0i \u0111\u1eb7t Rclone tr\u00ean VPS 1 v\u00e0 VPS 2\" class=\"wp-image-131005\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-11.png 967w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-11-300x163.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-11-768x418.png 768w\" sizes=\"(max-width: 967px) 100vw, 967px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi ho\u00e0n t\u1ea5t, \u0111\u0103ng nh\u1eadp VPS 2 (OpenClaw) v\u00e0 th\u1ef1c hi\u1ec7n l\u1ea1i c\u00e1c l\u1ec7nh t\u01b0\u01a1ng t\u1ef1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nh\u01b0 v\u1eady, c\u1ea3 hai VPS \u0111\u1ec1u \u0111\u00e3 c\u00f3 Rclone.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"943\" height=\"522\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_2-10.png\" alt=\"C\u00e0i \u0111\u1eb7t Rclone tr\u00ean VPS 1 v\u00e0 VPS 2\" class=\"wp-image-131006\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_2-10.png 943w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_2-10-300x166.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_2-10-768x425.png 768w\" sizes=\"(max-width: 943px) 100vw, 943px\" \/><\/figure>\n\n\n\n<h4 id=\"1.2._Chu\u1ea9n_b\u1ecb_Google_Drive_v\u00e0_OAuth_Client_ID\">1.2. Chu\u1ea9n b\u1ecb Google Drive v\u00e0 OAuth Client ID<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea1n ch\u1ec9 c\u1ea7n chu\u1ea9n b\u1ecb m\u1ed9t t\u00e0i kho\u1ea3n Google Drive cho c\u1ea3 hai VPS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u01b0\u1edbc ti\u00ean, \u0111\u0103ng nh\u1eadp <a href=\"https:\/\/drive.google.com\" rel=\"nofollow noopener\" target=\"_blank\">Google Drive<\/a> v\u00e0 t\u1ea1o th\u01b0 m\u1ee5c: <strong>AI-Backups<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ti\u1ebfp theo, t\u1ea1o th\u00f4ng tin x\u00e1c th\u1ef1c Google Drive API:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>T\u1ea1o Project tr\u00ean Google Cloud<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Truy c\u1eadp <a href=\"https:\/\/console.cloud.google.com\/\" rel=\"nofollow noopener\" target=\"_blank\">Google Cloud Console<\/a> v\u00e0 \u0111\u0103ng nh\u1eadp t\u00e0i kho\u1ea3n Google.<\/li>\n\n\n<li>Nh\u1ea5n v\u00e0o m\u1ee5c ch\u1ecdn Project \u1edf thanh c\u00f4ng c\u1ee5 ph\u00eda tr\u00ean.<\/li>\n\n\n<li>Ch\u1ecdn <strong>New Project (D\u1ef1 \u00e1n m\u1edbi)<\/strong>.<\/li>\n\n\n<li>\u0110\u1eb7t t\u00ean, v\u00ed d\u1ee5 <code>VPS-Auto-Backup<\/code>, sau \u0111\u00f3 nh\u1ea5n <strong>Create<\/strong>.<\/li>\n\n\n<li>Ch\u1ecdn Project v\u1eeba t\u1ea1o \u0111\u1ec3 ti\u1ebfp t\u1ee5c c\u1ea5u h\u00ecnh.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1461\" height=\"764\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_4-9.png\" alt=\"T\u1ea1o Project tr\u00ean Google Cloud\" class=\"wp-image-131007\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_4-9.png 1461w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_4-9-300x157.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_4-9-1024x535.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_4-9-768x402.png 768w\" sizes=\"(max-width: 1461px) 100vw, 1461px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>K\u00edch ho\u1ea1t Google Drive API<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Trong Google Cloud Console, truy c\u1eadp <strong>APIs &amp; Services \u2192 Library<\/strong>.<\/li>\n\n\n<li>Nh\u1eadp <code>Google Drive API<\/code> v\u00e0o \u00f4 t\u00ecm ki\u1ebfm.<\/li>\n\n\n<li>Ch\u1ecdn <strong>Google Drive API<\/strong> trong k\u1ebft qu\u1ea3.<\/li>\n\n\n<li>Nh\u1ea5n <strong>Enable (B\u1eadt)<\/strong> \u0111\u1ec3 k\u00edch ho\u1ea1t d\u1ecbch v\u1ee5.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"899\" height=\"492\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_5-11.png\" alt=\"K\u00edch ho\u1ea1t Google Drive API\" class=\"wp-image-131008\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_5-11.png 899w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_5-11-300x164.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_5-11-768x420.png 768w\" sizes=\"(max-width: 899px) 100vw, 899px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>C\u1ea5u h\u00ecnh m\u00e0n h\u00ecnh OAuth<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Truy c\u1eadp <strong>Google Auth Platform \u2192 Branding<\/strong>.<\/li>\n\n\n<li>N\u1ebfu ch\u01b0a thi\u1ebft l\u1eadp, nh\u1ea5n <strong>Get Started<\/strong>.<\/li>\n\n\n<li>Nh\u1eadp c\u00e1c th\u00f4ng tin: <strong>App name:<\/strong> <code>Rclone VPS Backup<\/code><\/li>\n\n\n<li><strong>User support email:<\/strong> Ch\u1ecdn email Google c\u1ee7a b\u1ea1n.<\/li>\n\n\n<li><strong>Audience:<\/strong> Ch\u1ecdn <code>External<\/code> n\u1ebfu s\u1eed d\u1ee5ng t\u00e0i kho\u1ea3n Google c\u00e1 nh\u00e2n.<\/li>\n\n\n<li><strong>Contact information:<\/strong> Nh\u1eadp email li\u00ean h\u1ec7.<\/li>\n\n\n<li>\u0110\u1ed3ng \u00fd v\u1edbi ch\u00ednh s\u00e1ch c\u1ee7a Google v\u00e0 nh\u1ea5n <strong>Create<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1580\" height=\"851\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_6-11.png\" alt=\"Google Auth Platform m\u1ee5c Branding b\u00e1o ch\u01b0a c\u1ea5u h\u00ecnh, n\u00fat Get started\" class=\"wp-image-131009\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_6-11.png 1580w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_6-11-300x162.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_6-11-1024x552.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_6-11-768x414.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_6-11-1536x827.png 1536w\" sizes=\"(max-width: 1580px) 100vw, 1580px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1228\" height=\"783\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-01.webp\" alt=\"M\u00e0n h\u00ecnh App Information c\u1ee7a Google Auth Platform: App name Rclone VPS Backup, User support email (\u0111\u00e3 thay b\u1eb1ng ten@example.com)\" class=\"wp-image-131854\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-01.webp 1228w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-01-300x191.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-01-1024x653.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-01-768x490.webp 768w\" sizes=\"(max-width: 1228px) 100vw, 1228px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ti\u1ebfp theo, v\u00e0o <strong>Google Auth Platform \u2192 Data Access<\/strong>, ch\u1ecdn <strong>Add or Remove Scopes<\/strong>, k\u00e9o xu\u1ed1ng v\u00e0 th\u00eam quy\u1ec1n:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>https:\/\/www.googleapis.com\/auth\/drive.file<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Quy\u1ec1n n\u00e0y cho ph\u00e9p Rclone truy c\u1eadp v\u00e0 qu\u1ea3n l\u00fd c\u00e1c t\u1ec7p \u0111\u01b0\u1ee3c t\u1ea1o th\u00f4ng qua \u1ee9ng d\u1ee5ng, ph\u00f9 h\u1ee3p v\u1edbi nhu c\u1ea7u backup m\u00e0 kh\u00f4ng c\u1ea7n c\u1ea5p quy\u1ec1n truy c\u1eadp to\u00e0n b\u1ed9 Google Drive.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1404\" height=\"812\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_8-8.png\" alt=\"C\u1ea5u h\u00ecnh m\u00e0n h\u00ecnh OAuth\" class=\"wp-image-131011\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_8-8.png 1404w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_8-8-300x174.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_8-8-1024x592.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_8-8-768x444.png 768w\" sizes=\"(max-width: 1404px) 100vw, 1404px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Th\u00eam t\u00e0i kho\u1ea3n th\u1eed nghi\u1ec7m<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Truy c\u1eadp <strong>Google Auth Platform \u2192 Audience<\/strong>.<\/li>\n\n\n<li>T\u00ecm m\u1ee5c <strong>Test users<\/strong> v\u00e0 nh\u1ea5n <strong>Add users<\/strong>.<\/li>\n\n\n<li>Nh\u1eadp \u0111\u1ecba ch\u1ec9 Gmail s\u1ebd s\u1eed d\u1ee5ng \u0111\u1ec3 l\u01b0u c\u00e1c b\u1ea3n backup.<\/li>\n\n\n<li>Nh\u1ea5n <strong>Save<\/strong> \u0111\u1ec3 ho\u00e0n t\u1ea5t.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1268\" height=\"727\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-02.webp\" alt=\"M\u1ee5c Test users trong Google Auth Platform \u2192 Audience v\u1edbi n\u00fat Add users v\u00e0 email ng\u01b0\u1eddi d\u00f9ng th\u1eed (\u0111\u00e3 thay b\u1eb1ng ten@example.com)\" class=\"wp-image-131855\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-02.webp 1268w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-02-300x172.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-02-1024x587.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-02-768x440.webp 768w\" sizes=\"(max-width: 1268px) 100vw, 1268px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L\u01b0u \u00fd:<\/strong> N\u1ebfu \u1ee9ng d\u1ee5ng External v\u1eabn \u1edf tr\u1ea1ng th\u00e1i <code>Testing<\/code>, refresh token c\u1ea5p quy\u1ec1n Google Drive th\u01b0\u1eddng h\u1ebft h\u1ea1n sau 7 ng\u00e0y. \u0110\u1ec3 s\u1eed d\u1ee5ng backup l\u00e2u d\u00e0i, b\u1ea1n n\u00ean xem x\u00e9t chuy\u1ec3n tr\u1ea1ng th\u00e1i sang <strong>In production<\/strong> b\u1eb1ng t\u00f9y ch\u1ecdn <strong>Publish App<\/strong> v\u00e0 ho\u00e0n th\u00e0nh nh\u1eefng y\u00eau c\u1ea7u x\u00e1c minh m\u00e0 Google \u00e1p d\u1ee5ng. V\u1edbi \u1ee9ng d\u1ee5ng c\u00e1 nh\u00e2n ch\u01b0a x\u00e1c minh, Google c\u00f3 th\u1ec3 hi\u1ec3n th\u1ecb c\u1ea3nh b\u00e1o khi \u0111\u0103ng nh\u1eadp.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>T\u1ea1o OAuth Client ID<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Truy c\u1eadp <strong>Google Auth Platform \u2192 Clients<\/strong>.<\/li>\n\n\n<li>Nh\u1ea5n <strong>Create Client<\/strong>.<\/li>\n\n\n<li>T\u1ea1i <strong>Application type<\/strong>, ch\u1ecdn <strong>Desktop app<\/strong>.<\/li>\n\n\n<li>\u0110\u1eb7t t\u00ean, v\u00ed d\u1ee5 <code>Rclone Backup Client<\/code>.<\/li>\n\n\n<li>Nh\u1ea5n <strong>Create<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi t\u1ea1o th\u00e0nh c\u00f4ng, Google s\u1ebd cung c\u1ea5p hai th\u00f4ng tin quan tr\u1ecdng:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Client ID:<\/strong> M\u00e3 \u0111\u1ecbnh danh \u1ee9ng d\u1ee5ng.<\/li>\n\n\n<li><strong>Client Secret:<\/strong> Kh\u00f3a b\u00ed m\u1eadt d\u00f9ng \u0111\u1ec3 x\u00e1c th\u1ef1c \u1ee9ng d\u1ee5ng.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1125\" height=\"685\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_10-8.png\" alt=\"T\u1ea1o OAuth client ID v\u1edbi Application type Desktop app v\u00e0 t\u00ean Rclone Backup Client\" class=\"wp-image-131013\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_10-8.png 1125w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_10-8-300x183.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_10-8-1024x624.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_10-8-768x468.png 768w\" sizes=\"(max-width: 1125px) 100vw, 1125px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sao ch\u00e9p v\u00e0 l\u01b0u gi\u1eef an to\u00e0n hai th\u00f4ng tin n\u00e0y \u0111\u1ec3 s\u1eed d\u1ee5ng khi ch\u1ea1y l\u1ec7nh <code>rclone config<\/code> tr\u00ean t\u1eebng VPS.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"617\" height=\"722\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-03.webp\" alt=\"H\u1ed9p OAuth client created hi\u1ec3n th\u1ecb Client ID v\u00e0 Client secret (\u0111\u00e3 \u0111\u01b0\u1ee3c che)\" class=\"wp-image-131856\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-03.webp 617w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-03-256x300.webp 256w\" sizes=\"(max-width: 617px) 100vw, 617px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>K\u1ebft qu\u1ea3:<\/strong> B\u1ea1n \u0111\u00e3 chu\u1ea9n b\u1ecb xong th\u00f4ng tin OAuth \u0111\u1ec3 k\u1ebft n\u1ed1i Rclone v\u1edbi Google Drive. \u1ede b\u01b0\u1edbc ti\u1ebfp theo, s\u1eed d\u1ee5ng c\u00f9ng Client ID v\u00e0 Client Secret \u0111\u1ec3 c\u1ea5u h\u00ecnh ri\u00eang cho VPS n8n v\u00e0 VPS OpenClaw. M\u1ed7i VPS c\u1ea7n ho\u00e0n t\u1ea5t qu\u00e1 tr\u00ecnh x\u00e1c th\u1ef1c Google Drive \u0111\u1ed9c l\u1eadp.<\/p>\n\n\n\n<h4 id=\"1.3._K\u1ebft_n\u1ed1i_Google_Drive_tr\u00ean_VPS_1_(n8n)\">1.3. K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 1 (n8n)<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">V\u1edbi h\u01b0\u1edbng d\u1eabn n\u00e0y, script backup n8n \u0111\u01b0\u1ee3c ch\u1ea1y b\u1eb1ng t\u00e0i kho\u1ea3n root \u0111\u1ec3 c\u00f3 quy\u1ec1n truy c\u1eadp Docker volume.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u00ean VPS 1, nh\u1eadp:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -i<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone config<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">L\u1ea7n l\u01b0\u1ee3t th\u1ef1c hi\u1ec7n:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>M\u1ee5c<\/th><th>Thao t\u00e1c<\/th><\/tr><\/thead><tbody><tr><td>New remote<\/td><td>Nh\u1eadp n<\/td><\/tr><tr><td>Name<\/td><td>Nh\u1eadp <code>gdrive<\/code><\/td><\/tr><tr><td>Storage<\/td><td>Ch\u1ecdn drive<\/td><\/tr><tr><td>Client ID<\/td><td>D\u00e1n Client ID \u0111\u00e3 t\u1ea1o<\/td><\/tr><tr><td>Client Secret<\/td><td>D\u00e1n Client Secret<\/td><\/tr><tr><td>Scope<\/td><td>Ch\u1ecdn drive.file<\/td><\/tr><tr><td>Advanced config<\/td><td>Ch\u1ecdn n<\/td><\/tr><tr><td>Use web browser<\/td><td>Ch\u1ecdn n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"957\" height=\"219\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_12-8.png\" alt=\"K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 1 (n8n)\" class=\"wp-image-131015\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_12-8.png 957w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_12-8-300x69.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_12-8-768x176.png 768w\" sizes=\"(max-width: 957px) 100vw, 957px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1059\" height=\"757\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_13-5.png\" alt=\"K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 1 (n8n)\" class=\"wp-image-131016\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_13-5.png 1059w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_13-5-300x214.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_13-5-1024x732.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_13-5-768x549.png 768w\" sizes=\"(max-width: 1059px) 100vw, 1059px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1204\" height=\"665\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-04.webp\" alt=\"rclone config h\u1ecfi client_id, client_secret (\u0111\u00e3 che) v\u00e0 ch\u1ecdn scope drive.file\" class=\"wp-image-131857\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-04.webp 1204w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-04-300x166.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-04-1024x566.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-04-768x424.webp 768w\" sizes=\"(max-width: 1204px) 100vw, 1204px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1132\" height=\"622\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_15-3.png\" alt=\"K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 1 (n8n)\" class=\"wp-image-131018\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_15-3.png 1132w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_15-3-300x165.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_15-3-766x421.png 766w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_15-3-1024x563.png 1024w\" sizes=\"(max-width: 1132px) 100vw, 1132px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Khi VPS y\u00eau c\u1ea7u x\u00e1c th\u1ef1c, Rclone s\u1ebd hi\u1ec3n th\u1ecb l\u1ec7nh rclone authorize c\u1ea7n ch\u1ea1y tr\u00ean m\u00e1y t\u00ednh c\u00f3 tr\u00ecnh duy\u1ec7t.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1898\" height=\"229\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-05.webp\" alt=\"rclone config y\u00eau c\u1ea7u ch\u1ea1y l\u1ec7nh rclone authorize tr\u00ean m\u00e1y c\u00f3 tr\u00ecnh duy\u1ec7t (chu\u1ed7i x\u00e1c th\u1ef1c \u0111\u00e3 che)\" class=\"wp-image-131858\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-05.webp 1898w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-05-300x36.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-05-1024x124.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-05-768x93.webp 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-05-1536x185.webp 1536w\" sizes=\"(max-width: 1898px) 100vw, 1898px\" \/><\/figure>\n\n\n\n<h4 id=\"1.4._X\u00e1c_th\u1ef1c_k\u1ebft_n\u1ed1i_Google_Drive_cho_VPS_b\u1eb1ng_Rclone_tr\u00ean_Windows\">1.4. X\u00e1c th\u1ef1c k\u1ebft n\u1ed1i Google Drive cho VPS b\u1eb1ng Rclone tr\u00ean Windows<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tr\u00ean m\u00e1y t\u00ednh Windows:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Truy c\u1eadp <a href=\"https:\/\/rclone.org\/downloads\/\" rel=\"nofollow noopener\" target=\"_blank\">trang t\u1ea3i Rclone<\/a>, t\u1ea3i phi\u00ean b\u1ea3n Windows v\u00e0 gi\u1ea3i n\u00e9n.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1edf th\u01b0 m\u1ee5c ch\u1ee9a t\u1ec7p <code>rclone.exe<\/code> -&gt; nh\u1ea5n chu\u1ed9t ph\u1ea3i v\u00e0o t\u1ec7p -&gt; ch\u1ecdn <strong>M\u1edf v\u1edbi Terminal<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Quay l\u1ea1i Xshell, sao ch\u00e9p to\u00e0n b\u1ed9 l\u1ec7nh <code>rclone authorize<\/code> m\u00e0 VPS cung c\u1ea5p.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1465\" height=\"672\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-06.webp\" alt=\"PowerShell tr\u00ean Windows ch\u1ea1y l\u1ec7nh rclone authorize &quot;drive&quot; k\u00e8m chu\u1ed7i x\u00e1c th\u1ef1c (\u0111\u00e3 che)\" class=\"wp-image-131859\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-06.webp 1465w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-06-300x138.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-06-1024x470.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-06-768x352.webp 768w\" sizes=\"(max-width: 1465px) 100vw, 1465px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">D\u00e1n l\u1ec7nh v\u00e0o PowerShell, th\u00eam <code><strong>.\\<\/strong><\/code> tr\u01b0\u1edbc <code>rclone<\/code> (th\u00e0nh <code>.\\rclone.exe authorize...<\/code>), r\u1ed3i nh\u1ea5n <strong>Enter<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u00ecnh duy\u1ec7t s\u1ebd m\u1edf trang \u0111\u0103ng nh\u1eadp Google. Ch\u1ecdn t\u00e0i kho\u1ea3n Google Drive, c\u1ea5p quy\u1ec1n v\u00e0 ch\u1edd th\u00f4ng b\u00e1o x\u00e1c th\u1ef1c th\u00e0nh c\u00f4ng.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1558\" height=\"772\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-07.webp\" alt=\"Trang ch\u1ecdn t\u00e0i kho\u1ea3n Google \u0111\u1ec3 c\u1ea5p quy\u1ec1n cho \u1ee9ng d\u1ee5ng Rclone VPS Backup (t\u00ean v\u00e0 email c\u00e1c t\u00e0i kho\u1ea3n \u0111\u00e3 l\u00e0m m\u1edd)\" class=\"wp-image-131860\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-07.webp 1558w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-07-300x149.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-07-1024x507.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-07-768x381.webp 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-07-1536x761.webp 1536w\" sizes=\"(max-width: 1558px) 100vw, 1558px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Quay l\u1ea1i PowerShell, sao ch\u00e9p to\u00e0n b\u1ed9 chu\u1ed7i k\u00fd t\u1ef1 n\u1eb1m gi\u1eefa <code>Paste the following into your remote machine<\/code> v\u00e0 <code>End paste<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1460\" height=\"714\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-08.webp\" alt=\"PowerShell tr\u1ea3 v\u1ec1 chu\u1ed7i token gi\u1eefa Paste the following into your remote machine v\u00e0 End paste (\u0111\u00e3 che)\" class=\"wp-image-131861\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-08.webp 1460w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-08-300x147.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-08-1024x501.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-08-768x376.webp 768w\" sizes=\"(max-width: 1460px) 100vw, 1460px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u1edf l\u1ea1i Xshell, d\u00e1n chu\u1ed7i v\u00e0o d\u00f2ng <code>config_token&gt;<\/code> r\u1ed3i nh\u1ea5n <strong>Enter<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1894\" height=\"398\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-09.webp\" alt=\"D\u00e1n config_token v\u00e0o rclone config tr\u00ean VPS (token \u0111\u00e3 che) r\u1ed3i ch\u1ecdn n \u1edf c\u00e2u h\u1ecfi Shared Drive\" class=\"wp-image-131862\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-09.webp 1894w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-09-300x63.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-09-1024x215.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-09-768x161.webp 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-09-1536x323.webp 1536w\" sizes=\"(max-width: 1894px) 100vw, 1894px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ho\u00e0n t\u1ea5t c\u1ea5u h\u00ecnh tr\u00ean VPS:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Khi \u0111\u01b0\u1ee3c h\u1ecfi <strong>Configure this as a Shared Drive?<\/strong>, ch\u1ecdn <code>n<\/code> n\u1ebfu s\u1eed d\u1ee5ng Google Drive c\u00e1 nh\u00e2n.<\/li>\n\n\n<li>T\u1ea1i <strong>Keep this \u201cgdrive\u201d remote?<\/strong>, ch\u1ecdn <code>y<\/code> \u0111\u1ec3 l\u01b0u.<\/li>\n\n\n<li>Nh\u1eadp <code>q<\/code> \u0111\u1ec3 tho\u00e1t menu c\u1ea5u h\u00ecnh Rclone.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1897\" height=\"592\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-10.webp\" alt=\"rclone b\u00e1o Configuration complete v\u1edbi remote gdrive ki\u1ec3u drive (client_id, client_secret, token \u0111\u00e3 che)\" class=\"wp-image-131863\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-10.webp 1897w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-10-300x94.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-10-1024x320.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-10-768x240.webp 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-10-1536x479.webp 1536w\" sizes=\"(max-width: 1897px) 100vw, 1897px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ki\u1ec3m tra k\u1ebft n\u1ed1i:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone lsd gdrive:<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"624\" height=\"321\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_22-1.png\" alt=\"Ki\u1ec3m tra k\u1ebft n\u1ed1i:\" class=\"wp-image-131024\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_22-1.png 624w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_22-1-300x154.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu kh\u00f4ng xu\u1ea5t hi\u1ec7n l\u1ed7i x\u00e1c th\u1ef1c, k\u1ebft n\u1ed1i \u0111\u00e3 ho\u1ea1t \u0111\u1ed9ng. Danh s\u00e1ch th\u01b0 m\u1ee5c c\u00f3 th\u1ec3 tr\u1ed1ng khi s\u1eed d\u1ee5ng quy\u1ec1n <code>drive.file<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L\u01b0u \u00fd:<\/strong> Kh\u00f4ng chia s\u1ebb Client Secret ho\u1eb7c chu\u1ed7i x\u00e1c th\u1ef1c \u0111\u01b0\u1ee3c PowerShell tr\u1ea3 v\u1ec1 v\u00ec \u0111\u00e2y l\u00e0 th\u00f4ng tin nh\u1ea1y c\u1ea3m; c\u00e1c \u1ea3nh trong b\u00e0i \u0111\u00e3 che nh\u1eefng gi\u00e1 tr\u1ecb n\u00e0y. N\u1ebfu l\u1ee1 l\u1ed9, x\u00f3a OAuth client c\u0169 trong Google Cloud v\u00e0 t\u1ea1o client m\u1edbi.<\/p>\n\n\n\n<h4 id=\"1.5._K\u1ebft_n\u1ed1i_Google_Drive_tr\u00ean_VPS_2_(OpenClaw)\">1.5. K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 2 (OpenClaw)<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u00ean VPS 2, c\u1ea7n th\u1ef1c hi\u1ec7n Rclone b\u1eb1ng \u0111\u00fang t\u00e0i kho\u1ea3n Linux \u0111ang v\u1eadn h\u00e0nh OpenClaw.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra t\u00e0i kho\u1ea3n hi\u1ec7n t\u1ea1i:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>whoami<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra OpenClaw:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>command -v openclaw<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu l\u1ec7nh th\u1ee9 hai kh\u00f4ng tr\u1ea3 v\u1ec1 \u0111\u01b0\u1eddng d\u1eabn, c\u1ea7n \u0111\u0103ng nh\u1eadp t\u00e0i kho\u1ea3n th\u1ef1c s\u1ef1 \u0111\u00e3 c\u00e0i OpenClaw ho\u1eb7c x\u00e1c \u0111\u1ecbnh \u0111\u01b0\u1eddng d\u1eabn th\u1ef1c thi tr\u01b0\u1edbc khi ti\u1ebfp t\u1ee5c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3 nh\u1eadp:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone config<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Th\u1ef1c hi\u1ec7n c\u1ea5u h\u00ecnh gi\u1ed1ng VPS 1<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Remote name: gdrive<\/li>\n\n\n<li>Storage: drive<\/li>\n\n\n<li>Client ID v\u00e0 Client Secret: D\u00f9ng l\u1ea1i th\u00f4ng tin \u0111\u00e3 t\u1ea1o.<\/li>\n\n\n<li>Google Account: \u0110\u0103ng nh\u1eadp c\u00f9ng t\u00e0i kho\u1ea3n Google Drive.<\/li>\n\n\n<li>X\u00e1c th\u1ef1c: Th\u1ef1c hi\u1ec7n tr\u00ean Windows n\u1ebfu VPS kh\u00f4ng c\u00f3 tr\u00ecnh duy\u1ec7t.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1894\" height=\"739\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-11.webp\" alt=\"C\u1ea5u h\u00ecnh remote gdrive tr\u00ean VPS 2 OpenClaw ho\u00e0n t\u1ea5t (client_id, client_secret, token \u0111\u00e3 che)\" class=\"wp-image-131864\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-11.webp 1894w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-11-300x117.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-11-1024x400.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-11-768x300.webp 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-sua-11-1536x599.webp 1536w\" sizes=\"(max-width: 1894px) 100vw, 1894px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Cu\u1ed1i c\u00f9ng, ki\u1ec3m tra:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone lsd gdrive:<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>K\u1ebft qu\u1ea3:<\/strong> C\u1ea3 hai VPS \u0111\u1ec1u c\u00f3 m\u1ed9t remote t\u00ean gdrive, nh\u01b0ng c\u1ea5u h\u00ecnh \u0111\u01b0\u1ee3c l\u01b0u \u0111\u1ed9c l\u1eadp tr\u00ean t\u1eebng m\u00e1y.<\/p>\n\n\n\n<h4 id=\"1.6._M\u00e3_h\u00f3a_v\u00e0_ph\u00e2n_chia_th\u01b0_m\u1ee5c_backup\">1.6. M\u00e3 h\u00f3a v\u00e0 ph\u00e2n chia th\u01b0 m\u1ee5c backup<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ec3 tr\u00e1nh l\u01b0u API Key v\u00e0 th\u00f4ng tin x\u00e1c th\u1ef1c \u1edf d\u1ea1ng d\u1ec5 \u0111\u1ecdc tr\u00ean Google Drive, n\u00ean t\u1ea1o th\u00eam remote m\u00e3 h\u00f3a crypt.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u00ean VPS 1, ch\u1ea1y:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone config<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ecdn t\u1ea1o remote m\u1edbi v\u1edbi th\u00f4ng tin:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>M\u1ee5c<\/th><th>Gi\u00e1 tr\u1ecb<\/th><\/tr><\/thead><tbody><tr><td>Name<\/td><td>secure<\/td><\/tr><tr><td>Storage<\/td><td>crypt<\/td><\/tr><tr><td>Remote to encrypt<\/td><td>gdrive:AI-Backups\/n8n<\/td><\/tr><tr><td>Filename encryption<\/td><td>standard<\/td><\/tr><tr><td>Directory encryption<\/td><td>true<\/td><\/tr><tr><td>Password<\/td><td>T\u1ea1o m\u1eadt kh\u1ea9u m\u1ea1nh<\/td><\/tr><tr><td>Password2<\/td><td>T\u1ea1o salt ri\u00eang<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1075\" height=\"774\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_24-1.png\" alt=\"M\u00e3 h\u00f3a v\u00e0 ph\u00e2n chia th\u01b0 m\u1ee5c backup\" class=\"wp-image-131026\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_24-1.png 1075w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_24-1-300x216.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_24-1-1024x737.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_24-1-768x553.png 768w\" sizes=\"(max-width: 1075px) 100vw, 1075px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">L\u01b0u c\u1ea5u h\u00ecnh r\u1ed3i ti\u1ebfp t\u1ee5c tr\u00ean VPS 2, t\u1ea1o remote secure t\u01b0\u01a1ng t\u1ef1, nh\u01b0ng thay \u0111\u01b0\u1eddng d\u1eabn:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>gdrive:AI-Backups\/openclaw<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1ed7i VPS c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng kh\u00f3a m\u00e3 h\u00f3a ri\u00eang v\u00ec hai th\u01b0 m\u1ee5c l\u01b0u tr\u1eef ho\u00e0n to\u00e0n \u0111\u1ed9c l\u1eadp. C\u1ea7n gi\u1eef l\u1ea1i kh\u00f3a, salt v\u00e0 c\u1ea5u h\u00ecnh Rclone c\u1ee7a t\u1eebng m\u00e1y \u0111\u1ec3 c\u00f3 th\u1ec3 gi\u1ea3i m\u00e3 khi kh\u00f4i ph\u1ee5c.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"770\" height=\"354\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_26.png\" alt=\"M\u00e3 h\u00f3a v\u00e0 ph\u00e2n chia th\u01b0 m\u1ee5c backup\" class=\"wp-image-130984\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_26.png 770w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_26-300x138.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_26-768x353.png 768w\" sizes=\"(max-width: 770px) 100vw, 770px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra tr\u00ean t\u1eebng VPS:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone mkdir secure:<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone lsf secure:<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu kh\u00f4ng c\u00f3 l\u1ed7i truy c\u1eadp, remote m\u00e3 h\u00f3a \u0111\u00e3 s\u1eb5n s\u00e0ng. Rclone s\u1ebd t\u1ef1 m\u00e3 h\u00f3a d\u1eef li\u1ec7u khi t\u1ea3i l\u00ean v\u00e0 gi\u1ea3i m\u00e3 khi t\u1ea3i v\u1ec1.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"704\" height=\"328\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_27.png\" alt=\"M\u00e3 h\u00f3a v\u00e0 ph\u00e2n chia th\u01b0 m\u1ee5c backup\" class=\"wp-image-130983\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_27.png 704w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_27-300x140.png 300w\" sizes=\"(max-width: 704px) 100vw, 704px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">T\u1eeb \u0111\u00e2y, c\u00e1c b\u01b0\u1edbc ti\u1ebfp theo \u0111\u01b0\u1ee3c t\u00e1ch ho\u00e0n to\u00e0n theo t\u1eebng VPS.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_2_\u2013_T\u1ef1_\u0111\u1ed9ng_backup_n8n_tr\u00ean_VPS_th\u1ee9_nh\u1ea5t\">B\u01b0\u1edbc 2 \u2013 T\u1ef1 \u0111\u1ed9ng backup n8n tr\u00ean VPS th\u1ee9 nh\u1ea5t<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ph\u1ea7n n\u00e0y ch\u1ec9 th\u1ef1c hi\u1ec7n tr\u00ean <strong>VPS 1 \u2013 m\u00e1y ch\u1ee7 \u0111ang ch\u1ea1y n8n<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">B\u01b0\u1edbc n\u00e0y t\u1ea1o m\u1ed9t script d\u1eebng n8n trong th\u1eddi gian ng\u1eafn, sao l\u01b0u database PostgreSQL c\u00f9ng th\u01b0 m\u1ee5c .n8n r\u1ed3i t\u1ea3i b\u1ea3n backup l\u00ean Google Drive. Sau \u0111\u00f3, Cron t\u1ef1 ch\u1ea1y script m\u1ed7i ng\u00e0y. N\u1ebfu n8n c\u00f2n d\u00f9ng SQLite, xem c\u00e1ch chuy\u1ec3n \u1edf b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/doi-database-n8n-tu-sqlite-sang-postgresql\/\">\u0111\u1ed5i database n8n t\u1eeb SQLite sang PostgreSQL<\/a>.<\/p>\n\n\n\n<h4 id=\"2.1._Ki\u1ec3m_tra_container_v\u00e0_d\u1eef_li\u1ec7u_n8n\">2.1. Ki\u1ec3m tra container v\u00e0 d\u1eef li\u1ec7u n8n<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u0103ng nh\u1eadp VPS 1 b\u1eb1ng Xshell.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra container:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo docker ps<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">X\u00e1c \u0111\u1ecbnh t\u00ean container trong c\u1ed9t NAMES. V\u00ed d\u1ee5:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>n8n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ti\u1ebfp t\u1ee5c ki\u1ec3m tra lo\u1ea1i c\u01a1 s\u1edf d\u1eef li\u1ec7u (gi\u1ea3 s\u1eed t\u00ean container l\u00e0<strong> n8n-n8n-1<\/strong>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo docker inspect n8n-n8n-1 --format '{{range .Config.Env}}{{println .}}{{end}}' | grep '^DB_TYPE='<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>N\u1ebfu hi\u1ec3n th\u1ecb <code>DB_TYPE=postgresdb<\/code>, d\u00f9ng nguy\u00ean script \u1edf m\u1ee5c 2.2.<\/li>\n\n\n<li>N\u1ebfu kh\u00f4ng c\u00f3 k\u1ebft qu\u1ea3 ho\u1eb7c hi\u1ec3n th\u1ecb <code>DB_TYPE=sqlite<\/code>, n8n \u0111ang d\u00f9ng SQLite: database n\u1eb1m s\u1eb5n trong th\u01b0 m\u1ee5c .n8n. B\u1ecf c\u00e1c d\u00f2ng POSTGRES, pg_dump, pg_restore trong script; ph\u1ea7n n\u00e9n th\u01b0 m\u1ee5c .n8n khi n8n \u0111\u00e3 d\u1eebng l\u00e0 \u0111\u1ee7.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra v\u1ecb tr\u00ed th\u01b0 m\u1ee5c d\u1eef li\u1ec7u:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo docker inspect n8n-n8n-1 --format '{{range .Mounts}}{{println .Destination \"-&gt;\" .Source}}{{end}}'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">L\u1ec7nh n\u00e0y s\u1ebd tr\u1ea3 v\u1ec1 v\u1ecb tr\u00ed th\u01b0 m\u1ee5c .n8n \u0111\u01b0\u1ee3c mount tr\u00ean VPS.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1755\" height=\"313\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_28.png\" alt=\"T\u1ef1 \u0111\u1ed9ng backup n8n tr\u00ean VPS th\u1ee9 nh\u1ea5t\" class=\"wp-image-130982\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_28.png 1755w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_28-300x54.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_28-1024x183.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_28-768x137.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_28-1536x274.png 1536w\" sizes=\"(max-width: 1755px) 100vw, 1755px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu kh\u00f4ng c\u00f3 k\u1ebft qu\u1ea3, c\u1ea7n x\u00e1c \u0111\u1ecbnh l\u1ea1i c\u00e1ch n8n l\u01b0u d\u1eef li\u1ec7u. Kh\u00f4ng ti\u1ebfp t\u1ee5c v\u1edbi \u0111\u01b0\u1eddng d\u1eabn ch\u01b0a x\u00e1c minh.<\/p>\n\n\n\n<h4 id=\"2.2._T\u1ea1o_script_backup_n8n\">2.2. T\u1ea1o script backup n8n<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">T\u1ea1o script tr\u00ean VPS 1 (v\u00ed d\u1ee5 cho n8n d\u00f9ng <strong>PostgreSQL<\/strong>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/usr\/local\/bin\/backup-n8n.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">D\u00e1n to\u00e0n b\u1ed9 n\u1ed9i dung sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/usr\/bin\/env bash\nset -Eeuo pipefail\numask 077\nexport PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin\n# Cau hinh VPS n8n\nN8N=\"n8n-n8n-1\"\nWORKER=\"n8n-n8n-worker-1\"\nPOSTGRES=\"n8n-postgres-1\"\nDATA_DIR=\"\/var\/lib\/docker\/volumes\/n8n_n8n_data\/_data\"\nBACKUP_DIR=\"\/var\/backups\/n8n\"\nDATE=\"$(date +%Y%m%d-%H%M%S)\"\nmkdir -p \"$BACKUP_DIR\"\nchmod 700 \"$BACKUP_DIR\"\nBACKUP_FILE=\"$BACKUP_DIR\/n8n-$DATE.tar.gz\"\nTMP=\"$(mktemp -d \"$BACKUP_DIR\/.tmp-XXXXXXXX\")\"\nSTOP_PHASE=0\n# Khoi dong lai n8n neu xay ra loi\ncleanup() {\n  local status=$?\n  trap - EXIT\n  if [[ \"$STOP_PHASE\" == 1 ]]; then\n    for c in \"$N8N\" \"$WORKER\"; do\n      if [[ \"$(docker inspect -f '{{.State.Running}}' \"$c\" 2&gt;\/dev\/null || true)\" == \"false\" ]]; then\n        docker start \"$c\" &gt;\/dev\/null || status=1\n      fi\n    done\n  fi\n  rm -rf -- \"$TMP\"\n  exit \"$status\"\n}\ntrap cleanup EXIT\necho \"Kiem tra he thong...\"\n# Kiem tra cac container\nfor c in \"$N8N\" \"$WORKER\" \"$POSTGRES\"; do\n  test \"$(docker inspect -f '{{.State.Running}}' \"$c\")\" = \"true\"\ndone\ntest -d \"$DATA_DIR\"\nrclone lsf secure: &gt;\/dev\/null\n# Xac dinh database n8n\nDB_NAME=\"$(docker inspect \"$N8N\" \\\n  --format '{{range .Config.Env}}{{println .}}{{end}}' \\\n  | sed -n 's\/^DB_POSTGRESDB_DATABASE=\/\/p' | head -n 1)\"\nif [[ -z \"$DB_NAME\" ]]; then\n  echo \"Khong xac dinh duoc database n8n\" &gt;&amp;2\n  exit 1\nfi\n# Kiem tra PostgreSQL truoc khi dung n8n\ndocker exec \"$POSTGRES\" sh -c \\\n  'psql -U \"${POSTGRES_USER:-postgres}\" -d \"$1\" -Atqc \"SELECT 1\"' \\\n  sh \"$DB_NAME\" | grep -qx 1\necho \"Tam dung n8n va Worker...\"\nSTOP_PHASE=1\ndocker stop --time 180 \"$WORKER\" &gt;\/dev\/null\ndocker stop --time 180 \"$N8N\" &gt;\/dev\/null\necho \"Backup PostgreSQL...\"\ndocker exec \"$POSTGRES\" sh -c \\\n  'exec pg_dump -U \"${POSTGRES_USER:-postgres}\" -d \"$1\" -Fc' \\\n  sh \"$DB_NAME\" &gt; \"$TMP\/postgres.dump\"\n# Kiem tra PostgreSQL dump\ndocker exec -i \"$POSTGRES\" pg_restore -l \\\n  &lt; \"$TMP\/postgres.dump\" &gt;\/dev\/null\necho \"Backup thu muc n8n...\"\ntar -C \"$DATA_DIR\" -czf \"$TMP\/n8n-data.tar.gz\" .\n# Backup Compose va .env neu tim thay\nCOMPOSE_DIR=\"$(docker inspect \"$N8N\" \\\n  --format '{{index .Config.Labels \"com.docker.compose.project.working_dir\"}}')\"\nif [[ -d \"$COMPOSE_DIR\" ]]; then\n  mkdir -p \"$TMP\/deployment\"\n  for f in compose.yaml compose.yml docker-compose.yml docker-compose.yaml .env; do\n    if [[ -f \"$COMPOSE_DIR\/$f\" ]]; then\n      cp \"$COMPOSE_DIR\/$f\" \"$TMP\/deployment\/\"\n    fi\n  done\nfi\nprintf 'Database: %s\\nCreated: %s\\n' \\\n  \"$DB_NAME\" \"$DATE\" &gt; \"$TMP\/backup-info.txt\"\necho \"Khoi dong lai n8n va Worker...\"\ndocker start \"$N8N\" &gt;\/dev\/null\ndocker start \"$WORKER\" &gt;\/dev\/null\nSTOP_PHASE=0\necho \"Nen ban backup...\"\ntar -C \"$TMP\" -czf \"$BACKUP_FILE\" .\n# Kiem tra file nen\ntar -tzf \"$BACKUP_FILE\" &gt;\/dev\/null\necho \"Tai len Google Drive...\"\nrclone copyto \"$BACKUP_FILE\" \\\n  \"secure:$(basename \"$BACKUP_FILE\")\"\necho \"Don backup cuc bo cu...\"\nfind \"$BACKUP_DIR\" -maxdepth 1 -type f \\\n  -name 'n8n-*.tar.gz' -mtime +7 -delete\necho \"BACKUP N8N THANH CONG!\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>V\u1ec1 t\u00ean container:<\/strong> ba d\u00f2ng <code>N8N=\"n8n-n8n-1\"<\/code>, <code>WORKER=\"n8n-n8n-worker-1\"<\/code>, <code>POSTGRES=\"n8n-postgres-1\"<\/code> v\u00e0 \u0111\u01b0\u1eddng d\u1eabn <code>DATA_DIR<\/code> l\u1ea5y theo VPS n8n c\u1ee7a Tino (ch\u1ea1y queue mode c\u00f3 worker v\u00e0 PostgreSQL). T\u1ef1 c\u00e0i n8n th\u00ec xem t\u00ean th\u1eadt b\u1eb1ng <code>docker compose ps<\/code> v\u00e0 \u0111\u01b0\u1eddng d\u1eabn volume \u1edf m\u1ee5c 2.1, r\u1ed3i s\u1eeda l\u1ea1i. Kh\u00f4ng ch\u1ea1y queue mode th\u00ec x\u00f3a bi\u1ebfn WORKER v\u00e0 c\u00e1c d\u00f2ng d\u1eebng, kh\u1edfi \u0111\u1ed9ng WORKER.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Gi\u1ea3i th\u00edch:<\/strong> Script n\u00e0y s\u1ebd th\u1ef1c hi\u1ec7n:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Ki\u1ec3m tra n8n, Worker, PostgreSQL v\u00e0 k\u1ebft n\u1ed1i Rclone.<\/li>\n\n\n<li>T\u1ea1m d\u1eebng n8n c\u00f9ng Worker.<\/li>\n\n\n<li>Sao l\u01b0u c\u01a1 s\u1edf d\u1eef li\u1ec7u PostgreSQL b\u1eb1ng <code>pg_dump<\/code>.<\/li>\n\n\n<li>Sao l\u01b0u th\u01b0 m\u1ee5c d\u1eef li\u1ec7u <code>.n8n<\/code> v\u00e0 c\u00e1c t\u1ec7p Compose, <code>.env<\/code> th\u00f4ng d\u1ee5ng n\u1ebfu t\u00ecm th\u1ea5y.<\/li>\n\n\n<li>Kh\u1edfi \u0111\u1ed9ng l\u1ea1i n8n v\u00e0 Worker.<\/li>\n\n\n<li>N\u00e9n, ki\u1ec3m tra v\u00e0 t\u1ea3i b\u1ea3n backup l\u00ean Google Drive \u0111\u00e3 m\u00e3 h\u00f3a.<\/li>\n\n\n<li>X\u00f3a c\u00e1c b\u1ea3n backup c\u1ee5c b\u1ed9 c\u0169 h\u01a1n 7 ng\u00e0y.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1265\" height=\"710\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_29.png\" alt=\"T\u1ea1o script backup n8n\" class=\"wp-image-130985\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_29.png 1265w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_29-300x168.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_29-1024x575.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_29-768x431.png 768w\" sizes=\"(max-width: 1265px) 100vw, 1265px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea3n backup \u0111\u01b0\u1ee3c gi\u1eef l\u1ea1i tr\u00ean VPS trong kho\u1ea3ng th\u1eddi gian ng\u1eafn \u0111\u1ec3 thu\u1eadn ti\u1ec7n ki\u1ec3m tra. C\u00e1c t\u1ec7p c\u0169 h\u01a1n 7 ng\u00e0y s\u1ebd \u0111\u01b0\u1ee3c d\u1ecdn sau m\u1ed9t l\u1ea7n upload th\u00e0nh c\u00f4ng.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">L\u01b0u \u00fd quan tr\u1ecdng:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>N\u1ebfu container c\u00f3 t\u00ean kh\u00e1c, s\u1eeda c\u00e1c bi\u1ebfn N8N, WORKER, POSTGRES \u1edf \u0111\u1ea7u script.<\/li>\n\n\n<li>Script vi\u1ebft cho m\u1ed9t b\u1ea3n n8n v\u1edbi m\u1ed9t database PostgreSQL; kh\u00f4ng d\u00f9ng nguy\u00ean cho nhi\u1ec1u b\u1ea3n n8n c\u00f9ng ghi v\u00e0o m\u1ed9t database.<\/li>\n\n\n<li>C\u1ea7n sao l\u01b0u ri\u00eang t\u1ec7p Docker Compose, .env, th\u01b0 m\u1ee5c custom nodes ho\u1eb7c d\u1eef li\u1ec7u l\u01b0u b\u00ean ngo\u00e0i .n8n n\u1ebfu c\u00f3.<\/li>\n\n\n<li>N\u1ebfu s\u1eed d\u1ee5ng N8N_ENCRYPTION_KEY trong bi\u1ebfn m\u00f4i tr\u01b0\u1eddng, ph\u1ea3i l\u01b0u gi\u1eef gi\u00e1 tr\u1ecb n\u00e0y an to\u00e0n \u0111\u1ec3 kh\u00f4i ph\u1ee5c credentials.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu ph\u00e1t sinh l\u1ed7i sau khi d\u1eebng \u1ee9ng d\u1ee5ng, script s\u1ebd c\u1ed1 g\u1eafng kh\u1edfi \u0111\u1ed9ng l\u1ea1i n8n v\u00e0 Worker.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0110\u1eb7c bi\u1ec7t: <\/strong>Script ch\u1ec9 sao l\u01b0u c\u01a1 s\u1edf d\u1eef li\u1ec7u n8n, kh\u00f4ng bao g\u1ed3m d\u1eef li\u1ec7u \u0111\u1ed9c l\u1eadp c\u1ee7a NocoDB ho\u1eb7c Redis. C\u00e1c th\u01b0 m\u1ee5c l\u01b0u tr\u1eef b\u00ean ngo\u00e0i <code>.n8n<\/code>, t\u1ec7p Compose ho\u1eb7c <code>.env<\/code> n\u1eb1m \u1edf v\u1ecb tr\u00ed kh\u00e1c c\u0169ng c\u1ea7n \u0111\u01b0\u1ee3c ki\u1ec3m tra v\u00e0 sao l\u01b0u ri\u00eang.<\/p>\n\n\n\n<h4 id=\"2.3._Ch\u1ea1y_th\u1eed_script_backup_n8n\">2.3. Ch\u1ea1y th\u1eed script backup n8n<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">L\u01b0u script b\u1eb1ng <strong>Ctrl + O<\/strong>, nh\u1ea5n <strong>Enter<\/strong>, sau \u0111\u00f3 <strong>Ctrl + X<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">C\u1ea5p quy\u1ec1n th\u1ef1c thi:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo chmod 700 \/usr\/local\/bin\/backup-n8n.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ea1y th\u1eed:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo \/usr\/local\/bin\/backup-n8n.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu th\u00e0nh c\u00f4ng, cu\u1ed1i m\u00e0n h\u00ecnh s\u1ebd c\u00f3:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>BACKUP N8N THANH CONG!<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"549\" height=\"221\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_30.png\" alt=\" Ch\u1ea1y th\u1eed script backup n8n\" class=\"wp-image-130986\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_30.png 549w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_30-300x121.png 300w\" sizes=\"(max-width: 549px) 100vw, 549px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra c\u00e1c b\u1ea3n backup tr\u00ean Google Drive:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo rclone lsf secure:<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu c\u00f3 t\u1ec7p t\u00ean t\u01b0\u01a1ng t\u1ef1 \u201c<strong>n8n-20261016-020000.tar.gz<\/strong>\u201d th\u00ec b\u1ea3n backup \u0111\u00e3 \u0111\u01b0\u1ee3c t\u1ea3i l\u00ean.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"767\" height=\"278\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_32.png\" alt=\" Ch\u1ea1y th\u1eed script backup n8n\" class=\"wp-image-130987\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_32.png 767w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_32-300x109.png 300w\" sizes=\"(max-width: 767px) 100vw, 767px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">T\u00ean t\u1ec7p tr\u00ean ch\u1ec9 l\u00e0 v\u00ed d\u1ee5 minh h\u1ecda, kh\u00f4ng ph\u1ea3i k\u1ebft qu\u1ea3 ki\u1ec3m tra th\u1ef1c t\u1ebf.<\/p>\n\n\n\n<h4 id=\"2.4._Thi\u1ebft_l\u1eadp_backup_n8n_m\u1ed7i_ng\u00e0y\">2.4. Thi\u1ebft l\u1eadp backup n8n m\u1ed7i ng\u00e0y<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1eadt Cron:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable --now cron<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1edf l\u1ecbch Cron c\u1ee7a root:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo crontab -e<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Th\u00eam:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>0 2 * * * \/bin\/bash \/usr\/local\/bin\/backup-n8n.sh &gt;&gt; \/var\/log\/n8n-backup.log 2&gt;&amp;1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">L\u01b0u v\u00e0 tho\u00e1t. D\u00f2ng l\u1ec7nh n\u00e0y gi\u00fap VPS 1 t\u1ef1 \u0111\u1ed9ng backup n8n v\u00e0o 02:00 m\u1ed7i ng\u00e0y, theo m\u00fai gi\u1edd c\u1ee7a VPS.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"818\" height=\"534\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_33.png\" alt=\"Thi\u1ebft l\u1eadp backup n8n m\u1ed7i ng\u00e0y\" class=\"wp-image-130988\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_33.png 818w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_33-300x196.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_33-768x501.png 768w\" sizes=\"(max-width: 818px) 100vw, 818px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea1n c\u00f3 th\u1ec3 ki\u1ec3m tra l\u1ecbch \u0111\u00e3 l\u01b0u:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo crontab -l<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nh\u01b0 v\u1eady, ph\u1ea7n thi\u1ebft l\u1eadp tr\u00ean VPS 1 \u0111\u00e3 ho\u00e0n t\u1ea5t.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_3_\u2013_T\u1ef1_\u0111\u1ed9ng_backup_OpenClaw_tr\u00ean_VPS_th\u1ee9_hai\">B\u01b0\u1edbc 3 \u2013 T\u1ef1 \u0111\u1ed9ng backup OpenClaw tr\u00ean VPS th\u1ee9 hai<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ph\u1ea7n n\u00e0y ch\u1ec9 th\u1ef1c hi\u1ec7n tr\u00ean VPS 2 \u2013 m\u00e1y ch\u1ee7 \u0111ang ch\u1ea1y OpenClaw.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u00e1c v\u1edbi n8n, OpenClaw c\u00f3 s\u1eb5n c\u00f4ng c\u1ee5 sao l\u01b0u th\u00f4ng qua CLI. V\u00ec v\u1eady, ch\u00fang ta s\u1ebd s\u1eed d\u1ee5ng ch\u1ee9c n\u0103ng ch\u00ednh th\u1ee9c \u0111\u1ec3 t\u1ea1o b\u1ea3n backup tr\u01b0\u1edbc khi chuy\u1ec3n l\u00ean Google Drive.<\/p>\n\n\n\n<h4 id=\"3.1._Ki\u1ec3m_tra_t\u00ednh_n\u0103ng_backup_c\u1ee7a_OpenClaw\">3.1. Ki\u1ec3m tra t\u00ednh n\u0103ng backup c\u1ee7a OpenClaw<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u0103ng nh\u1eadp VPS 2 b\u1eb1ng Xshell, s\u1eed d\u1ee5ng \u0111\u00fang t\u00e0i kho\u1ea3n Linux qu\u1ea3n l\u00fd OpenClaw.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra phi\u00ean b\u1ea3n:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw --version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ti\u1ebfp t\u1ee5c ki\u1ec3m tra l\u1ec7nh backup:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw backup --help<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu phi\u00ean b\u1ea3n \u0111ang s\u1eed d\u1ee5ng c\u00f3 h\u1ed7 tr\u1ee3, CLI s\u1ebd hi\u1ec3n th\u1ecb c\u00e1c l\u1ec7nh qu\u1ea3n l\u00fd backup nh\u01b0 create, verify v\u00e0 restore.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"964\" height=\"543\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_34.png\" alt=\"Ki\u1ec3m tra t\u00ednh n\u0103ng backup c\u1ee7a OpenClaw\" class=\"wp-image-130989\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_34.png 964w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_34-300x169.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_34-768x433.png 768w\" sizes=\"(max-width: 964px) 100vw, 964px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Theo t\u00e0i li\u1ec7u OpenClaw, ch\u1ee9c n\u0103ng <strong>backup create<\/strong> h\u1ed7 tr\u1ee3 sao l\u01b0u tr\u1ea1ng th\u00e1i \u1ee9ng d\u1ee5ng, c\u1ea5u h\u00ecnh, credentials, agent directories v\u00e0 workspace theo c\u1ea5u h\u00ecnh.<\/p>\n\n\n\n<h4 id=\"3.2._T\u1ea1o_script_backup_OpenClaw\">3.2. T\u1ea1o script backup OpenClaw<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1edf Nano:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano ~\/backup-openclaw.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">D\u00e1n n\u1ed9i dung:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/usr\/bin\/env bash\nset -Eeuo pipefail\numask 077\nexport PATH=\"\/usr\/local\/bin:\/usr\/bin:\/bin:$HOME\/.local\/bin:$HOME\/.npm-global\/bin:$PATH\"\n# Ho tro OpenClaw cai qua NVM\nif [[ -s \"$HOME\/.nvm\/nvm.sh\" ]]; then\n  set +u\n  source \"$HOME\/.nvm\/nvm.sh\"\n  set -u\nfi\nBACKUP_DIR=\"\/var\/backups\/openclaw\"\nmkdir -p \"$BACKUP_DIR\"\nchmod 700 \"$BACKUP_DIR\"\necho \"Kiem tra OpenClaw va Google Drive...\"\ncommand -v openclaw &gt;\/dev\/null\ncommand -v rclone &gt;\/dev\/null\nrclone lsf secure: &gt;\/dev\/null\n# Tao thu muc tam\nTMP_DIR=\"$(mktemp -d \"$BACKUP_DIR\/.tmp-XXXXXXXX\")\"\ntrap 'rm -rf -- \"$TMP_DIR\"' EXIT\necho \"Dang tao backup OpenClaw...\"\nopenclaw backup create \\\n  --output \"$TMP_DIR\" \\\n  --verify\n# Tim file backup moi tao\nmapfile -d '' -t FILES &lt; &lt;(\n  find \"$TMP_DIR\" -maxdepth 1 \\\n    -type f -name '*.tar.gz' -print0\n)\nif [[ \"${#FILES[@]}\" -ne 1 ]]; then\n  echo \"Khong tim thay file backup hop le\" &gt;&amp;2\n  exit 1\nfi\nFILE=\"${FILES[0]}\"\nNAME=\"$(basename \"$FILE\")\"\n# Luu ban sao cuc bo\nmv -- \"$FILE\" \"$BACKUP_DIR\/$NAME\"\necho \"Dang tai backup len Google Drive...\"\nrclone copyto \\\n  \"$BACKUP_DIR\/$NAME\" \\\n  \"secure:$NAME\"\necho \"Don cac ban backup cuc bo cu...\"\nfind \"$BACKUP_DIR\" -maxdepth 1 -type f \\\n  -name '*.tar.gz' -mtime +7 -delete\necho \"BACKUP OPENCLAW THANH CONG!\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Script th\u1ef1c hi\u1ec7n c\u00e1c thao t\u00e1c:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Ki\u1ec3m tra c\u00f4ng c\u1ee5 OpenClaw v\u00e0 k\u1ebft n\u1ed1i Google Drive.<\/li>\n\n\n<li>T\u1ea1o b\u1ea3n backup g\u1ed3m c\u1ea5u h\u00ecnh, d\u1eef li\u1ec7u Agent, th\u00f4ng tin x\u00e1c th\u1ef1c, sessions v\u00e0 workspace theo c\u1ea5u h\u00ecnh.<\/li>\n\n\n<li>Ki\u1ec3m tra b\u1ea3n backup b\u1eb1ng <code>--verify<\/code>.<\/li>\n\n\n<li>L\u01b0u m\u1ed9t b\u1ea3n sao tr\u00ean VPS t\u1ea1i <code>\/var\/backups\/openclaw\/<\/code>.<\/li>\n\n\n<li>T\u1ea3i b\u1ea3n backup l\u00ean Google Drive th\u00f4ng qua remote <code>secure<\/code> \u0111\u00e3 m\u00e3 h\u00f3a.<\/li>\n\n\n<li>D\u1ecdn c\u00e1c b\u1ea3n backup c\u1ee5c b\u1ed9 c\u0169 h\u01a1n 7 ng\u00e0y sau khi t\u1ea3i l\u00ean th\u00e0nh c\u00f4ng.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Script kh\u00f4ng c\u1ea7n truy c\u1eadp VPS n8n. Hai VPS ho\u1ea1t \u0111\u1ed9ng ho\u00e0n to\u00e0n \u0111\u1ed9c l\u1eadp.<\/p>\n\n\n\n<h4 id=\"3.3._Ch\u1ea1y_th\u1eed_backup_OpenClaw\">3.3. Ch\u1ea1y th\u1eed backup OpenClaw<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">L\u01b0u script, sau \u0111\u00f3 c\u1ea5p quy\u1ec1n:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chmod 700 ~\/backup-openclaw.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ea1y th\u1eed:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bash ~\/backup-openclaw.sh<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"974\" height=\"387\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_36.png\" alt=\"Ch\u1ea1y th\u1eed backup OpenClaw\" class=\"wp-image-130990\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_36.png 974w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_36-300x119.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_36-768x305.png 768w\" sizes=\"(max-width: 974px) 100vw, 974px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu th\u00e0nh c\u00f4ng, ki\u1ec3m tra Google Drive:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone lsf secure:<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">K\u1ebft qu\u1ea3 s\u1ebd hi\u1ec3n th\u1ecb t\u00ean t\u1ec7p backup OpenClaw \u0111\u00e3 t\u1ea1o.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1041\" height=\"266\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_37.png\" alt=\"Ch\u1ea1y th\u1eed backup OpenClaw\" class=\"wp-image-130991\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_37.png 1041w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_37-300x77.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_37-1024x262.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_37-768x196.png 768w\" sizes=\"(max-width: 1041px) 100vw, 1041px\" \/><\/figure>\n\n\n\n<h4 id=\"3.4._Thi\u1ebft_l\u1eadp_t\u1ef1_\u0111\u1ed9ng_backup_OpenClaw_m\u1ed7i_ng\u00e0y\">3.4. Thi\u1ebft l\u1eadp t\u1ef1 \u0111\u1ed9ng backup OpenClaw m\u1ed7i ng\u00e0y<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1edf Cron b\u1eb1ng t\u00e0i kho\u1ea3n Linux \u0111ang v\u1eadn h\u00e0nh OpenClaw:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>crontab -e<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Th\u00eam:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>0 3 * * * \/bin\/bash \"$HOME\/backup-openclaw.sh\" &gt;&gt; \"$HOME\/openclaw-backup.log\" 2&gt;&amp;1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">L\u01b0u v\u00e0 tho\u00e1t. L\u1ecbch tr\u00ean s\u1ebd t\u1ef1 \u0111\u1ed9ng ch\u1ea1y script v\u00e0o 03:00 m\u1ed7i ng\u00e0y, theo m\u00fai gi\u1edd VPS 2.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u1ea2nh ch\u1ee5p b\u00ean d\u01b0\u1edbi l\u00e0 b\u1ea3n c\u0169, d\u00f2ng cron thi\u1ebfu d\u1ea5u $ tr\u01b0\u1edbc HOME n\u00ean s\u1ebd kh\u00f4ng ch\u1ea1y; h\u00e3y d\u00f9ng \u0111\u00fang d\u00f2ng l\u1ec7nh \u1edf tr\u00ean.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1133\" height=\"614\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_38.png\" alt=\"Thi\u1ebft l\u1eadp t\u1ef1 \u0111\u1ed9ng backup OpenClaw m\u1ed7i ng\u00e0y\" class=\"wp-image-130992\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_38.png 1133w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_38-300x163.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_38-1024x555.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_38-768x416.png 768w\" sizes=\"(max-width: 1133px) 100vw, 1133px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu Cron b\u00e1o kh\u00f4ng t\u00ecm th\u1ea5y l\u1ec7nh openclaw, h\u00e3y x\u00e1c \u0111\u1ecbnh \u0111\u01b0\u1eddng d\u1eabn ch\u00ednh x\u00e1c b\u1eb1ng:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>command -v openclaw<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3 b\u1ed5 sung \u0111\u01b0\u1eddng d\u1eabn ch\u1ee9a l\u1ec7nh v\u00e0o bi\u1ebfn PATH trong script. \u0110i\u1ec1u n\u00e0y th\u01b0\u1eddng c\u1ea7n thi\u1ebft n\u1ebfu OpenClaw \u0111\u01b0\u1ee3c c\u00e0i th\u00f4ng qua c\u00f4ng c\u1ee5 qu\u1ea3n l\u00fd phi\u00ean b\u1ea3n Node.js nh\u01b0 NVM.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra l\u1ecbch:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>crontab -l<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ebfn \u0111\u00e2y, c\u1ea3 hai VPS \u0111\u00e3 c\u00f3 l\u1ecbch sao l\u01b0u \u0111\u1ed9c l\u1eadp.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_4_\u2013_Ki\u1ec3m_tra_b\u1ea3n_backup_tr\u00ean_Google_Drive\">B\u01b0\u1edbc 4 \u2013 Ki\u1ec3m tra b\u1ea3n backup tr\u00ean Google Drive<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi ch\u1ea1y th\u1eed th\u00e0nh c\u00f4ng tr\u00ean c\u1ea3 hai VPS, m\u1edf <a href=\"https:\/\/drive.google.com\" rel=\"nofollow noopener\" target=\"_blank\">Google Drive<\/a> v\u00e0 t\u00ecm th\u01b0 m\u1ee5c AI-Backups.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>L\u01b0u \u00fd v\u1edbi quy\u1ec1n drive.file: <\/strong>Quy\u1ec1n n\u00e0y gi\u1edbi h\u1ea1n kh\u1ea3 n\u0103ng truy c\u1eadp c\u00e1c t\u1ec7p do \u1ee9ng d\u1ee5ng t\u1ea1o. V\u00ec v\u1eady, n\u1ebfu th\u01b0 m\u1ee5c AI-Backups \u0111\u01b0\u1ee3c t\u1ea1o th\u1ee7 c\u00f4ng tr\u00ean giao di\u1ec7n Google Drive, Rclone c\u00f3 th\u1ec3 kh\u00f4ng nh\u00ecn th\u1ea5y th\u01b0 m\u1ee5c \u0111\u00f3. C\u00e1ch \u0111\u01a1n gi\u1ea3n l\u00e0 \u0111\u1ec3 Rclone t\u1ef1 t\u1ea1o th\u01b0 m\u1ee5c l\u01b0u tr\u1eef, thay v\u00ec d\u00f9ng th\u01b0 m\u1ee5c t\u1ea1o s\u1eb5n. Khi c\u1ea7n thao t\u00e1c v\u1edbi th\u01b0 m\u1ee5c \u0111\u01b0\u1ee3c t\u1ea1o b\u1eb1ng \u1ee9ng d\u1ee5ng kh\u00e1c, ph\u1ea3i s\u1eed d\u1ee5ng ph\u01b0\u01a1ng th\u1ee9c c\u1ea5p quy\u1ec1n ph\u00f9 h\u1ee3p.<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"935\" height=\"317\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_39.png\" alt=\"Ki\u1ec3m tra b\u1ea3n backup tr\u00ean Google Drive\" class=\"wp-image-130993\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_39.png 935w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_39-300x102.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_39-768x260.png 768w\" sizes=\"(max-width: 935px) 100vw, 935px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ngo\u00e0i ra, \u0111\u1ed1i v\u1edbi c\u00e1c t\u1ec7p \u0111\u00e3 m\u00e3 h\u00f3a b\u1eb1ng Rclone Crypt, t\u00ean t\u1ec7p v\u00e0 n\u1ed9i dung tr\u00ean giao di\u1ec7n Google Drive s\u1ebd kh\u00f4ng hi\u1ec3n th\u1ecb \u1edf d\u1ea1ng th\u00f4ng th\u01b0\u1eddng.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1076\" height=\"607\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_40.png\" alt=\"Ki\u1ec3m tra b\u1ea3n backup tr\u00ean Google Drive\" class=\"wp-image-130994\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_40.png 1076w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_40-300x169.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_40-1024x578.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_40-768x433.png 768w\" sizes=\"(max-width: 1076px) 100vw, 1076px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1110\" height=\"612\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_41.png\" alt=\"Ki\u1ec3m tra b\u1ea3n backup tr\u00ean Google Drive\" class=\"wp-image-130995\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_41.png 1110w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_41-300x165.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_41-767x423.png 767w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_41-1024x565.png 1024w\" sizes=\"(max-width: 1110px) 100vw, 1110px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ec3 xem t\u00ean backup g\u1ed1c, s\u1eed d\u1ee5ng Rclone t\u1ea1i VPS t\u01b0\u01a1ng \u1ee9ng:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u00ean VPS 1:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo rclone lsf secure:<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u00ean VPS 2:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone lsf secure:<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea1n c\u0169ng c\u00f3 th\u1ec3 t\u1ea3i th\u1eed m\u1ed9t b\u1ea3n backup v\u1ec1 VPS \u0111\u1ec3 ki\u1ec3m tra.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">V\u00ed d\u1ee5 tr\u00ean VPS 1:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo rclone copyto \\\n  \"secure:TEN_FILE_BACKUP.tar.gz\" \\\n  \"\/tmp\/n8n-check.tar.gz\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3 ki\u1ec3m tra:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo tar -tzf \/tmp\/n8n-check.tar.gz | head<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu t\u1ec7p c\u00f3 th\u1ec3 gi\u1ea3i n\u00e9n v\u00e0 hi\u1ec3n th\u1ecb danh s\u00e1ch d\u1eef li\u1ec7u, \u0111\u00e2y l\u00e0 m\u1ed9t b\u01b0\u1edbc x\u00e1c minh ban \u0111\u1ea7u. Tuy nhi\u00ean, ki\u1ec3m tra t\u1ec7p n\u00e9n th\u00e0nh c\u00f4ng ch\u01b0a b\u1ea3o \u0111\u1ea3m \u1ee9ng d\u1ee5ng c\u00f3 th\u1ec3 kh\u00f4i ph\u1ee5c \u0111\u1ea7y \u0111\u1ee7.<\/p>\n\n\n\n<h2 id=\"C\u00e1ch_kh\u00f4i_ph\u1ee5c_d\u1eef_li\u1ec7u_khi_VPS_g\u1eb7p_s\u1ef1_c\u1ed1\">C\u00e1ch kh\u00f4i ph\u1ee5c d\u1eef li\u1ec7u khi VPS g\u1eb7p s\u1ef1 c\u1ed1<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Khi m\u1ed9t VPS g\u1eb7p s\u1ef1 c\u1ed1, b\u1ea1n ch\u1ec9 c\u1ea7n kh\u00f4i ph\u1ee5c d\u1eef li\u1ec7u c\u1ee7a \u1ee9ng d\u1ee5ng t\u01b0\u01a1ng \u1ee9ng. VPS c\u00f2n l\u1ea1i c\u00f3 th\u1ec3 ti\u1ebfp t\u1ee5c ho\u1ea1t \u0111\u1ed9ng b\u00ecnh th\u01b0\u1eddng.<\/p>\n\n\n\n<h3 id=\"Kh\u00f4i_ph\u1ee5c_n8n_tr\u00ean_VPS_1\">Kh\u00f4i ph\u1ee5c n8n tr\u00ean VPS 1<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">V\u1edbi b\u1ea3n backup t\u1ea1o b\u1eb1ng script \u1edf B\u01b0\u1edbc 2 (PostgreSQL + th\u01b0 m\u1ee5c .n8n), quy tr\u00ecnh c\u01a1 b\u1ea3n g\u1ed3m:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Chu\u1ea9n b\u1ecb VPS m\u1edbi v\u00e0 c\u00e0i l\u1ea1i Docker.<\/li>\n\n\n<li>C\u1ea5u h\u00ecnh Rclone b\u1eb1ng t\u00e0i kho\u1ea3n Google Drive c\u00f9ng kh\u00f3a gi\u1ea3i m\u00e3 c\u1ee7a VPS 1.<\/li>\n\n\n<li>T\u1ea3i t\u1ec7p backup n8n v\u1ec1 VPS.<\/li>\n\n\n<li>Chu\u1ea9n b\u1ecb th\u01b0 m\u1ee5c ho\u1eb7c Docker volume .n8n t\u01b0\u01a1ng \u1ee9ng.<\/li>\n\n\n<li>D\u1eebng n8n v\u00e0 kh\u00f4i ph\u1ee5c d\u1eef li\u1ec7u v\u00e0o v\u1ecb tr\u00ed l\u01b0u tr\u1eef \u0111\u00e3 chu\u1ea9n b\u1ecb: gi\u1ea3i n\u00e9n n8n-data.tar.gz v\u00e0o volume .n8n, n\u1ea1p postgres.dump b\u1eb1ng pg_restore (xem l\u1ec7nh b\u00ean d\u01b0\u1edbi).<\/li>\n\n\n<li>Kh\u00f4i ph\u1ee5c c\u00e1c bi\u1ebfn m\u00f4i tr\u01b0\u1eddng, kh\u00f3a m\u00e3 h\u00f3a v\u00e0 c\u1ea5u h\u00ecnh tri\u1ec3n khai li\u00ean quan.<\/li>\n\n\n<li>Kh\u1edfi \u0111\u1ed9ng n8n v\u00e0 ki\u1ec3m tra workflow, credentials c\u00f9ng d\u1eef li\u1ec7u th\u1ef1c thi.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>tar -xzf n8n-YYYYMMDD-HHMMSS.tar.gz -C \/root\/n8n-restore\ndocker exec -i n8n-postgres-1 sh -c   'pg_restore -U \"${POSTGRES_USER:-postgres}\" -d \"$1\" --clean --if-exists'   sh n8n &lt; \/root\/n8n-restore\/postgres.dump<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Thay <code>n8n-postgres-1<\/code> v\u00e0 t\u00ean database <code>n8n<\/code> theo h\u1ec7 th\u1ed1ng m\u1edbi (t\u00ean database ghi trong backup-info.txt). Th\u01b0 m\u1ee5c .n8n ch\u1ee9a kh\u00f3a m\u00e3 h\u00f3a credentials; kh\u00f4i ph\u1ee5c sai kh\u00f3a th\u00ec credentials kh\u00f4ng gi\u1ea3i m\u00e3 \u0111\u01b0\u1ee3c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng n\u00ean gi\u1ea3i n\u00e9n b\u1ea3n backup tr\u1ef1c ti\u1ebfp l\u00ean th\u01b0 m\u1ee5c d\u1eef li\u1ec7u \u0111ang ho\u1ea1t \u0111\u1ed9ng n\u1ebfu ch\u01b0a c\u00f3 b\u1ea3n sao an to\u00e0n c\u1ee7a d\u1eef li\u1ec7u hi\u1ec7n t\u1ea1i.<\/p>\n\n\n\n<h3 id=\"Kh\u00f4i_ph\u1ee5c_OpenClaw_tr\u00ean_VPS_2\">Kh\u00f4i ph\u1ee5c OpenClaw tr\u00ean VPS 2<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u01b0\u1edbc ti\u00ean, c\u1ea5u h\u00ecnh l\u1ea1i Rclone v\u00e0 t\u1ea3i t\u1ec7p backup OpenClaw:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone copyto \\\n  \"secure:TEN_FILE_BACKUP.tar.gz\" \\\n  \"$HOME\/openclaw-restore.tar.gz\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3 ki\u1ec3m tra:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw backup verify \\\n  \"$HOME\/openclaw-restore.tar.gz\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u00f4i ph\u1ee5c d\u1eef li\u1ec7u v\u00e0o m\u1ed9t th\u01b0 m\u1ee5c t\u1ea1m:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw backup restore \\\n  \"$HOME\/openclaw-restore.tar.gz\" \\\n  --target \"$HOME\/openclaw-restore-test\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">T\u00e0i li\u1ec7u OpenClaw quy \u0111\u1ecbnh thao t\u00e1c restore tr\u01b0\u1edbc ti\u00ean gi\u1ea3i n\u00e9n d\u1eef li\u1ec7u v\u00e0o th\u01b0 m\u1ee5c \u0111\u00edch; vi\u1ec7c \u0111\u01b0a d\u1eef li\u1ec7u tr\u1edf l\u1ea1i m\u00f4i tr\u01b0\u1eddng v\u1eadn h\u00e0nh c\u1ea7n \u0111\u01b0\u1ee3c th\u1ef1c hi\u1ec7n ri\u00eang sau khi d\u1eebng d\u1ecbch v\u1ee5 v\u00e0 ki\u1ec3m tra c\u1ea5u h\u00ecnh.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi ho\u00e0n t\u1ea5t qu\u00e1 tr\u00ecnh kh\u00f4i ph\u1ee5c, ch\u1ea1y:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw doctor<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ed3ng th\u1eddi ki\u1ec3m tra k\u1ebft n\u1ed1i \u0111\u1ebfn c\u00e1c k\u00eanh nh\u1eafn tin, c\u1ea5u h\u00ecnh model AI v\u00e0 c\u00e1c c\u00f4ng c\u1ee5 Agent \u0111ang s\u1eed d\u1ee5ng.<\/p>\n\n\n\n<h2 id=\"Nh\u1eefng_l\u01b0u_\u00fd_quan_tr\u1ecdng_khi_backup_nhi\u1ec1u_VPS\">Nh\u1eefng l\u01b0u \u00fd quan tr\u1ecdng khi backup nhi\u1ec1u VPS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Khi thi\u1ebft l\u1eadp Auto Backup cho hai VPS l\u00ean c\u00f9ng Google Drive, c\u1ea7n ch\u00fa \u00fd:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Kh\u00f4ng d\u00f9ng chung th\u01b0 m\u1ee5c ch\u1ee9a backup c\u1ee7a hai \u1ee9ng d\u1ee5ng: Ph\u00e2n t\u00e1ch d\u1eef li\u1ec7u gi\u00fap d\u1ec5 x\u00e1c \u0111\u1ecbnh b\u1ea3n backup khi c\u1ea7n kh\u00f4i ph\u1ee5c.<\/li>\n\n\n<li>Gi\u1eef c\u1ea5u h\u00ecnh m\u00e3 h\u00f3a ri\u00eang: N\u1ebfu s\u1eed d\u1ee5ng hai remote Crypt \u0111\u1ed9c l\u1eadp, c\u1ea7n l\u01b0u l\u1ea1i th\u00f4ng tin gi\u1ea3i m\u00e3 t\u01b0\u01a1ng \u1ee9ng.<\/li>\n\n\n<li>Kh\u00f4ng ch\u1ec9 backup tr\u00ean VPS: N\u00ean duy tr\u00ec \u00edt nh\u1ea5t m\u1ed9t b\u1ea3n sao b\u00ean ngo\u00e0i m\u00e1y ch\u1ee7.<\/li>\n\n\n<li>Ki\u1ec3m tra dung l\u01b0\u1ee3ng Google Drive: C\u1ea3 hai VPS c\u00f9ng s\u1eed d\u1ee5ng dung l\u01b0\u1ee3ng c\u1ee7a t\u00e0i kho\u1ea3n \u0111\u00edch.<\/li>\n\n\n<li>\u0110\u1ecbnh k\u1ef3 th\u1eed kh\u00f4i ph\u1ee5c: T\u1ec7p backup c\u00f3 th\u1ec3 t\u1ea3i v\u1ec1 th\u00e0nh c\u00f4ng nh\u01b0ng v\u1eabn thi\u1ebfu c\u1ea5u h\u00ecnh ho\u1eb7c d\u1eef li\u1ec7u c\u1ea7n thi\u1ebft.<\/li>\n\n\n<li>Ki\u1ec3m tra log Cron: Ph\u00e1t hi\u1ec7n s\u1edbm tr\u01b0\u1eddng h\u1ee3p backup th\u1ea5t b\u1ea1i do l\u1ed7i x\u00e1c th\u1ef1c Google Drive, h\u1ebft dung l\u01b0\u1ee3ng ho\u1eb7c l\u1ec7nh kh\u00f4ng \u0111\u01b0\u1ee3c th\u1ef1c thi.<\/li>\n\n\n<li>B\u1ea3o v\u1ec7 quy\u1ec1n truy c\u1eadp Google: T\u00e0i kho\u1ea3n Google Drive ch\u1ee9a backup c\u1ea7n b\u1eadt x\u00e1c th\u1ef1c hai b\u01b0\u1edbc.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Ngo\u00e0i ra, Google Drive kh\u00f4ng thay th\u1ebf ho\u00e0n to\u00e0n d\u1ecbch v\u1ee5 backup chuy\u00ean d\u1ee5ng cho c\u00e1c h\u1ec7 th\u1ed1ng c\u00f3 y\u00eau c\u1ea7u ph\u1ee5c h\u1ed3i cao. N\u1ebfu n8n v\u00e0 OpenClaw \u0111ang v\u1eadn h\u00e0nh c\u00e1c t\u00e1c v\u1ee5 quan tr\u1ecdng, n\u00ean k\u1ebft h\u1ee3p th\u00eam snapshot VPS ho\u1eb7c ph\u01b0\u01a1ng \u00e1n sao l\u01b0u d\u1ef1 ph\u00f2ng kh\u00e1c.<\/p>\n\n\n\n<h2 id=\"K\u1ebft_lu\u1eadn\">K\u1ebft lu\u1eadn<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">T\u1ef1 \u0111\u1ed9ng backup n8n v\u00e0 OpenClaw t\u1eeb hai VPS kh\u00e1c nhau l\u00ean c\u00f9ng Google Drive ho\u00e0n to\u00e0n c\u00f3 th\u1ec3 th\u1ef1c hi\u1ec7n b\u1eb1ng Rclone v\u00e0 Cron. M\u1ed7i VPS t\u1ef1 t\u1ea1o b\u1ea3n sao l\u01b0u theo l\u1ecbch ri\u00eang, sau \u0111\u00f3 t\u1ea3i d\u1eef li\u1ec7u l\u00ean th\u01b0 m\u1ee5c t\u01b0\u01a1ng \u1ee9ng tr\u00ean Google Drive.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e1ch tri\u1ec3n khai n\u00e0y gi\u00fap qu\u1ea3n l\u00fd t\u1eadp trung c\u00e1c b\u1ea3n backup m\u00e0 v\u1eabn gi\u1eef hai h\u1ec7 th\u1ed1ng v\u1eadn h\u00e0nh \u0111\u1ed9c l\u1eadp. \u0110\u1ec3 b\u1ea3o \u0111\u1ea3m kh\u1ea3 n\u0103ng ph\u1ee5c h\u1ed3i khi m\u00e1y ch\u1ee7 g\u1eb7p s\u1ef1 c\u1ed1, b\u1ea1n n\u00ean m\u00e3 h\u00f3a d\u1eef li\u1ec7u, th\u01b0\u1eddng xuy\u00ean ki\u1ec3m tra k\u1ebft qu\u1ea3 sao l\u01b0u v\u00e0 \u0111\u1ecbnh k\u1ef3 th\u1eed kh\u00f4i ph\u1ee5c trong m\u00f4i tr\u01b0\u1eddng ri\u00eang.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Mu\u1ed1n ch\u1ea1y n8n 24\/7 m\u00e0 kh\u00f4ng t\u1ef1 c\u00e0i? <a href=\"https:\/\/tino.vn\/vps-n8n\">VPS n8n c\u1ee7a Tino<\/a> c\u00e0i s\u1eb5n n8n tr\u00ean VPS NVMe \u0111\u1eb7t t\u1ea1i Vi\u1ec7t Nam; b\u1ea1n v\u1eabn c\u00f3 quy\u1ec1n root \u0111\u1ec3 c\u1ea5u h\u00ecnh. Xem c\u1ea5u h\u00ecnh v\u00e0 gi\u00e1 tr\u00ean trang s\u1ea3n ph\u1ea9m.<\/p>\n<\/blockquote>\n\n\n\n<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p\">Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"Hai_VPS_kh\u00e1c_IP_c\u00f3_th\u1ec3_backup_l\u00ean_c\u00f9ng_m\u1ed9t_Google_Drive_kh\u00f4ng?\">Hai VPS kh\u00e1c IP c\u00f3 th\u1ec3 backup l\u00ean c\u00f9ng m\u1ed9t Google Drive kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">C\u00f3. Rclone s\u1eed d\u1ee5ng k\u1ebft n\u1ed1i Internet \u0111\u1ec3 t\u1ea3i d\u1eef li\u1ec7u l\u00ean Google Drive n\u00ean hai VPS kh\u00f4ng c\u1ea7n c\u00f3 c\u00f9ng \u0111\u1ecba ch\u1ec9 IP, c\u00f9ng nh\u00e0 cung c\u1ea5p ho\u1eb7c c\u00f9ng m\u1ea1ng n\u1ed9i b\u1ed9. M\u1ed7i VPS ch\u1ec9 c\u1ea7n c\u00f3 th\u00f4ng tin x\u00e1c th\u1ef1c v\u00e0 quy\u1ec1n truy c\u1eadp h\u1ee3p l\u1ec7.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"C\u00f3_c\u1ea7n_t\u1ea1o_hai_t\u00e0i_kho\u1ea3n_Google_Drive_ri\u00eang_kh\u00f4ng?\">C\u00f3 c\u1ea7n t\u1ea1o hai t\u00e0i kho\u1ea3n Google Drive ri\u00eang kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng b\u1eaft bu\u1ed9c. B\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng m\u1ed9t t\u00e0i kho\u1ea3n Google Drive v\u00e0 ph\u00e2n chia b\u1ea3n sao l\u01b0u th\u00e0nh hai th\u01b0 m\u1ee5c. Tuy nhi\u00ean, s\u1eed d\u1ee5ng t\u00e0i kho\u1ea3n ho\u1eb7c v\u00f9ng l\u01b0u tr\u1eef ri\u00eang s\u1ebd gi\u00fap ph\u00e2n t\u00e1ch quy\u1ec1n truy c\u1eadp v\u00e0 gi\u1ea3m \u1ea3nh h\u01b0\u1edfng n\u1ebfu m\u1ed9t th\u00f4ng tin x\u00e1c th\u1ef1c b\u1ecb l\u1ed9.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"C\u00f3_c\u1ea7n_c\u00e0i_n8n_tr\u00ean_VPS_OpenClaw_\u0111\u1ec3_ch\u1ea1y_workflow_backup_kh\u00f4ng?\">C\u00f3 c\u1ea7n c\u00e0i n8n tr\u00ean VPS OpenClaw \u0111\u1ec3 ch\u1ea1y workflow backup kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng. VPS OpenClaw c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng l\u1ec7nh backup ch\u00ednh th\u1ee9c k\u1ebft h\u1ee3p Rclone v\u00e0 Cron. Quy tr\u00ecnh n\u00e0y kh\u00f4ng y\u00eau c\u1ea7u n8n v\u00e0 c\u0169ng kh\u00f4ng ph\u1ee5 thu\u1ed9c v\u00e0o VPS \u0111ang v\u1eadn h\u00e0nh n8n.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"N\u1ebfu_VPS_n8n_b\u1ecb_m\u1ea5t_d\u1eef_li\u1ec7u,_backup_OpenClaw_c\u00f3_b\u1ecb_\u1ea3nh_h\u01b0\u1edfng_kh\u00f4ng?\">N\u1ebfu VPS n8n b\u1ecb m\u1ea5t d\u1eef li\u1ec7u, backup OpenClaw c\u00f3 b\u1ecb \u1ea3nh h\u01b0\u1edfng kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Th\u00f4ng th\u01b0\u1eddng l\u00e0 kh\u00f4ng, v\u00ec OpenClaw s\u1eed d\u1ee5ng VPS ri\u00eang v\u00e0 c\u00e1c b\u1ea3n backup \u0111\u01b0\u1ee3c l\u01b0u \u0111\u1ed9c l\u1eadp. Tuy nhi\u00ean, n\u1ebfu t\u00e0i kho\u1ea3n Google Drive chung b\u1ecb kh\u00f3a, m\u1ea5t quy\u1ec1n truy c\u1eadp ho\u1eb7c b\u1ecb x\u00f3a d\u1eef li\u1ec7u, c\u1ea3 hai h\u1ec7 th\u1ed1ng sao l\u01b0u \u0111\u1ec1u c\u00f3 th\u1ec3 b\u1ecb \u1ea3nh h\u01b0\u1edfng.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"C\u00f3_c\u1ea7n_tr\u1ea3_ph\u00ed_cho_Rclone_kh\u00f4ng?\">C\u00f3 c\u1ea7n tr\u1ea3 ph\u00ed cho Rclone kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng. Rclone l\u00e0 c\u00f4ng c\u1ee5 m\u00e3 ngu\u1ed3n m\u1edf, c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng mi\u1ec5n ph\u00ed. Chi ph\u00ed c\u00f3 th\u1ec3 ph\u00e1t sinh t\u1eeb dung l\u01b0\u1ee3ng Google Drive, t\u00e0i nguy\u00ean VPS v\u00e0 nh\u1eefng d\u1ecbch v\u1ee5 l\u01b0u tr\u1eef b\u1ed5 sung n\u1ebfu c\u1ea7n.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Hai VPS kh\u00e1c IP c\u00f3 th\u1ec3 backup l\u00ean c\u00f9ng m\u1ed9t Google Drive kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>C\u00f3. Rclone s\u1eed d\u1ee5ng k\u1ebft n\u1ed1i Internet \u0111\u1ec3 t\u1ea3i d\u1eef li\u1ec7u l\u00ean Google Drive n\u00ean hai VPS kh\u00f4ng c\u1ea7n c\u00f3 c\u00f9ng \u0111\u1ecba ch\u1ec9 IP, c\u00f9ng nh\u00e0 cung c\u1ea5p ho\u1eb7c c\u00f9ng m\u1ea1ng n\u1ed9i b\u1ed9. M\u1ed7i VPS ch\u1ec9 c\u1ea7n c\u00f3 th\u00f4ng tin x\u00e1c th\u1ef1c v\u00e0 quy\u1ec1n truy c\u1eadp h\u1ee3p l\u1ec7.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"C\u00f3 c\u1ea7n t\u1ea1o hai t\u00e0i kho\u1ea3n Google Drive ri\u00eang kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Kh\u00f4ng b\u1eaft bu\u1ed9c. B\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng m\u1ed9t t\u00e0i kho\u1ea3n Google Drive v\u00e0 ph\u00e2n chia b\u1ea3n sao l\u01b0u th\u00e0nh hai th\u01b0 m\u1ee5c. Tuy nhi\u00ean, s\u1eed d\u1ee5ng t\u00e0i kho\u1ea3n ho\u1eb7c v\u00f9ng l\u01b0u tr\u1eef ri\u00eang s\u1ebd gi\u00fap ph\u00e2n t\u00e1ch quy\u1ec1n truy c\u1eadp v\u00e0 gi\u1ea3m \u1ea3nh h\u01b0\u1edfng n\u1ebfu m\u1ed9t th\u00f4ng tin x\u00e1c th\u1ef1c b\u1ecb l\u1ed9.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"C\u00f3 c\u1ea7n c\u00e0i n8n tr\u00ean VPS OpenClaw \u0111\u1ec3 ch\u1ea1y workflow backup kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Kh\u00f4ng. VPS OpenClaw c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng l\u1ec7nh backup ch\u00ednh th\u1ee9c k\u1ebft h\u1ee3p Rclone v\u00e0 Cron. Quy tr\u00ecnh n\u00e0y kh\u00f4ng y\u00eau c\u1ea7u n8n v\u00e0 c\u0169ng kh\u00f4ng ph\u1ee5 thu\u1ed9c v\u00e0o VPS \u0111ang v\u1eadn h\u00e0nh n8n.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"N\u1ebfu VPS n8n b\u1ecb m\u1ea5t d\u1eef li\u1ec7u, backup OpenClaw c\u00f3 b\u1ecb \u1ea3nh h\u01b0\u1edfng kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Th\u00f4ng th\u01b0\u1eddng l\u00e0 kh\u00f4ng, v\u00ec OpenClaw s\u1eed d\u1ee5ng VPS ri\u00eang v\u00e0 c\u00e1c b\u1ea3n backup \u0111\u01b0\u1ee3c l\u01b0u \u0111\u1ed9c l\u1eadp. Tuy nhi\u00ean, n\u1ebfu t\u00e0i kho\u1ea3n Google Drive chung b\u1ecb kh\u00f3a, m\u1ea5t quy\u1ec1n truy c\u1eadp ho\u1eb7c b\u1ecb x\u00f3a d\u1eef li\u1ec7u, c\u1ea3 hai h\u1ec7 th\u1ed1ng sao l\u01b0u \u0111\u1ec1u c\u00f3 th\u1ec3 b\u1ecb \u1ea3nh h\u01b0\u1edfng.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"C\u00f3 c\u1ea7n tr\u1ea3 ph\u00ed cho Rclone kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Kh\u00f4ng. Rclone l\u00e0 c\u00f4ng c\u1ee5 m\u00e3 ngu\u1ed3n m\u1edf, c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng mi\u1ec5n ph\u00ed. Chi ph\u00ed c\u00f3 th\u1ec3 ph\u00e1t sinh t\u1eeb dung l\u01b0\u1ee3ng Google Drive, t\u00e0i nguy\u00ean VPS v\u00e0 nh\u1eefng d\u1ecbch v\u1ee5 l\u01b0u tr\u1eef b\u1ed5 sung n\u1ebfu c\u1ea7n.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>M\u1ed9t c\u00e1ch \u0111\u01a1n gi\u1ea3n v\u00e0 \u1ed5n \u0111\u1ecbnh \u0111\u1ec3 t\u1ef1 \u0111\u1ed9ng backup n8n v\u00e0 OpenClaw l\u00ean Google Drive l\u00e0 ch\u1ea1y m\u1ed9t script tr\u00ean VPS m\u1ed7i \u0111\u00eam b\u1eb1ng cron: script xu\u1ea5t d\u1eef li\u1ec7u n8n, t\u1ea1o b\u1ea3n sao l\u01b0u OpenClaw b\u1eb1ng l\u1ec7nh ch\u00ednh th\u1ee9c openclaw backup create, r\u1ed3i d\u00f9ng rclone \u0111\u1ea9y l\u00ean Google Drive. B\u1ea3n backup \u0111\u01b0\u1ee3c m\u00e3 [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":131033,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7397,7552],"tags":[7343,7554],"class_list":["post-130945","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-n8n","category-openclaw","tag-n8n","tag-openclaw"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=130945"}],"version-history":[{"count":7,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130945\/revisions"}],"predecessor-version":[{"id":131903,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130945\/revisions\/131903"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/131033"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=130945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=130945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=130945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}