hello
i have setup mirroring of my gallery on two servers of mine
i have written a script that shuts apache down, moves out all "site-specific" files (such as access_log and customisations to albums.php that outline which mirror youre at) .. it then tarballs the gallery, transfers it to the other server, the other server then extracts it.
the problem is however that ive missed something that i also need to exclude. The second server has different paths to the gallery, and the URL is of course different. Can you tell me which file / directory to exclude when creating the tarball so that the "configuration" on the mirror remains intact ... does that make sense?
At present i have to re-run ./configure.sh and fix up the pathing because after the mirror update it has inherited the config of server A.
http://gallery.darb.net/
vs
http://usa.darb.net/gallery/
Cheers !
:smile:
Posts: 314
config.php is the only file where paths are stored, I suggest you don't copy that file to another server.
Posts: 101
thanks , im amazed a php file actually stores the config ...b ut cheers