Skip to content

Yet another web backup. SQL and FTP backup (with mysqldump and wget)

License

Notifications You must be signed in to change notification settings

drdada/WebBackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

WebBackup

Yet another web backup. SQL and FTP backup (with mysqldump and wget)

Features

  • Backup your files via FTP
  • Backup your database via Mysqldump
  • Rotate backups (in days)
  • Compression

Requirement

  • Mysqldump (mysql-client)
  • Wget
  • GZip
  • Bash

Install

Install the requirement

apt-get install wget gzip mysql-client

Download the script

wget https://raw.githubusercontent.com/drdada/WebBackup/master/backup.sh

Edit it to change your creds.

nano backup.sh

Make it runnable

chmod +x backup.sh

Run it !

./backup.sh Now you can configure cron etc...

TODO

Tell me ?

About

Yet another web backup. SQL and FTP backup (with mysqldump and wget)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages