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?
PHP

Avatar of undefined
Last Comment
xoundboy

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
MrEne

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
xoundboy

ASKER
will try it out and let you know how it went, thanks
xoundboy

ASKER
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
MrEne

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
xoundboy

ASKER
its a windows host and I I can't access the shell unfortunately
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
xoundboy

ASKER
I used cuteFTP to do the synch - several times faster than Dreamweaver - quite a relief

thanks for your advice though