Skip to content

Simple backup script for GNU/Linux servers

Notifications You must be signed in to change notification settings

danitfk/bash-backup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

Simple backup script for GNU/Linux servers

Simple bash backup script V1.1

You need megatools in order to upload your backup file to MEGA. Download megatools from http://megatools.megous.com/

Main features

  • Backup custom files and directories
  • Backup MySQL/PostgreSQL/MongoDB databases
  • Copy/SCP/FTP to another server or mounted media
  • Upload to MEGA.nz cloud
  • Send a notification to your email
  • Logging all the activities
  • Encrypts backup file using GPG
  • Backup multiple MariaDB/MySQL docker containers

Edit the configuration and run

sudo bash backup.sh

syntax for Backup Docker Mariadb/Mysql

containerID:::user:::password:::database

Requirements

  • tar
  • gzip
  • bzip2

Changelog

V1.1

  • Added multiple MariaDB/MySQL docker backup

V1.0

  • Added MongoDB backup support

TODO

  • Docker volume backup support

About

Simple backup script for GNU/Linux servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%