Author Topic: backup on google drive  (Read 4920 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
backup on google drive
« on: May 01, 2020, 11:35:33 AM »
in CWP control panel can I do the auto backup on google drive instead of the server disk

Offline
*
Re: backup on google drive
« Reply #1 on: May 04, 2020, 07:30:54 PM »
You could use rClone to sync your local backup folder(s) to google drive:
https://rclone.org/drive/

Install rclone and
Setup a cron job with something like this:
rclone sync /yourbackupfolder/ remotename:remotebackupfolder

Yourbackupfolder will be synced with google drive every time the cron job is run.

p.s If you delete source folder - yourbackupfolder - files will also be removed from google drive. If you don't want that use:
rclone copy /yourbackupfolder/ remotename:remotebackupfolder

Read the rclone manuals - https://rclone.org/docs/