w3easyBackup
Backup Script
2011-11-16
Some hundred years ago websites were build and edited offline on a PC's harddisk. Only when the site was ready and it's pages up to date it was published by uploading the files and folders to the server. That way you always had a copy of your site on your PC resp. in fact your website on the server was a copy of the original site on your PC.
But these times are over. Today you upload a naked CMS without any content to the server and only then you specify your settings, create pages and write unique content (hopefully...;). But what, if the server crashes or gets hacked? All your work is lost, if you have not saved a copy to another place. Therefore a backup functionality is of elementary urgency for a modern site.
With the w3easyBackup script you can easily store your whole website or alternatively the files and folders that you have selected in the settings to a .zip compressed backup file. This file can be stored in a backup folder on your server and can also be sent as mail attachment to a mail account of your choice. In this case the backup file can even be deleted automatically from the server, if you select this option.
To have a good overview of all the files on your server there is a fíle and folder viewer integrated, that lets you crawl around your server to help you make the right decision about the files and folders you want to backup. Once the settings are done, it just needs two clicks to backup your valuable content and even the scripts or whatever.
I have to admit, that the major part of the script is written by Vikas Patial who used a 'class to dynamically create a zip file (archive)' by Rochak Chauhan and a 'MySQL database backup class' by Vagharshak Tozalakyan, all licensed under the GPL. I added the functionality to backup also the root files that was not implemented so far and coded a 'GUI' for the nice tool.
We are very happy to be able to provide this backup script as a part of the w3easyCMS or as one of the w3easyTools for anybody who might need it...
Btw: The same backup functionality you can find in the w3easyAdmin tool, too, but I wanted to release it also separately for some reasons.
w3easyNews
2012-05-09
Btw: Our directory protection script 'w3easyProtect' has got several 5/5 ratings at HotScripts. Not too bad. There must be some experts out there...;)
2012-05-03
Finally the 3. note in the php.net article about the chmod function solved the 'chmod' problem concerning the editor resp. the admin tool. The $_POST chmod value, that is first given as string, has to be transformed to an integer by the octdec() function. Basically not that difficult. Hmmm...
Many Thanks, MethodicalFool...;)
2012-03-30
Hmmm... Ok, we have not changed the server yet. But this will happen next week, for sure!!!