{"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-16T19:17:55","modified_gmt":"2026-10-16T12:17:55","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>C\u00e1ch \u0111\u01a1n gi\u1ea3n v\u00e0 \u1ed5n \u0111\u1ecbnh nh\u1ea5t \u0111\u1ec3 auto backup <a href=\"https:\/\/tino.vn\/blog\/n8n-la-gi\/\" target=\"_blank\" data-type=\"post\" data-id=\"104774\" rel=\"noreferrer noopener\">n8n<\/a> v\u00e0 <a href=\"https:\/\/tino.vn\/blog\/openclaw-la-gi\/\" target=\"_blank\" data-type=\"post\" data-id=\"123105\" rel=\"noreferrer noopener\">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. C\u00f9ng t\u00ecm hi\u1ec3u c\u00e1ch th\u1ef1c hi\u1ec7n chi ti\u1ebft qua b\u00e0i vi\u1ebft d\u01b0\u1edbi \u0111\u00e2y nh\u00e9!<\/strong><\/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?\"><strong>C\u00f3 th\u1ec3 backup n8n v\u00e0 OpenClaw t\u1eeb 2 VPS l\u00ean c\u00f9ng Google Drive kh\u00f4ng?<\/strong><\/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\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\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-1.png\" alt=\"C\u00f3 th\u1ec3 backup n8n v\u00e0 OpenClaw t\u1eeb 2 VPS l\u00ean c\u00f9ng Google Drive kh\u00f4ng?\" class=\"wp-image-131030\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-1.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-1-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00f3 th\u1ec3 backup n8n v\u00e0 OpenClaw t\u1eeb 2 VPS l\u00ean c\u00f9ng Google Drive kh\u00f4ng?<\/strong><\/figcaption><\/figure>\n<\/div>\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\"><tbody><tr><td><strong>Ti\u00eau ch\u00ed<\/strong><\/td><td><strong>VPS 1 \u2013 n8n<\/strong><\/td><td><strong>VPS 2 \u2013 OpenClaw<\/strong><\/td><\/tr><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?\"><strong>C\u1ea7n chu\u1ea9n b\u1ecb g\u00ec tr\u01b0\u1edbc khi thi\u1ebft l\u1eadp Auto Backup?<\/strong><\/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\n<li>Quy\u1ec1n truy c\u1eadp SSH v\u00e0o t\u1eebng VPS th\u00f4ng qua Xshell.<\/li>\n\n\n\n<li>M\u1ed9t t\u00e0i kho\u1ea3n Google c\u00f3 \u0111\u1ee7 dung l\u01b0\u1ee3ng Drive.<\/li>\n\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\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-2.png\" alt=\"C\u1ea7n chu\u1ea9n b\u1ecb g\u00ec tr\u01b0\u1edbc khi thi\u1ebft l\u1eadp Auto Backup?\" class=\"wp-image-131031\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-2.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-2-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u1ea7n chu\u1ea9n b\u1ecb g\u00ec tr\u01b0\u1edbc khi thi\u1ebft l\u1eadp Auto Backup?<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h2 id=\"H\u01b0\u1edbng_d\u1eabn_t\u1ef1_\u0111\u1ed9ng_backup_n8n_v\u00e0_OpenClaw_l\u00ean_Google_Drive\"><strong>H\u01b0\u1edbng d\u1eabn t\u1ef1 \u0111\u1ed9ng backup n8n v\u00e0 OpenClaw l\u00ean Google Drive<\/strong><\/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\"><strong>B\u01b0\u1edbc 1 \u2013 K\u1ebft n\u1ed1i Google Drive v\u1edbi t\u1eebng VPS b\u1eb1ng Rclone<\/strong><\/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\"><strong>1.1. C\u00e0i \u0111\u1eb7t Rclone tr\u00ean VPS 1 v\u00e0 VPS 2<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter 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\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e0i \u0111\u1eb7t Rclone tr\u00ean VPS 1 v\u00e0 VPS 2<\/strong><\/figcaption><\/figure>\n<\/div>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter 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\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e0i \u0111\u1eb7t Rclone tr\u00ean VPS 1 v\u00e0 VPS 2<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h4 id=\"1.2._Chu\u1ea9n_b\u1ecb_Google_Drive_v\u00e0_OAuth_Client_ID\"><strong>1.2. Chu\u1ea9n b\u1ecb Google Drive v\u00e0 OAuth Client ID<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/drive.google.com\" rel=\"noreferrer noopener nofollow\">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><span style=\"text-decoration: underline\">T\u1ea1o Project tr\u00ean Google Cloud<\/span><\/strong><\/p>\n\n\n\n<ol start=\"1\" 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\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\n<li>Ch\u1ecdn <strong>New Project (D\u1ef1 \u00e1n m\u1edbi)<\/strong>.<\/li>\n\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\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_4-9-1024x535.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-1024x535.png 1024w, 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-768x402.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_4-9.png 1461w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>T\u1ea1o Project tr\u00ean Google Cloud<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline\">K\u00edch ho\u1ea1t Google Drive API<\/span><\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Trong Google Cloud Console, truy c\u1eadp <strong>APIs &amp; Services \u2192 Library<\/strong>.<\/li>\n\n\n\n<li>Nh\u1eadp <code>Google Drive API<\/code> v\u00e0o \u00f4 t\u00ecm ki\u1ebfm.<\/li>\n\n\n\n<li>Ch\u1ecdn <strong>Google Drive API<\/strong> trong k\u1ebft qu\u1ea3.<\/li>\n\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter 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\" \/><figcaption class=\"wp-element-caption\"><strong>K\u00edch ho\u1ea1t Google Drive API<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline\">C\u1ea5u h\u00ecnh m\u00e0n h\u00ecnh OAuth<\/span><\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Truy c\u1eadp <strong>Google Auth Platform \u2192 Branding<\/strong>.<\/li>\n\n\n\n<li>N\u1ebfu ch\u01b0a thi\u1ebft l\u1eadp, nh\u1ea5n <strong>Get Started<\/strong>.<\/li>\n\n\n\n<li>Nh\u1eadp c\u00e1c th\u00f4ng tin:\n<ul class=\"wp-block-list\">\n<li><strong>App name:<\/strong> <code>Rclone VPS Backup<\/code><\/li>\n\n\n\n<li><strong>User support email:<\/strong> Ch\u1ecdn email Google c\u1ee7a b\u1ea1n.<\/li>\n\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\n<li><strong>Contact information:<\/strong> Nh\u1eadp email li\u00ean h\u1ec7.<\/li>\n<\/ul>\n<\/li>\n\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_6-11-1024x552.png\" alt=\"\" class=\"wp-image-131009\" title=\"\" srcset=\"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-300x162.png 300w, 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, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_6-11.png 1580w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u1ea5u h\u00ecnh m\u00e0n h\u00ecnh OAuth<\/strong><\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"653\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_7-10-1024x653.png\" alt=\"C\u1ea5u h\u00ecnh m\u00e0n h\u00ecnh OAuth\" class=\"wp-image-131010\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_7-10-1024x653.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_7-10-300x191.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_7-10-767x489.png 767w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_7-10.png 1228w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u1ea5u h\u00ecnh m\u00e0n h\u00ecnh OAuth<\/strong><\/figcaption><\/figure>\n<\/div>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"592\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_8-8-1024x592.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-1024x592.png 1024w, 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-768x444.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_8-8.png 1404w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u1ea5u h\u00ecnh m\u00e0n h\u00ecnh OAuth<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline\">Th\u00eam t\u00e0i kho\u1ea3n th\u1eed nghi\u1ec7m<\/span><\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Truy c\u1eadp <strong>Google Auth Platform \u2192 Audience<\/strong>.<\/li>\n\n\n\n<li>T\u00ecm m\u1ee5c <strong>Test users<\/strong> v\u00e0 nh\u1ea5n <strong>Add users<\/strong>.<\/li>\n\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\n<li>Nh\u1ea5n <strong>Save<\/strong> \u0111\u1ec3 ho\u00e0n t\u1ea5t.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"587\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_9-9-1024x587.png\" alt=\"Th\u00eam t\u00e0i kho\u1ea3n th\u1eed nghi\u1ec7m\" class=\"wp-image-131012\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_9-9-1024x587.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_9-9-300x172.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_9-9-768x440.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_9-9.png 1268w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Th\u00eam t\u00e0i kho\u1ea3n th\u1eed nghi\u1ec7m<\/strong><\/figcaption><\/figure>\n<\/div>\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><span style=\"text-decoration: underline\">T\u1ea1o OAuth Client ID<\/span><\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Truy c\u1eadp <strong>Google Auth Platform \u2192 Clients<\/strong>.<\/li>\n\n\n\n<li>Nh\u1ea5n <strong>Create Client<\/strong>.<\/li>\n\n\n\n<li>T\u1ea1i <strong>Application type<\/strong>, ch\u1ecdn <strong>Desktop app<\/strong>.<\/li>\n\n\n\n<li>\u0110\u1eb7t t\u00ean, v\u00ed d\u1ee5 <code>Rclone Backup Client<\/code>.<\/li>\n\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\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"624\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_10-8-1024x624.png\" alt=\"\" class=\"wp-image-131013\" title=\"\" srcset=\"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-300x183.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_10-8-768x468.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_10-8.png 1125w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>T\u1ea1o OAuth Client ID<\/strong><\/figcaption><\/figure>\n<\/div>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"617\" height=\"722\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_11-8.png\" alt=\"T\u1ea1o OAuth Client ID\" class=\"wp-image-131014\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_11-8.png 617w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_11-8-256x300.png 256w\" sizes=\"(max-width: 617px) 100vw, 617px\" \/><figcaption class=\"wp-element-caption\"><strong>T\u1ea1o OAuth Client ID<\/strong><\/figcaption><\/figure>\n<\/div>\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)\"><strong>1.3. K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 1 (n8n)<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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\"><tbody><tr><td><strong>M\u1ee5c<\/strong><\/td><td><strong>Thao t\u00e1c<\/strong><\/td><\/tr><tr><td>New remote<\/td><td>Nh\u1eadp <strong>n<\/strong><\/td><\/tr><tr><td>Name<\/td><td>Nh\u1eadp <code>gdrive<\/code><\/td><\/tr><tr><td>Storage<\/td><td>Ch\u1ecdn <strong>drive<\/strong><\/td><\/tr><tr><td>Client ID<\/td><td>D\u00e1n <strong>Client ID<\/strong> \u0111\u00e3 t\u1ea1o<\/td><\/tr><tr><td>Client Secret<\/td><td>D\u00e1n <strong>Client Secret<\/strong><\/td><\/tr><tr><td>Scope<\/td><td>Ch\u1ecdn <strong>drive.file<\/strong><\/td><\/tr><tr><td>Advanced config<\/td><td>Ch\u1ecdn <strong>n<\/strong><\/td><\/tr><tr><td>Use web browser<\/td><td>Ch\u1ecdn <strong>n<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter 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\" \/><figcaption class=\"wp-element-caption\"><strong>K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 1 (n8n)<\/strong><br><\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"732\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_13-5-1024x732.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-1024x732.png 1024w, 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-768x549.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_13-5.png 1059w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 1 (n8n)<\/strong><br><\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"566\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_14-5-1024x566.png\" alt=\"K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 1 (n8n)\" class=\"wp-image-131017\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_14-5-1024x566.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_14-5-300x166.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_14-5-768x424.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_14-5.png 1204w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 1 (n8n)<\/strong><br><\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"563\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_15-3-1024x563.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-1024x563.png 1024w, 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.png 1132w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 1 (n8n)<\/strong><br><\/figcaption><\/figure>\n<\/div>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"124\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_16-2-1024x124.png\" alt=\"K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 1 (n8n)\" class=\"wp-image-131027\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_16-2-1024x124.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_16-2-300x36.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_16-2-768x93.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_16-2-1536x185.png 1536w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_16-2.png 1898w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 1 (n8n)<\/strong><\/figcaption><\/figure>\n<\/div>\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\"><strong>1.4. X\u00e1c th\u1ef1c k\u1ebft n\u1ed1i Google Drive cho VPS b\u1eb1ng Rclone tr\u00ean Windows<\/strong><\/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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"470\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_17-1-1024x470.png\" alt=\"X\u00e1c th\u1ef1c k\u1ebft n\u1ed1i Google Drive cho VPS b\u1eb1ng Rclone tr\u00ean Windows\" class=\"wp-image-131019\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_17-1-1024x470.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_17-1-767x352.png 767w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_17-1-300x138.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_17-1.png 1465w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>X\u00e1c th\u1ef1c k\u1ebft n\u1ed1i Google Drive cho VPS b\u1eb1ng Rclone tr\u00ean Windows<\/strong><\/figcaption><\/figure>\n<\/div>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"507\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_18-1-1024x507.png\" alt=\"X\u00e1c th\u1ef1c k\u1ebft n\u1ed1i Google Drive cho VPS b\u1eb1ng Rclone tr\u00ean Windows\" class=\"wp-image-131020\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_18-1-1024x507.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_18-1-300x149.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_18-1-768x381.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_18-1-1536x761.png 1536w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_18-1.png 1558w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>X\u00e1c th\u1ef1c k\u1ebft n\u1ed1i Google Drive cho VPS b\u1eb1ng Rclone tr\u00ean Windows<\/strong><\/figcaption><\/figure>\n<\/div>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"501\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_19-1-1024x501.png\" alt=\"X\u00e1c th\u1ef1c k\u1ebft n\u1ed1i Google Drive cho VPS b\u1eb1ng Rclone tr\u00ean Windows\" class=\"wp-image-131021\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_19-1-1024x501.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_19-1-300x147.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_19-1-768x376.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_19-1.png 1460w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>X\u00e1c th\u1ef1c k\u1ebft n\u1ed1i Google Drive cho VPS b\u1eb1ng Rclone tr\u00ean Windows<\/strong><\/figcaption><\/figure>\n<\/div>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"215\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_20-1-1024x215.png\" alt=\"X\u00e1c th\u1ef1c k\u1ebft n\u1ed1i Google Drive cho VPS b\u1eb1ng Rclone tr\u00ean Windows\" class=\"wp-image-131022\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_20-1-1024x215.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_20-1-300x63.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_20-1-768x161.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_20-1-1536x323.png 1536w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_20-1.png 1894w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>X\u00e1c th\u1ef1c k\u1ebft n\u1ed1i Google Drive cho VPS b\u1eb1ng Rclone tr\u00ean Windows<\/strong><\/figcaption><\/figure>\n<\/div>\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\n<li>T\u1ea1i <strong>Keep this &#8220;gdrive&#8221; remote?<\/strong>, ch\u1ecdn <code>y<\/code> \u0111\u1ec3 l\u01b0u.<\/li>\n\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"320\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_21-1-1024x320.png\" alt=\"Ho\u00e0n t\u1ea5t c\u1ea5u h\u00ecnh tr\u00ean VPS\" class=\"wp-image-131023\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_21-1-1024x320.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_21-1-300x94.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_21-1-768x240.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_21-1-1536x479.png 1536w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_21-1.png 1897w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Ho\u00e0n t\u1ea5t c\u1ea5u h\u00ecnh tr\u00ean VPS<\/strong><\/figcaption><\/figure>\n<\/div>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter 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\" \/><figcaption class=\"wp-element-caption\"><strong>Ki\u1ec3m tra k\u1ebft n\u1ed1i<\/strong><\/figcaption><\/figure>\n<\/div>\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.<\/p>\n\n\n\n<h4 id=\"1.4._K\u1ebft_n\u1ed1i_Google_Drive_tr\u00ean_VPS_2_(OpenClaw)\"><strong>1.4. K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 2 (OpenClaw)<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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\n<li>Storage: drive<\/li>\n\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\n<li>Google Account: \u0110\u0103ng nh\u1eadp c\u00f9ng t\u00e0i kho\u1ea3n Google Drive.<\/li>\n\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_23-1-1024x400.png\" alt=\"K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 2 (OpenClaw)\" class=\"wp-image-131025\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_23-1-1024x400.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_23-1-300x117.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_23-1-768x300.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_23-1-1536x599.png 1536w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_23-1.png 1894w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>K\u1ebft n\u1ed1i Google Drive tr\u00ean VPS 2 (OpenClaw)<\/strong><\/figcaption><\/figure>\n<\/div>\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.5._M\u00e3_h\u00f3a_v\u00e0_ph\u00e2n_chia_th\u01b0_m\u1ee5c_backup\"><strong>1.5. M\u00e3 h\u00f3a v\u00e0 ph\u00e2n chia th\u01b0 m\u1ee5c backup<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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\"><tbody><tr><td><strong>M\u1ee5c<\/strong><\/td><td><strong>Gi\u00e1 tr\u1ecb<\/strong><\/td><\/tr><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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"737\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_24-1-1024x737.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-1024x737.png 1024w, 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-768x553.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_24-1.png 1075w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>M\u00e3 h\u00f3a v\u00e0 ph\u00e2n chia th\u01b0 m\u1ee5c backup<\/strong><\/figcaption><\/figure>\n<\/div>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter 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\" \/><figcaption class=\"wp-element-caption\"><strong>M\u00e3 h\u00f3a v\u00e0 ph\u00e2n chia th\u01b0 m\u1ee5c backup<\/strong><\/figcaption><\/figure>\n<\/div>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter 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\" \/><figcaption class=\"wp-element-caption\"><strong>M\u00e3 h\u00f3a v\u00e0 ph\u00e2n chia th\u01b0 m\u1ee5c backup<\/strong><\/figcaption><\/figure>\n<\/div>\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\"><strong>B\u01b0\u1edbc 2 \u2013 T\u1ef1 \u0111\u1ed9ng backup n8n tr\u00ean VPS th\u1ee9 nh\u1ea5t<\/strong><\/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\">Ch\u00fang ta s\u1ebd t\u1ea1o m\u1ed9t script \u0111\u1ec3 d\u1eebng n8n trong th\u1eddi gian ng\u1eafn, sao l\u01b0u d\u1eef li\u1ec7u SQLite v\u00e0 t\u1ea3i b\u1ea3n backup l\u00ean Google Drive. Sau \u0111\u00f3, Cron s\u1ebd t\u1ef1 ch\u1ea1y script m\u1ed7i ng\u00e0y.<\/p>\n\n\n\n<h4 id=\"2.1._Ki\u1ec3m_tra_container_v\u00e0_d\u1eef_li\u1ec7u_n8n\"><strong>2.1. Ki\u1ec3m tra container v\u00e0 d\u1eef li\u1ec7u n8n<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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 <strong>n8n-n8n-1<\/strong> --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 DB_TYPE=sqlite, c\u00f3 th\u1ec3 th\u1ef1c hi\u1ec7n h\u01b0\u1edbng d\u1eabn b\u00ean d\u01b0\u1edbi.<\/li>\n\n\n\n<li>N\u1ebfu kh\u00f4ng c\u00f3 k\u1ebft qu\u1ea3 v\u00e0 n8n s\u1eed d\u1ee5ng c\u1ea5u h\u00ecnh m\u1eb7c \u0111\u1ecbnh, c\u01a1 s\u1edf d\u1eef li\u1ec7u th\u01b0\u1eddng l\u00e0 SQLite.<\/li>\n\n\n\n<li>N\u1ebfu hi\u1ec3n th\u1ecb DB_TYPE=postgresdb, c\u1ea7n sao l\u01b0u PostgreSQL b\u1eb1ng c\u00f4ng c\u1ee5 ri\u00eang.<\/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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"183\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_28-1024x183.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-1024x183.png 1024w, 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-768x137.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_28-1536x274.png 1536w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_28.png 1755w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>T\u1ef1 \u0111\u1ed9ng backup n8n tr\u00ean VPS th\u1ee9 nh\u1ea5t<\/strong><\/figcaption><\/figure>\n<\/div>\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\"><strong>2.2. T\u1ea1o script backup n8n<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">T\u1ea1o script tr\u00ean VPS 1 (gi\u1ea3 s\u1eed n8n \u0111ang s\u1eed d\u1ee5ng<strong> postgresdb<\/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>\n#!\/usr\/bin\/env bash\nset -Eeuo pipefail\numask 077\n\nexport PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin\n\n# Cau hinh VPS n8n\nN8N=\"n8n-n8n-1\"\nWORKER=\"n8n-n8n-worker-1\"\nPOSTGRES=\"n8n-postgres-1\"\n\nDATA_DIR=\"\/var\/lib\/docker\/volumes\/n8n_n8n_data\/_data\"\nBACKUP_DIR=\"\/var\/backups\/n8n\"\nDATE=\"$(date +%Y%m%d-%H%M%S)\"\n\nmkdir -p \"$BACKUP_DIR\"\nchmod 700 \"$BACKUP_DIR\"\n\nBACKUP_FILE=\"$BACKUP_DIR\/n8n-$DATE.tar.gz\"\nTMP=\"$(mktemp -d \"$BACKUP_DIR\/.tmp-XXXXXXXX\")\"\n\nSTOP_PHASE=0\n\n# Khoi dong lai n8n neu xay ra loi\ncleanup() {\n  local status=$?\n  trap - EXIT\n\n  if &#091;&#091; \"$STOP_PHASE\" == 1 ]]; then\n    for c in \"$N8N\" \"$WORKER\"; do\n      if &#091;&#091; \"$(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\n  rm -rf -- \"$TMP\"\n  exit \"$status\"\n}\ntrap cleanup EXIT\n\necho \"Kiem tra he thong...\"\n\n# Kiem tra cac container\nfor c in \"$N8N\" \"$WORKER\" \"$POSTGRES\"; do\n  test \"$(docker inspect -f '{{.State.Running}}' \"$c\")\" = \"true\"\ndone\n\ntest -d \"$DATA_DIR\"\nrclone lsf secure: &gt;\/dev\/null\n\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)\"\n\nif &#091;&#091; -z \"$DB_NAME\" ]]; then\n  echo \"Khong xac dinh duoc database n8n\" &gt;&amp;2\n  exit 1\nfi\n\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\n\necho \"Tam dung n8n va Worker...\"\nSTOP_PHASE=1\n\ndocker stop --time 180 \"$WORKER\" &gt;\/dev\/null\ndocker stop --time 180 \"$N8N\" &gt;\/dev\/null\n\necho \"Backup PostgreSQL...\"\n\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\n# Kiem tra PostgreSQL dump\ndocker exec -i \"$POSTGRES\" pg_restore -l \\\n  &lt; \"$TMP\/postgres.dump\" &gt;\/dev\/null\n\necho \"Backup thu muc n8n...\"\n\ntar -C \"$DATA_DIR\" -czf \"$TMP\/n8n-data.tar.gz\" .\n\n# Backup Compose va .env neu tim thay\nCOMPOSE_DIR=\"$(docker inspect \"$N8N\" \\\n  --format '{{index .Config.Labels \"com.docker.compose.project.working_dir\"}}')\"\n\nif &#091;&#091; -d \"$COMPOSE_DIR\" ]]; then\n  mkdir -p \"$TMP\/deployment\"\n\n  for f in compose.yaml compose.yml docker-compose.yml docker-compose.yaml .env; do\n    if &#091;&#091; -f \"$COMPOSE_DIR\/$f\" ]]; then\n      cp \"$COMPOSE_DIR\/$f\" \"$TMP\/deployment\/\"\n    fi\n  done\nfi\n\nprintf 'Database: %s\\nCreated: %s\\n' \\\n  \"$DB_NAME\" \"$DATE\" &gt; \"$TMP\/backup-info.txt\"\n\necho \"Khoi dong lai n8n va Worker...\"\n\ndocker start \"$N8N\" &gt;\/dev\/null\ndocker start \"$WORKER\" &gt;\/dev\/null\nSTOP_PHASE=0\n\necho \"Nen ban backup...\"\n\ntar -C \"$TMP\" -czf \"$BACKUP_FILE\" .\n\n# Kiem tra file nen\ntar -tzf \"$BACKUP_FILE\" &gt;\/dev\/null\n\necho \"Tai len Google Drive...\"\n\nrclone copyto \"$BACKUP_FILE\" \\\n  \"secure:$(basename \"$BACKUP_FILE\")\"\n\necho \"Don backup cuc bo cu...\"\n\nfind \"$BACKUP_DIR\" -maxdepth 1 -type f \\\n  -name 'n8n-*.tar.gz' -mtime +7 -delete\n\necho \"BACKUP N8N THANH CONG!\"\n<\/code><\/pre>\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\n<li>T\u1ea1m d\u1eebng n8n c\u00f9ng Worker.<\/li>\n\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\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\n<li>Kh\u1edfi \u0111\u1ed9ng l\u1ea1i n8n v\u00e0 Worker.<\/li>\n\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\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_29-1024x575.png\" alt=\"T\u1ea1o script backup n8n\" class=\"wp-image-130985\" title=\"\" srcset=\"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-300x168.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_29-768x431.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_29.png 1265w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>T\u1ea1o script backup n8n<\/strong><\/figcaption><\/figure>\n<\/div>\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 n8n, h\u00e3y s\u1eeda gi\u00e1 tr\u1ecb CONTAINER trong script.<\/li>\n\n\n\n<li>Script kh\u00f4ng h\u1ed7 tr\u1ee3 PostgreSQL ho\u1eb7c nhi\u1ec1u container n8n c\u00f9ng ghi v\u00e0o m\u1ed9t c\u01a1 s\u1edf d\u1eef li\u1ec7u.<\/li>\n\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\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\"><strong>2.3. Ch\u1ea1y th\u1eed script backup n8n<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">L\u01b0u script b\u1eb1ng <strong><\/strong><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<div class=\"wp-block-image\">\n<figure class=\"aligncenter 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\" \/><figcaption class=\"wp-element-caption\"><strong> Ch\u1ea1y th\u1eed script backup n8n<\/strong><\/figcaption><\/figure>\n<\/div>\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 &#8220;<strong>n8n-20261016-020000.tar.gz<\/strong>&#8221; th\u00ec b\u1ea3n backup \u0111\u00e3 \u0111\u01b0\u1ee3c t\u1ea3i l\u00ean.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter 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\" \/><figcaption class=\"wp-element-caption\"><strong> Ch\u1ea1y th\u1eed script backup n8n<\/strong><\/figcaption><\/figure>\n<\/div>\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\"><strong>2.4. Thi\u1ebft l\u1eadp backup n8n m\u1ed7i ng\u00e0y<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter 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\" \/><figcaption class=\"wp-element-caption\"><strong>Thi\u1ebft l\u1eadp backup n8n m\u1ed7i ng\u00e0y<\/strong><\/figcaption><\/figure>\n<\/div>\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\"><strong>B\u01b0\u1edbc 3 \u2013 T\u1ef1 \u0111\u1ed9ng backup OpenClaw tr\u00ean VPS th\u1ee9 hai<\/strong><\/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\"><strong>3.1. Ki\u1ec3m tra t\u00ednh n\u0103ng backup c\u1ee7a OpenClaw<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter 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\" \/><figcaption class=\"wp-element-caption\"><strong>Ki\u1ec3m tra t\u00ednh n\u0103ng backup c\u1ee7a OpenClaw<\/strong><\/figcaption><\/figure>\n<\/div>\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\"><strong>3.2. T\u1ea1o script backup OpenClaw<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1edf Nano:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">nano ~\/backup-openclaw.sh<\/p>\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>\n#!\/usr\/bin\/env bash\nset -Eeuo pipefail\numask 077\n\nexport PATH=\"\/usr\/local\/bin:\/usr\/bin:\/bin:$HOME\/.local\/bin:$HOME\/.npm-global\/bin:$PATH\"\n\n# Ho tro OpenClaw cai qua NVM\nif &#091;&#091; -s \"$HOME\/.nvm\/nvm.sh\" ]]; then\n  set +u\n  source \"$HOME\/.nvm\/nvm.sh\"\n  set -u\nfi\n\nBACKUP_DIR=\"\/var\/backups\/openclaw\"\n\nmkdir -p \"$BACKUP_DIR\"\nchmod 700 \"$BACKUP_DIR\"\n\necho \"Kiem tra OpenClaw va Google Drive...\"\n\ncommand -v openclaw &gt;\/dev\/null\ncommand -v rclone &gt;\/dev\/null\nrclone lsf secure: &gt;\/dev\/null\n\n# Tao thu muc tam\nTMP_DIR=\"$(mktemp -d \"$BACKUP_DIR\/.tmp-XXXXXXXX\")\"\ntrap 'rm -rf -- \"$TMP_DIR\"' EXIT\n\necho \"Dang tao backup OpenClaw...\"\n\nopenclaw backup create \\\n  --output \"$TMP_DIR\" \\\n  --verify\n\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)\n\nif &#091;&#091; \"${#FILES&#091;@]}\" -ne 1 ]]; then\n  echo \"Khong tim thay file backup hop le\" &gt;&amp;2\n  exit 1\nfi\n\nFILE=\"${FILES&#091;0]}\"\nNAME=\"$(basename \"$FILE\")\"\n\n# Luu ban sao cuc bo\nmv -- \"$FILE\" \"$BACKUP_DIR\/$NAME\"\n\necho \"Dang tai backup len Google Drive...\"\n\nrclone copyto \\\n  \"$BACKUP_DIR\/$NAME\" \\\n  \"secure:$NAME\"\n\necho \"Don cac ban backup cuc bo cu...\"\n\nfind \"$BACKUP_DIR\" -maxdepth 1 -type f \\\n  -name '*.tar.gz' -mtime +7 -delete\n\necho \"BACKUP OPENCLAW THANH CONG!\"\n<\/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\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\n<li>Ki\u1ec3m tra b\u1ea3n backup b\u1eb1ng <code>--verify<\/code>.<\/li>\n\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\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\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\"><strong>3.3. Ch\u1ea1y th\u1eed backup OpenClaw<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter 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\" \/><figcaption class=\"wp-element-caption\"><strong>Ch\u1ea1y th\u1eed backup OpenClaw<\/strong><\/figcaption><\/figure>\n<\/div>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"262\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_37-1024x262.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-1024x262.png 1024w, 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-768x196.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_37.png 1041w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Ch\u1ea1y th\u1eed backup OpenClaw<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h4 id=\"3.4._Thi\u1ebft_l\u1eadp_t\u1ef1_\u0111\u1ed9ng_backup_OpenClaw_m\u1ed7i_ng\u00e0y\"><strong>3.4. Thi\u1ebft l\u1eadp t\u1ef1 \u0111\u1ed9ng backup OpenClaw m\u1ed7i ng\u00e0y<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"555\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_38-1024x555.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-1024x555.png 1024w, 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-768x416.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_38.png 1133w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Thi\u1ebft l\u1eadp t\u1ef1 \u0111\u1ed9ng backup OpenClaw m\u1ed7i ng\u00e0y<\/strong><\/figcaption><\/figure>\n<\/div>\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\"><strong>B\u01b0\u1edbc 4 \u2013 Ki\u1ec3m tra b\u1ea3n backup tr\u00ean Google Drive<\/strong><\/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\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">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<div class=\"wp-block-image\">\n<figure class=\"aligncenter 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\" \/><figcaption class=\"wp-element-caption\"><strong>Ki\u1ec3m tra b\u1ea3n backup tr\u00ean Google Drive<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"578\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_40-1024x578.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-1024x578.png 1024w, 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-768x433.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_40.png 1076w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Ki\u1ec3m tra b\u1ea3n backup tr\u00ean Google Drive<\/strong><\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"565\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_41-1024x565.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-1024x565.png 1024w, 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.png 1110w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Ki\u1ec3m tra b\u1ea3n backup tr\u00ean Google Drive<\/strong><\/figcaption><\/figure>\n<\/div>\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\n&nbsp;&nbsp;\"secure:TEN_FILE_BACKUP.tar.gz\" \\\n\n&nbsp;&nbsp;\"\/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\"><strong>C\u00e1ch kh\u00f4i ph\u1ee5c d\u1eef li\u1ec7u khi VPS g\u1eb7p s\u1ef1 c\u1ed1<\/strong><\/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\"><strong>Kh\u00f4i ph\u1ee5c n8n tr\u00ean VPS 1<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">V\u1edbi n8n SQLite, 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\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\n<li>T\u1ea3i t\u1ec7p backup n8n v\u1ec1 VPS.<\/li>\n\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\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.<\/li>\n\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\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<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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-3.png\" alt=\"C\u00e1ch kh\u00f4i ph\u1ee5c d\u1eef li\u1ec7u khi VPS g\u1eb7p s\u1ef1 c\u1ed1\" class=\"wp-image-131032\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-3.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-3-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch kh\u00f4i ph\u1ee5c d\u1eef li\u1ec7u khi VPS g\u1eb7p s\u1ef1 c\u1ed1<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 id=\"Kh\u00f4i_ph\u1ee5c_OpenClaw_tr\u00ean_VPS_2\"><strong>Kh\u00f4i ph\u1ee5c OpenClaw tr\u00ean VPS 2<\/strong><\/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\n&nbsp;&nbsp;\"secure:TEN_FILE_BACKUP.tar.gz\" \\\n\n&nbsp;&nbsp;\"$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\n&nbsp;&nbsp;\"$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\n&nbsp;&nbsp;\"$HOME\/openclaw-restore.tar.gz\" \\\n\n&nbsp;&nbsp;--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<pre class=\"wp-block-code\"><code>OpenClaw<\/code><\/pre>\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\"><strong>Nh\u1eefng l\u01b0u \u00fd quan tr\u1ecdng khi backup nhi\u1ec1u VPS<\/strong><\/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\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\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\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\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\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\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<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-4.png\" alt=\"Nh\u1eefng l\u01b0u \u00fd quan tr\u1ecdng khi backup nhi\u1ec1u VPS\" class=\"wp-image-131028\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-4.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/tu-dong-backup-n8n-va-openclaw-len-google-drive-4-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Nh\u1eefng l\u01b0u \u00fd quan tr\u1ecdng khi backup nhi\u1ec1u VPS<\/strong><\/figcaption><\/figure>\n<\/div>\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\"><strong>K\u1ebft lu\u1eadn<\/strong><\/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<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p\"><strong>Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/strong><\/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>C\u00e1ch \u0111\u01a1n gi\u1ea3n v\u00e0 \u1ed5n \u0111\u1ecbnh nh\u1ea5t \u0111\u1ec3 auto 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. C\u00f9ng t\u00ecm hi\u1ec3u c\u00e1ch th\u1ef1c [&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":6,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130945\/revisions"}],"predecessor-version":[{"id":131034,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130945\/revisions\/131034"}],"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}]}}