Hướng dẫn sử dụng chức năng "Upload Backup To Google Drive"
From version 4.5.10, VPSSIM support auto upload backup files (website & database) to Google Drive using Rclone.
+ Rclone support mnay cloud service (such as: Google drive, Dropbox, Mega ..) but current VPSSIM only support auto config for Google Driver.
+ This function only auto upload backup files, so that you must enable Auto Backup Website & Database in VPS.
==> View How to use auto backup ALL database
==> View How to use auto backup ALL Websites
The function path: VPSSIM Menu ==> Upload Backup To Google Drive
Functions details:
1. Connect VPS To Google Driver : Using this function to config connect VPS to Google Drive account.
2. Set Auto Upload Time: Config script auto upload to Google Drive
3. Clear All Config: Clear & re-set all config for this function.
4. Upload To Google Drive Now: Upload backup files to Google Driver immediately
5. Check Google Drive Status: Check Google Driver disc status
6. Download Backup To This Server: Download Backup from Google Driver to this server.
How to connect VPS to Google Driver
Using the function Connect VPS To Google Drive to do this job.
Then in Type of storage to configure., type in 11 to choose Google Drive
In the next sections, you just type Enter and do not enter anything. When you see the line: Use auto config?, you type in n and Enter.
Then copy the link Rclone show and using it on the browser:
Use the link like below in the browser to get verification code:
Then get the verification code Enter verification code> trên SSH:
Copy this code to Enter verification code> and Enter
Next in Configure this as a team drive?; Type in n and Enter
then Yes this is OK, type in y
next q and press Enter to quit.
And VPSSIM show finished connect:
Next, We Configure The Upload Time
Depending on the size of your Google Drive account, you set the time to save the backup files.
The auto upload time you choose should be different when you configure automatic backup of all websites and databases.
The name of the folder contains all backup files in Google Driver is your VPS's IP:
How To Use The Function Clear All Config
If you want to change the config (time upload ..) or disconect VPS from Google Driver account or change to other account, you must run this function then re-connect to Google Driver again.
From version 4.5.10, VPSSIM support auto upload backup files (website & database) to Google Drive using Rclone.
========================================================================= VPSSIM - Manage VPS/Server by VPSSIM.COM (4.5.11) ========================================================================= Upload Backups To Google Drive ========================================================================= Folder Backup: /home/vpssim.demo/private_html/backup ========================================================================= Total Size Backup Files (Website & Database): 235M ========================================================================= How to use: http://go.vpssim.vn/1147 ========================================================================= 1) Connect VPS To Google Drive 4) Check Google Drive Status 2) Set Auto Upload Time 5) Download Backup To This Server 3) Upload To Google Drive Now 6) Clear All Config Type in your choice (0-Exit):Notes:
+ Rclone support mnay cloud service (such as: Google drive, Dropbox, Mega ..) but current VPSSIM only support auto config for Google Driver.
+ This function only auto upload backup files, so that you must enable Auto Backup Website & Database in VPS.
==> View How to use auto backup ALL database
==> View How to use auto backup ALL Websites
The function path: VPSSIM Menu ==> Upload Backup To Google Drive
Functions details:
1. Connect VPS To Google Driver : Using this function to config connect VPS to Google Drive account.
2. Set Auto Upload Time: Config script auto upload to Google Drive
3. Clear All Config: Clear & re-set all config for this function.
4. Upload To Google Drive Now: Upload backup files to Google Driver immediately
5. Check Google Drive Status: Check Google Driver disc status
6. Download Backup To This Server: Download Backup from Google Driver to this server.
How to connect VPS to Google Driver
Using the function Connect VPS To Google Drive to do this job.
No remotes found - make a new one n) New remote s) Set configuration password q) Quit config n/s/q> nType in n and then anyname in name> (option)
Then in Type of storage to configure., type in 11 to choose Google Drive
In the next sections, you just type Enter and do not enter anything. When you see the line: Use auto config?, you type in n and Enter.
Then copy the link Rclone show and using it on the browser:
Use the link like below in the browser to get verification code:
Code: Select all
In browser, we login to Google Drive account then allow Rclone:https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=202264815644.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3
Aoob&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&state=68950b017f661839a50182
bf7803f0b6
Then get the verification code Enter verification code> trên SSH:
Copy this code to Enter verification code> and Enter
Next in Configure this as a team drive?; Type in n and Enter
then Yes this is OK, type in y
next q and press Enter to quit.
And VPSSIM show finished connect:
Next, We Configure The Upload Time
Depending on the size of your Google Drive account, you set the time to save the backup files.
The auto upload time you choose should be different when you configure automatic backup of all websites and databases.
========================================================================= VPSSIM - Manage VPS/Server by VPSSIM.COM (4.5.10) ========================================================================= Upload Backups To Google Driver ========================================================================= How to use: http://go.vpssim.vn/1147 ========================================================================= 1) Connect VPS To Google Driver 3) Clear All Config 2) Set Time Upload To Google Driver Type in your choice (0-Exit): 2 ========================================================================= Choose the time a backup files can be store in Google Driver. VPSSIM will ------------------------------------------------------------------------- delete all files reach this time limit. ========================================================================= 1) 3 Days 2) 7 Days 3) 10 Days 4) 14 Days 5) 20 Days 6) 30 Days Type in your choice (0-Exit): 2 ------------------------------------------------------------------------- VPSSIM send backup files to Google driver in what time ? [0-23]: 6 ========================================================================= ========================================================================= At 6h everyday, VPSSIM auto upload ALL backup files created by the ------------------------------------------------------------------------- functions [ Auto Backup (ALL) Website ] & [ Auto Backup (ALL) Database ] ------------------------------------------------------------------------- to Google Driver. ------------------------------------------------------------------------- To make sure Google Driver DISC not FULL, VPSSIM auto delete all backup ------------------------------------------------------------------------- files reach 7 days old. ========================================================================= You want to set this config ? [y/N] ySuccessful configuration:
========================================================================= Configure upload backup files to google driver successfully. ------------------------------------------------------------------------- VPSSIM do this job at 6h everyday. ------------------------------------------------------------------------- The name of backup folder in your Google Driver: 108.61.150.186 ------------------------------------------------------------------------- Remember to enable [Auto Backup Code] & [Auto Backup Database] function ! ------------------------------------------------------------------------- Auto Backup Code: ------------------------------------------------------------------------- VPSSIM Menu => Backup & Restore Code ==> Auto Backup (ALL) Website ------------------------------------------------------------------------- Auto Backup Database: ------------------------------------------------------------------------- VPSSIM Menu ==> Database Manage ==> Auto Backup (ALL) Databases ========================================================================= VPSSIM - Manage VPS/Server by VPSSIM.COM (4.5.10) ========================================================================= Upload Backups To Google Driver ========================================================================= How to use: http://go.vpssim.vn/1147 ========================================================================= 1) Connect VPS To Google Driver 3) Clear All Config 2) Set Time Upload To Google Driver Type in your choice (0-Exit):Now we finished config Rclone auto upload all backup files to Google Driver at 6h everydays. The backup files will be delete from driver when it reach 7 days old.
The name of the folder contains all backup files in Google Driver is your VPS's IP:
How To Use The Function Clear All Config
If you want to change the config (time upload ..) or disconect VPS from Google Driver account or change to other account, you must run this function then re-connect to Google Driver again.
========================================================================= VPSSIM - Manage VPS/Server by VPSSIM.COM (4.5.10) ========================================================================= Upload Backups To Google Driver ========================================================================= How to use: http://go.vpssim.vn/1147 ========================================================================= 1) Connect VPS To Google Driver 3) Clear All Config 2) Set Time Upload To Google Driver Type in your choice (0-Exit): 3 ========================================================================= Use this function to clear all the current config of [ Upload Backup To ------------------------------------------------------------------------- Google Driver ] function of VPSSIM. ========================================================================= Are you sure to do this action ? [y/N] y
==> Đăng ký mã VPSSIM Business tại đây ! Thanks.