Current time: 11-22-2024, 09:44 AM Hello There, Guest! (LoginRegister)


Post Reply 
Offsite FTP-Backup script
Author Message
none Offline
Newbie
*

Posts: 6
Joined: Dec 2008
Reputation: 0
Post: #1
Offsite FTP-Backup script
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
07-05-2011 09:01 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)