[mapguide-users] Move Default Repository Location?

JeffJensen jefferyjjensen at gmail.com
Thu Oct 2 14:19:58 EDT 2008


Hello MapGuide Open Source Users,

To backup MapGuide Server, do you see any issues if I copy the Repositories
directory? Then if I have problems, just restore that directory?

This is the steps I'm plan on doing:

How to backup the Resources Database

	
Step 0: confirm the path to the resources
	

		
Login to MapGuide Site Administrator 
			(http://localhost:8008/mapguide/mapadmin/login.php)
		
on the left hand frame, under Manage Servers, click Configure Services
		
Under the Resource Service heading, note the path for 
		

			
Library data file folder
			
Library repository folder
			
Session data file folder
			
Session repository folder
			
Site repository folder
		

		
Installation default is to put all these folders under the 
			C:/Program Files/MapGuideOpenSource2.0/Server/Repositories directory
	

	
Step 1: Stop the MapGuide Server Service
		(Use Control Panel -> Administrative Tools -> Services ->
MapGuide Server v2.0)
	
Step 2: copy/backup or paste/restore the 
		C:/Program Files/MapGuideOpenSource2.0/Server/Repositories directory
  

  	
Change the directory if different from Step 0
  

	
Step 3: Start the MapGuide Server Service
		(Use Control Panel -> Administrative Tools -> Services ->
MapGuide Server v2.0)
	
Notes
	

		
This will overwrite any changes to the User accounts as well
		
This will backup/restore the Session Repository/Storage Container
		
This will backup/restore the Library Repository/Storage Container
		
This will backup/restore the Resource Data/Data Files (e.g. shp, sdf, ...)
	



Thanks for the help,

Jeff Jensen

shaneb wrote:
> 
> Thanks everyone for the help.  I had a bad directory name, and it really
> helped that Andy mentioned the MG Service won't start if this happens.  
> 
>  
> 
> ________________________________
> 
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Andy
> Morsell
> Sent: Tuesday, January 30, 2007 12:10 PM
> To: 'MapGuide Users Mail List'
> Subject: RE: [mapguide-users] Move Default Repository Location?
> 
>  
> 
> This brings up another point some people may not be aware of: if you
> mess up one of the paths in Admin and then restart the service, it will
> fail to start.  To fix this, your only option is to manually edit the
> \Server\Bin\serverconfig.ini file (something Jason originally pointed
> out to me). 
> 
>  
> 
> Andy 
> 
> ________________________________
> 
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jason Birch
> Sent: Tuesday, January 30, 2007 10:01 AM
> To: MapGuide Users Mail List
> Subject: RE: [mapguide-users] Move Default Repository Location?
> 
> Yeah.  
> 
>  
> 
> Personally, I find it "feels better" to stop the service, change the
> config file manually, and then restart the service.  I hate changing
> something when it's running and responding to requests, etc.
> 
>  
> 
> Jason
> 
>  
> 
> ________________________________
> 
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Dave Wilson
> Sent: Tuesday, January 30, 2007 09:59
> To: MapGuide Users Mail List
> Subject: RE: [mapguide-users] Move Default Repository Location?
> 
> If you make changes to your repository path in Web Admin you need to
> stop and restart the server service.
> 
>  
> 
> Dave
> 
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Move-Default-Repository-Location--tp8714272p19784881.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20081002/e9b4e29d/attachment.html


More information about the mapguide-users mailing list