May/092
Backup Exec: Transfer scheduled jobs, database and settings to a new backup server
My db server crapped out so I’ll have to retype the whole darn thing
Well… it’s quite easy especially if you are keeping the same server name (skip the SQL commands below and go right to transfer section). If not you will have to change your SQL instance name accordingly.
If you’re changing the server name:
Open command prompt and type the following:
osql -E -S servername\BKUPEXEC use bedb press enter UPDATE DataPartition SET PartitionName='SERVERNAME' WHERE PartitionID = 0 press enter SELECT partitionname FROM datapartition press enter go press enter
Then proceed with tranferring your db over to the new server. Two folders under Backup Exec installation folder are needed: Data and Catalog. After backing up your current folders:
- Stop all Backup Exec services. I’d open the console and go to Tools – Backup Exec Services and stop all.
- Stop all SQL services in services console.
- Copy the above folders to your new server and overwrite all existing files.
- Run BEUtility.exe under Backup Exec folder. You will be prompted not to use the utility without supervision… right! Just click it away.
- In the left pane click on All Media Servers, and in the right pane right click on your server name and click Copy Database.
- Browse to bedb_data.mdf (database file) and bedb_log.ldf (database log file) you just copied over from the old server.
- Click OK and proceed with the transfer.
BEUtility will transfer your settings and detach/reattach your database accordingly. I don’t recall whether or not BEUtility.exe will start your BE services automatically. If so you will see it happening in the same window. Start them manually otherwise.
If you don’t see an error message about unsuccessful db detach/attach and your services start in timely fashion then you should be able to see all your jobs, media, devices and even settings and encryption keys transferred to the new server.
Related posts:
- Debian: Symantec Backup Exec 12 and Debian Etch 32/64
- mySQL: How to backup/restore SQL databases through SSH
- VMware ESX and ESXi – tips and tricks
Enjoy this article?
Leave a comment
No trackbacks yet.
11:37 AM on December 5th, 2009
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Thanks very much! Worked like a charm, even from 10.x to 12.x.
1:29 PM on February 9th, 2010
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)
thanks a lot!