Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-11
14
Medium Priority
?
1,113 Views
Last Modified: 2008-11-30
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.
0
Comment
Question by:ClivePk
  • 7
  • 5
  • 2
14 Comments
 
LVL 22

Expert Comment

by:dovidmichel
ID: 22695854
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
 

Author Comment

by:ClivePk
ID: 22696695
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
 
LVL 22

Expert Comment

by:dovidmichel
ID: 22698126
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
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
LVL 23

Assisted Solution

by:bhanukir7
bhanukir7 earned 80 total points
ID: 22700444
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
 

Author Comment

by:ClivePk
ID: 22701047
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
 
LVL 23

Expert Comment

by:bhanukir7
ID: 22701749
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
 

Author Comment

by:ClivePk
ID: 22702463
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
 

Author Comment

by:ClivePk
ID: 22709101
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
 
LVL 23

Expert Comment

by:bhanukir7
ID: 22709646
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
 

Author Comment

by:ClivePk
ID: 22709765
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
 

Author Comment

by:ClivePk
ID: 22732567
If anyone can find the time to send me a command line that works I would be extremely grateful.
0
 
LVL 23

Expert Comment

by:bhanukir7
ID: 23025868
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
 

Accepted Solution

by:
ClivePk earned 0 total points
ID: 23030801
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
 
LVL 23

Expert Comment

by:bhanukir7
ID: 23033865
please close the question with your comments
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question