ispCP - Board - Support
Offsite FTP-Backup script - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Enhancements (/forum-43.html)
+--- Thread: Offsite FTP-Backup script (/thread-14320.html)



Offsite FTP-Backup script - none - 07-05-2011 09:01 PM

You also were looking for a simple offsite backup via FTP for the backup files created by ispCP?

Well, at least I was and I couldn't find one which fitted my needs, so I decided to hack one by myself.

The script requires nothing but Python by using the Python ftplib.

The script is intended to be run via "cron" and transfers the backups ispCP generates (if enabled) to a remote FTP server. All files are stored with a timestamp on the server and you can decide how many days of backups you want to keep on the server. If anything goes wrong, the script will send out a warning mail otherwise it produces no output at all.

Configuration is simple. You only need to provide a FTP-Server, username, password, path to store the backups on the FTP, the domains to consider, days to keep the backups and your mail account setting to retrieve status mails.

Anny suggestions are welcome! Patches as well Big Grin

Please find the script here:
http://olausson.de/scriptarchive/21-misc/95-ftpbackuppy

Cheers,
Bjoern