| For most people who use shared hosting services, it is possible to generate full or partial website backups manually. While this can prove to be useful for static websites, it wouldn’t make sense to manually backup a dynamic website everyday. For this purpose, I’ve created a Simple FTP Backup Script for Linux-based web servers. This Perl backup script allows you archive files and MySQL databases from your hosting account and upload them to a remote FTP server.
By scheduling the execution of this script automatically through a CRON task, you will be able to store daily backups of your website on a remote FTP server. Using the Simple FTP Backup ScriptIn order to run this script, you will Perl as well as the Net::ftp class. Here’s how to use this script :
It’s as simple as that! Of course, this is a beta release and I cannot guarantee the results nor do I take responsibility for loss of data so use it carefully. Stay tuned as I will show you how to schedule backup tasks using cPanel and strategic ways to create backups efficiently.
|
Powered by WHMCompleteSolution