Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scheduling dsmaint backup

Status
Not open for further replies.

TheMac28nearly

Technical User
Jan 31, 2002
111
GB
Hi, ive tried to perform the above both using the AT command and Task scheduler with no joy

I was getting event id 7901 using the AT command which was pointing to an authorisation issue and was advised to use task scheduler instead so that you could provide a logon

If i browse to the dsmaint exe using task scheduler, it does report it run succesfully, but when i change the end of the path from dsmaint.exe&quot; to dsmaint backup <destination path> it reports the status as could not start. The destination is a remote server which is accessible with the same logon as provided in the task

Any ideas ?

Andy
 
Why don't you write a script file to do what you need to do then schedule just the .cmd file? That way it's run by the system account, have you tried that?

Cheers,
Carl.
 
Yeah, i actually got a script from another website and modified it, now its happily backing up to a remote server via a scheduled task with a date and time stamp.

Thanks anyway

Andy
 
Just as an aside, I would be tempted to stop and start the IMA service before running the backup. I am sure that if you don't do this then you will not have the relevant files neccessary for a restore. i.e. a .unk file.

 
Now i thought that the dsmaint backup command stopped and started the ima service. I also thought that you only needed the mf20 file itself for the restore and if you perform a dsmaint restore, then jobs a gooden

 
So did I until I tried it........

I was then informed that if you read the small print in the admin pdf's then you need to stop and start the IMA at some point to get the .bak & .unk files that are also required.
Have a good read on the Citrix Web site regarding this, I got my fingers burnt once. Won't happen again tho......[blush]

It might be sorted in later FR's tho. Thought I would make you aware though.
 
After reading about it would appear that if we have a farm of the same name, and then manually copy the mdb and dsn files into the ima dir, stop and start the ima service, everything should be fine

the .unk it appears is created when the ima service is stopped, and then when the ima starts again, it removes the .unk and creates the .ldb and .bak (i know the .ldb is there by default as well before stopping the service)
 
yes that should be the short and curlies of it.

It is the extra files you need to make sure you can do a dsmaint restore cos it then looks for a .bak file.

As I said I got burned once with it.
 
I can see what you mean, its just that trawling through the documentation i cant see anything to support it.

We are going to do various dr testing this week, so i'll be able to confirm or deny

Thanks for the input anyway
 
Can you send me a copy of the script to wendsley@wegohere.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top