Script backup folder for Ubuntu / Centos / Debain OS to Google Drive
Compress type: tar , AES-256 Encrypt
Download: Download Script |Linux 64 bit|Linux 32 bit
- Please download the gdrive source from https://github.com/prasmussen/gdrive (Skip this step if you download from above)
- Rename the file u download to gdrive, change the permission " chmod +x gdrive "
- Move to system command , mv gdrive /usr/sbin/gdrive , chmod 755 /usr/sbin/gdrive
- First time run, "gdrive about " , then it will appear a link, copy it to the browser and login with your Gmail Account that you wan to use.
- Allow the permission request, it will return a long code , copy it and paste in to your ssh, DONE!
- Now, config server-backup.sh with the directory you want to backup and encrypt function (REMEMBER the PASSWORD you SET)!!!
- Then make cron job or Run the script muanually ~~ Enjoy ~~