PYTHON script to create a backup of all linux system and upload to google drive
- Install pydrive:
pip install PyDrive - Get your credentials
client_secrets.jsonfrom google api console and place them in the same directory as thebackup.pyscript - Replace placeholders in file
backup.pylike<FOLDER_ID>,MAIL... ( seebackup.py) - Run the script:
python backup.py