Skip to content

An Python script to backup your Linux server automatically without programming knowledge

Notifications You must be signed in to change notification settings

Atomkrieger03/Linux-Backup-Script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux Backup Script

My Python script helps you to backup your Linux Server. You can use it without any programming knowledge just by editing the config.py file. The script backups directories and the entire MySQL Database and save it to a folder that you can set in the config.py file.

Installation

  • Install Python with apt install python3 python3-pip
  • Edit the config.py with a text editor like Notepad++
  • Setup cronjob with crontab -e.
    • This cronjob backup your Linux server every day at 3 AM 0 3 * * * python3 /path/to/script/Linux-Backup-Script/backup.py

Automatic cloud upload

I recommend using this script with rclone. Rclone is used to mount a Cloud Storage like Google Drive, OneDrive etc. You can set this path as backup target and rclone will upload it automatically to the cloud.

YouTube Tutorial (German)

YouTube Tutorial

About

An Python script to backup your Linux server automatically without programming knowledge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%