Forum Moderators: coopster

Message Too Old, No Replies

PHP Based file/folder backup script

A script to backup all files including dir structure from serving dir

         

PSWorx

5:20 pm on Aug 17, 2006 (gmt 0)

10+ Year Member



Does anyone know of any OSource scripts to read the file/dir structure and then compress it into one zip/tar/gzip file to then be deliverd to the end user via http/https download.

Any ideas, help would be great.

jatar_k

6:01 pm on Aug 17, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



we used shell scripts for this, stops you from hitting max execution errors

have the script tar and then zip the whole shooting match and save it to a wherever you want it available for download. You may even be able to push the file to wherever you want it saved/ftp'ed/scp'ed to.