Backup of Directories, version 3.5 – perl script for backup copies of directories of sites of WEB server.

Example of configuration:

work directory:

/etc/file_backup

file of configuration of site: site.cfg

# Amount of full backups
$max_backups = 3;

# tag of file name
$tagname = 'SITENAME';

# where will be stored
$workdir = '/backups/files/SITENAME';

# what and from where
$dir = '/home/SITENAME|public_html';

Example of cron task for archives (with option –full for first call):

file /etc/cron.daily/backups

#!/bin/sh

# optional mysql backup
/usr/local/bin/automysqlbackup -b -c /etc/automysqlbackup/server.com

# (option --full need for first call)
/etc/file_backup/dirbackup-X.X.pl --config-file=/etc/file_backup/SITENAME.cfg 

Download, version 3.5 : files_backup.tar.gz

AutoMysqlbackup script version 3.0_rc6: automysqlbackup-v3.0_rc6.tar

Scroll to top