Page 1 of 1

How to take backup of all files and folders

Posted: Wed Feb 22, 2006 11:40 pm
by cader
Hi,

Actually im new to php programming. I am having about 5 sites and i like to take backup of all files and folders (not sql data) of all my sites. With out using FTP or any other .exe programs. But i like to take back up of all sites from one master admin site.

For eg, I like to take backup of http://www.site1.com, http://www.site2.com, http://www.site3.com, http://www.site4.com from the master admin site http://www.masteradmin .com. Using php script (web applications).

Can any one help me how to solve this

Thanks and regards,

s.h. abdul cader

Posted: Thu Feb 23, 2006 2:35 am
by s.dot
You could go about it a couple ways.

Use a script to zip up all the files on the server and send them through your browser for you to download.
copy() all the files into a local backup directory
use build in PHP ftp functions to FTP your site to a remote server