Automated Backup System for Websites

Download latest version - Project on SourceForge

Abs is a configurable, automated backup system for websites on FTP host. Sysadmin must only set a configuration file for each domain. Script can invoked with command line:

./abs database|website|all domain.cfg

It recommend to use crontab to automate backup activities, for example:

# crontab -e

0 2 * * * /path/to/abs/abs database example.com.cfg
0 3 12,27 * * /path/to/abs/abs website example.com.cfg

It uses configuration files to get backup informations. Configuration files must be located in config/ folder and named as websitedomain.com.cfg

[General]
domain=example.com
zip_password=changeit # to protect zip files with password
site_location=/var/www/example.com/web # website location

# database credentials
db_name=c1example
db_username=c1userex
db_password=password

n_max_files_site=10 # Max number of website backup files on FTP host
n_max_files_db=30 # Max number of database backup files on FTP host
email_report=info@example.com # Email address of the person who receive report
success_send_email=1 # 0=receive mail report only when backup was wrong; 1=also receive mail report when backup completed

# FTP credentials
[FTP]
ftp_server=ftp.ftpexample.com
ftp_user=userex
ftp_password=passwordex

Finally, must set smtp credentials on config.cfg file.

[SMTP]
smtp_server=
smtp_name=
smtp_email=
smtp_password=

Download latest version - Project on SourceForge

You can signal issues and requests on https://sourceforge.net/projects/abs-for-websites/