Skip to content

Small shell script for providing FTP backup solution for your website and databases. It supports incremential backups to remote FTP destination. Easy to setup and configure.

License

Notifications You must be signed in to change notification settings

djariss/Quick-Shell-FTP-backup-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Quick Shell FTP backup script

Small shell script for providing FTP backup solution for your websites and databases with support for incremential backups. Please note that this shell script is intended to be used for remote FTP storage of your backups.

INSTALATION

In order to use the script, upload it to your website, for example inside /root/quick-shell-backup-script.sh

Then open up the script file using your favourite editor, for example vi /root/quick-shell-backup-script.sh

Replace the values for MySQL root password, replace the FTP account access details with your own.

SETUP CRON JOB

If you don't have any control panel for your webserver, you can enter the cron job command by editing /etc/crontab. So, just type in vi /etc/crontab and add this line inside and save changes.

0 3 * * * sh /root/quick-shell-backup-script.sh

You can also specify some other time per your own needs, the example from above will execure the backup on 3h in the morning.

SUPPORT AND FEEDBACK

If you need any feedback or you need support in setting it up, please get in touch with me at [email protected]

About

Small shell script for providing FTP backup solution for your website and databases. It supports incremential backups to remote FTP destination. Easy to setup and configure.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages