script for duplicating files on a server?
Firstly, i would like to know how to duplicate files on a server using a script. So for example, i would like to push a button, which starts the script, which then copies files from one folder to another new folder.
Secondly i would like to know if it is possible to create a new database at the same time.
So basically i want to duplicate a db driven site at the push of a button. I have little knowledge about this sort thing so please can someone advise me using simple instructions. You advice would be greatly appreciated.