How to take backup of all files and folders

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cader
Forum Newbie
Posts: 1
Joined: Wed Feb 22, 2006 11:34 pm

How to take backup of all files and folders

Post 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
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post 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
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply