Sunday, August 2, 2009

In my php database, all pictures are stored in 1 folder. How can i back them up fast and organize them withphp

I own a dating website with thousands of profiles now so all images are in same folder and i always need to do a long and heavy (20 gb) backup, how can i program it with php to make faster backups? What does other websites do? It's a programming question, thanks

In my php database, all pictures are stored in 1 folder. How can i back them up fast and organize them withphp
you should try to compress all the files.





or try using ftp to download all files.
Reply:You can't, really...


You could create a second folder and copy your initial one into it, but this will double your site size and still be on the same server!


Your server supplier (or yourself if you have set-up your own server) should do backups or have a "mirror" server. Ask them.


For the rest, I can only see an FTP download from your server to another machine.


There are FTP functions in PhP that will allow you to do so.


Check www.php.net for details.

flower arrangement

No comments:

Post a Comment