Administering 2 gallerys in 2 servers

christ8

Joined: 2010-02-19
Posts: 53
Posted: Thu, 2010-06-17 04:10

I have set up 2 servers in 2 different computers. The first one is for testing and uploading photos. Then I moved the db and g2data files over to the second computer and installed gallery2. Everything works. Now, if I make additions (photos and albums) to the gallery in the first computer, do I have to move the whole db and g2data again? Is there a way to just move the new albums and photos?

Thanks.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-06-17 07:01

Sounds like you want to have a mirror. No, there is no way to do what you want without also moving the DB. There are people who've done this where they have a "production" in house server where their people add to Gallery, then they export/copy (what ever you want to call it) Gallery as "read-only" to a public server.

You can move just the photos and albums, Gallery won't know anything about them if there are not references to them in the DB. A G2 install consists of everything under g2data and in the database. If one component is missing you have a broken install.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
christ8

Joined: 2010-02-19
Posts: 53
Posted: Thu, 2010-06-17 14:03

Thanks. Yes, I am trying to set up a mirror. Too bad there is no easy way out.