cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic selection of latest media ?

Jeremy_Pond
Level 2
Hi,

I need to be able to schedule restores without any human intervention. I am trying to restore from a backup to disk file.

The full scenario is this.
I schedule backups on server A to goto a backup disk device.
I copy the backup to disk file to Server B

I am trying to automate the restore of the file i've copied to server B.

I can schedule a inventory of hte backup to disk folder without any problem.
I can schedule a catalog of the media file no problem.

How can i get the restore job to automatically generate a selection list with the latest media. If i run the previous restore job it stil has the old media file selected.

Is there some sort of command line utility i can run ?

Thank you in advance
3 REPLIES 3

Deepali_Badave
Level 6
Employee
Hello,

Running Pre (Before) and post (After) commands are useful in the following
scenario: 1. To run batch files, executables before/after the backup job.
2. Antivirus needs to be stopped/started before backup starts.
3. Some services need to be stopped/started when offline backup needs to be
performed.
The command line for running a restore job using bemcmd is:
bemcmd -o7 -j"job name" Where job name is a restore job created in the
Backup Exec menu (GUI). With Backup Exec command line applet (Bemcmd.exe),
you can restore complete job set. You cannot restore single file from the
same.
If our understanding is incorrect, do let us know .


NOTE : If we do not receive your reply within two business days, this post would be marked assumed answered and would be moved to answered questions pool.

Jeremy_Pond
Level 2
Hi,
I think you may have misunderstood.

Each day i need to restore a different set of media. I need to be able to achieve this without any user intervention.

The selection list (for media to restore) is setup before the restore job. How can i select different set of media to restore each day WITHOUT having to setup the selection list manually before hand.


Thank you

Renuka_-
Level 6
Employee
Hello,
- For the selection list to be created, the backup job has to be completed and the catalog info has to be in place.

Creation of the restore selections cannot be automated for these reasons

NOTE : If we do not receive your reply within two business days, this post would be marked assumed answeredand would be moved toanswered questions pool.