You need megatools in order to upload your backup file to MEGA. Download megatools from https://megatools.megous.com/
- Backup custom files and directories
- Backup MySQL/PostgreSQL/MongoDB databases
- Copy/SCP/FTP to another server or mounted media
- Backup GitLab
- 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
sudo bash backup.sh
containerID:::user:::password:::database
mc config host add <ALIAS> <YOUR-S3-ENDPOINT> <YOUR-ACCESS-KEY> <YOUR-SECRET-KEY> <API-SIGNATURE>
for example
mc config host add minio https://192.168.1.51 BKIKJAA5BMMU2RHO6IBB V7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12 --api S3v4
and replace minio with minio_cluster_name
- tar
- gzip
- bzip2
V1.2
- Added GitLab backup with gitlab-rake
V1.3
- Added Minio backup
- tar
- gzip
- bzip2
- mc
- Docker volume backup support
- rsync directory files ( backup public or huge files)