Programatically backing up Enterprise Global

M

Mani

Hi

I am using Project Server 2003 and I want to automate the process of backing
up the Enterprise Global. Any suggestions?

Thanks,
Mani
 
M

Mani

Thanks for your response Gill.

As a part of automating the process of updating the User RBS, I want to back
up Enterprise Global before I go for any updation. So that I can restore only
the Enterprise Global if the program encounter any issues.

Thanks,
Mani
 
M

Mani

Yeah, I also came across the same functionality. But the issue is getting
the 'ApplicationClass' object. How can I get the 'ApplicationClass' object
related to the 'Enterprise Global'?

I try to use a shell app with project server URL like "winproj.exe /s
serverurl /u <user> /p <pwd>". It opens up the Project PRO but not returning
any object of type 'ApplicationClass'. Inputs are appreciated.

Thanks,
Mani
 
R

Rod Gill

The Shell statement to start Project Professional is correct (leave out user
name and password to logon with Windows Authentication). Then:

Dim ProjApp as MSProject.Application
set ProjApp=GetObject(,"MSProject.Application")
ProjApp.EnterpriseGlobalBackup MyBackupFilePath

--

Rod Gill
Project MVP
Visit www.msproject-systems.com for Project Companion Tools and more

NEW!! Project VBA Book now in stock, for details visit:
www.projectvbabook.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top