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

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.
ClivePkAsked:
Who is Participating?
 
ClivePkConnect With a Mentor Author 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.
0
 
dovidmichelCommented:
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.
0
 
ClivePkAuthor 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.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
dovidmichelCommented:
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.
0
 
bhanukir7Connect With a Mentor 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
0
 
ClivePkAuthor 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???
0
 
bhanukir7Commented:
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
0
 
ClivePkAuthor 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
0
 
ClivePkAuthor 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.
0
 
bhanukir7Commented:
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
0
 
ClivePkAuthor 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
0
 
ClivePkAuthor Commented:
If anyone can find the time to send me a command line that works I would be extremely grateful.
0
 
bhanukir7Commented:
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
0
 
bhanukir7Commented:
please close the question with your comments
0
All Courses

From novice to tech pro — start learning today.