Link to home
Start Free TrialLog in
Avatar of xoundboy
xoundboy

asked on

How to create a zip-type backup of a large site on the server for quick synchronisation

My client has a sprawling joomla site consisting of thousands of files and I would like to download it to for setting up on my development machine. FTP-ing the site  could take days!

The web hosting company has a function to creat a tar of the site folder but whenever I try to download and extract it it errors saying that the tar is corrupted.

I would like to know if there's a php script that can make a zip-type archive of the entire directory that can then be downloaded and unzipped on my local machine. I wrote a coldfusion script that can do this but this particular host doesn't support CF and I don't know how to do it in PHP.

I found a script called PHP Navigator that is suppoesed to do something like this but it doesn't......any ideas?
ASKER CERTIFIED SOLUTION
Avatar of MrEne
MrEne
Flag of Hungary image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xoundboy
xoundboy

ASKER

will try it out and let you know how it went, thanks
I'm not very familiar with PHP.

Please could you give me an example of how to write a script to zip up a folder and its subfolders using this class

thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
its a windows host and I I can't access the shell unfortunately
I used cuteFTP to do the synch - several times faster than Dreamweaver - quite a relief

thanks for your advice though