Highlighted
Rajavulla
6 Indium

Re: Is there any tools or simulator can handle exported VCMDB backup file

In Sha Allah,

I would email the script on Monday

Allah Hafiz

Sent from my iPhone

0 Kudos
BP-SAN
6 Indium

Re: Is there any tools or simulator can handle exported VCMDB backup file

ASAK Raja,

Thanks for your reply…I will wait till Monday.

Allah hafiz

0 Kudos
BP-SAN
6 Indium

Re: Is there any tools or simulator can handle exported VCMDB backup file

Can I have the script please. you can share on below mail ID

Masudahmad.shaikh@gmail.com<mailto:Masudahmad.shaikh@gmail.com>

From: Shaikh, Masud

Sent: Monday, December 02, 2013 10:05 AM

To: 'jive-1245983941-9anb-2-goty@emc-ecn.hosted.jivesoftware.com'

Subject: RE: - Is there any tools or simulator can handle exported VCMDB backup file

ASAK Raja,

Thanks for your reply…I will wait till Monday.

Allah hafiz

0 Kudos
Rajavulla
6 Indium

Re: Is there any tools or simulator can handle exported VCMDB backup file

Dear Masud,

Here is the actual script that I prepared for one of my customer.

echo Backing up VCMDB...

@echo off

echo renaming file to include date stamp…

echo When you take the backup for the first time this step is not necessary. Next time SYMCLI cmd returns file already exist hence I am putting a small batch script to rename the file with DATE stamp so that no conflict arise at the time of creating new backup file

cd\

cd SAN_Scripts\VCMDB

ren c:\SAN_Scripts\VCMDB\VCMDB_BACKUP "VCMDB%date:4,2%%date:7,2%%date:10,4%%time:0,2%%time:3,2%%time:6,2%"

echo temporarily Backing up to another Management host for secondary copy if in case there is no backup setup for EMC bin volume...

xcopy /Y c:\SAN_Scripts\VCMDB\*.*
dcmgmt0206v\c$\SAN_Scripts\563_SYMDB_BACKUP\

echo Deleting files older than 7 days...

echo When you have multiple backup that occupy the space on EMC bits volume hence clear up the space and also set up the backup simultaneously. So that space is not constraint on bin volume.

cd\

cd SAN_Scripts\562_SYMDB_BACKUP

forfiles /p c:\SAN_Scripts\562_SYMDB_BACKUP\ /S /D -7 /C "cmd /C del @file : date >= 7 days >NUL"

cd\

cd SAN_SCRIPTS\VCMDB

forfiles /p c:\SAN_SCRIPTS\VCMDB\ /S /D -7 /C "cmd /C del @file : date >= 7 days >NUL"

echo – Taking actual VCMDB Backup...

cd\

cd program files\emc\symcli\bin

symaccess -sid 563 -f c:\SAN_Scripts\VCMDB\VCMDB_BACKUP -nop backup

echo VCMDB backup complete

@echo on

Cls

Exit

Let me know if you have any questions.

Thanks,

Mohammad,

0 Kudos