Simple bash backup script You need megatools in order to upload your backup file to MEGA. Download megatools from http://megatools.megous.com/
- Backup custom files and directories
- Backup MySQL/PostgreSQL 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
sudo bash backup.sh