Skip to content

Automate Uploading of cPanel Created Backups to Google Drive using rclone

Notifications You must be signed in to change notification settings

diyarit/Cpanel-Gdrive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

cpanel-backups-upload-to-gdrive

Automate Uploading of cPanel Created Backups to Google Drive using rclone

  1. Clone this repo in /root directory of the server with directory name gdrive-backup-cpanel using following Command

git clone https://github.com/diyarit/Cpanel-Gdrive -b Cpanel-Gdrive

or you can use wget to download Zip Archive and Extract.

wget 'https://codeload.github.com/diyarit/Cpanel-Gdrive/zip/master'

unzip -j Cpanel-Gdrive -d Cpanel-Gdrive

  1. Run setup.sh with Server Hostname, Host Node, Cron Job Time as arguments

cd Cpanel-Gdrive

source setup.sh "server.hostname.com" "swift" "30 5 * * *"

server.hostname.com = Server's Hostname where Backup Script will run

swift = Host Node name

30 5 * * * = Backup Upload Script will run daily @5:30 AM

Example:

source setup.sh "swift.basezap.com" "swift" "30 5 * * *"

  1. rclone will ask to create a new remote. Make remote for Google drive with "gdrive" as remote name without qoutes.

About

Automate Uploading of cPanel Created Backups to Google Drive using rclone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages