ArcServe CA_BACKUP rotation job with Disk Staging - Is it possible?

ClivePk
ClivePk used Ask the Experts™
on
I'm trying to achieve the creation of a backup job using ArcServe CA_BACKUP command line. I want the job to be a rotational job and use diskstaging before migration to tape device. I can create a rotational job no problem or I can create a non rotational job that stages correctly to disk and migrates but I can't seem to have both. When I submit the job it fails straight away with (Unable to get rotational media name. mediapool prefix=POOL1 EC=-1) Here is the command line below:

ca_backup -source <comp1> ntagent -username caservice -password <password> -source <comp2> ntagent -username caservice -password <password> -source <comp3> ntagent -username caservice -password <password> -source <comp4> ntagent -username caservice -password <password> -diskstage staging -maxstreams 30 -incdiffbackup -copydatatodestination afterjobends 0 0 0 0 -group tape -rotation -mediapool POOL1 -jobunit off overwrite SUN-DIFF -jobunit diff overwrite MON-DIFF -jobunit diff overwrite TUE-DIFF -jobunit diff overwrite WED-DIFF -jobunit diff overwrite THU-DIFF -jobunit full overwrite FRI-FULL -jobunit off overwrite SAT-DIFF -at 10:00

If I remove the diskstage switches this submits fine but I need the diskstaging to work as well. Grateful for any thoughts.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I'm not an expert with all the ARCserve command line utilities but it is my understanding the problem comes from ARCserve treating it as two different types of jobs.

There is your backup job and there is the diskstaging job.

When doing it the normal way via the GUI it is a little more clear that in setting up the one job ARCserve actually treats it as two.

So it is my opinion that if this needs to be done via command line then it will need to be done via two ca_backup commands.

Author

Commented:
dovidmichel - Thanks for the comments. You may well be correct but I'm not sure I understand what you mean by it being clearer through the GUI that AS treats this process as two jobs.

I can set up a rotational job with diskstaging via the GUI no problem and end up with a single job that works fine, not two jobs. Perhaps it appeared that way on previous versions of AS......?

Not disputing what you say but just don't quite get what you mean.
Actually I was thinking of a later version. In 12 everything is setup from the perspective of master child jobs. In the previous version 11.1 disk staging was not supported and had to be scripted via the tapecopy command line utility.  But I thought that in the 11.5 activity log it showed a different job number for the backup and disk staging parts of the job.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Naga Bhanu Kiran KotaCloud Architecture Manager
Commented:
Hi,

Just wanted to add something here, the error that you are seeing is EC=-1 which means a authentication failure for the system a/c. Either the user that you are logged does not have caroot equivivalance or the system a/c password is not updated in the server admin.

are you running this command line job logged in as the arcserve system a/c (the account you have used while installing arcserve)

try to update the system a/c password by opening server admin>> from the menu bar click on system account and enter the password for the windows a/c that is set there and restart the services and then try to run the command

bhanu

Author

Commented:
Good morning and thank you for the comments. Bhanu I believe I have the correct authentication as I can run a command line backup ok for a rotational job but not when I include diskstaging, that said I did try what you suggested in case I missed something but the job still failed with the same error.

Agree EC=-1 is an authentication error code. Could it be a mediapool issue do you think, I know you can't add a File System Device to a mediapool could it be that this is what the command line is trying to do???
Naga Bhanu Kiran KotaCloud Architecture Manager

Commented:
Hi,

Can you confirm what is the disk staging group name. Because you need to mention the disk staging group also.

additionally mention -waitforjobstatus option so that we can get a different error which would generally be

0 - Job completed successfully

1 - job failed

2 - Job is incomplete

3 - Job was cancelled

4 - Job status is unknown

As far as your question of adding a FSD media to media pool you can certainly use FSD as part of media pool.

But a Disk statging device cannot be part of media pool as A DISK STAGING FSD is just a container for your initial data. So all your backup data goes to the same FSD which is enabled for disk staging.

Hope you already have enabled disk staging on your FSD.

bhanu

Author

Commented:
Hi bhanu,

Yep the staging has been enabled on the FSD - Your comments are of course correct you can have an FSD as part of a media pool but NOT when it's a staging area :)

The staging area is named 'Staging' and is specified in the command line as shown above. I will test the -waitforjobstatus switch a little later today as I am out on a site visit at the moment.

Many thanks

Author

Commented:
Ok I've added the switch -waitforjostatus. I run the command. The job submits then fails and I don't get any return code. Another little piece of information, if i right click failed job in AS and select modify, AS crashes and the GUI closes.
Naga Bhanu Kiran KotaCloud Architecture Manager

Commented:
Hi

when you try to submit the same kind of job from GUI what happens.

What % of disk space is free on the disk containing the FSD.

What is the database that you are using. Do you have IE then go ahead and rename the psapi.dll in the BAB home folder. This should take care of the GUI crashes.

bhanu

Author

Commented:
Hi bhanu,

From the GUI a job using the same settings submits and runs without a problem...

Disk space is fine.

We are using arcserve standard database. We do have IE, grateful if you coul just run me through what renaming the DLL does please?

Many thanks

Author

Commented:
If anyone can find the time to send me a command line that works I would be extremely grateful.
Naga Bhanu Kiran KotaCloud Architecture Manager

Commented:
the psapi.dll is for the older versions of IE and it has been causing the manager to crash if the IE version is greater than IE 6. This would not in any way impact your manager functionality or your IE functionality.

bhanu
Commented:
Ok, thanks for the comments. I think this is now a dead duck. My contact at CA has confirmed that what I want to achieve creates a corrupt backup job and is now getting the dev dept to look at it. In the meantime we've gone for something that does work but is not so elegant. Thanks again.
Naga Bhanu Kiran KotaCloud Architecture Manager

Commented:
please close the question with your comments

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial