Backup my Linux servers to Google Drive

 1 min read

I'd created my own backup script to keep a copy of $HOME to all my Linux servers.

Install Google Drive to your Linux Server

First, you’ll need to install Google Drive to your Linux machine (debian or ubuntu tested)

wget -O drive
sudo mv drive /usr/sbin/drive
sudo chmod 755 /usr/sbin/drive

Next, you’ll need to type drive and then follow the instructions.

Install the Backup Script

Replace <GOOGLE_DRIVE_FOLDER_ID> with the Google Drive folder ID. This usually looks like random characters.

Tags: ,


Leave a Comment