VMware Cloud Community
glidic
Contributor
Contributor
Jump to solution

script for vcb

So for cost reason i will just use vcb for backup and converter to restore the backup. My architecture was probably that:

i know i don't have redundancy but i think the probability for the switch to die is very low.

And you can see i use a private server to install vcb and place the backup on the same server. So i just search a script to automate the backup of all vm one time per day.

If anybody have an idea or a solution that's be great. Thanks for the help

0 Kudos
1 Solution

Accepted Solutions
dconvery
Champion
Champion
Jump to solution

You could use the Winders sheduled tasks and run a batch file. The contents would be something like this:

C:
cd "C:\Program Files\VMware\VMware Consolidated Backup Framework\generic"
cscript pre-command.wsf "C:\Program Files\VMware\VMware Consolidated Backup Framework" %1 fullvm 

Dave Convery

VMware vExpert 2009

http://www.dailyhypervisor.com

Careful. We don't want to learn from this.

Bill Watterson, "Calvin and Hobbes"

Dave Convery, VCDX-DCV #20 ** http://www.tech-tap.com ** http://twitter.com/dconvery ** "Careful. We don't want to learn from this." -Bill Watterson, "Calvin and Hobbes"

View solution in original post

0 Kudos
8 Replies
glidic
Contributor
Contributor
Jump to solution

and i think take a advanced or enterprise edition for this infrastructure but i don't try vdr before. So maybe vdr is better vbc for backup and the script become useless???

0 Kudos
dconvery
Champion
Champion
Jump to solution

VDR is available as long as you are not running the free version of ESXi. VDR has some reports of stability issues, so test, test, test. There is no problem with using VCB either. Again you have to be running a non-free version. Check out my VCB Proven Practice Guide on VI:OPS -> http://viops.vmware.com/home/docs/DOC-1392

Dave Convery

VMware vExpert 2009

http://www.dailyhypervisor.com

Careful. We don't want to learn from this.

Bill Watterson, "Calvin and Hobbes"

Dave Convery, VCDX-DCV #20 ** http://www.tech-tap.com ** http://twitter.com/dconvery ** "Careful. We don't want to learn from this." -Bill Watterson, "Calvin and Hobbes"
nOon29
Contributor
Contributor
Jump to solution

But for the moment i just try the vmware infrastructure so i just use the trial licence thta's why i don't have vdr. And for me vcb to backup and converter to restore it's a good way but i just search a method to schedule the backup with vcb. And i use vcb just to make backup so i don't use third party software behind. In linux that's be more easy to make script just add command in crontab but in windows ...

The other way is to make redundancy between 2 san with cross iscsi but real time replication for this case is not good.

I go see opensolaris to make the san and use the snapshot of zfs just for test maybe is a good solution too.

0 Kudos
dconvery
Champion
Champion
Jump to solution

You could use the Winders sheduled tasks and run a batch file. The contents would be something like this:

C:
cd "C:\Program Files\VMware\VMware Consolidated Backup Framework\generic"
cscript pre-command.wsf "C:\Program Files\VMware\VMware Consolidated Backup Framework" %1 fullvm 

Dave Convery

VMware vExpert 2009

http://www.dailyhypervisor.com

Careful. We don't want to learn from this.

Bill Watterson, "Calvin and Hobbes"

Dave Convery, VCDX-DCV #20 ** http://www.tech-tap.com ** http://twitter.com/dconvery ** "Careful. We don't want to learn from this." -Bill Watterson, "Calvin and Hobbes"
0 Kudos
nOon29
Contributor
Contributor
Jump to solution

thanks i will try to make a script like that.

And it's not on the good part of the forum but what is the cost of vmware certification?

0 Kudos
dconvery
Champion
Champion
Jump to solution

The class is about 2400 and the test is about 175.

http://www.vmware.com/certification

Dave Convery

VMware vExpert 2009

Careful. We don't want to learn from this.

Bill Watterson, "Calvin and Hobbes"

Dave Convery, VCDX-DCV #20 ** http://www.tech-tap.com ** http://twitter.com/dconvery ** "Careful. We don't want to learn from this." -Bill Watterson, "Calvin and Hobbes"
0 Kudos
nOon29
Contributor
Contributor
Jump to solution

thanks for your answer and for your time. I make the .bat and i's work. I think i continue test but i like this solution because it's possible to make a .bat for each vm and make different schedule for each .bat.

0 Kudos
dconvery
Champion
Champion
Jump to solution

Glab to help! If you don't mind, please mark the thread as answered.

Dave Convery

VMware vExpert 2009

Careful. We don't want to learn from this.

Bill Watterson, "Calvin and Hobbes"

Dave Convery, VCDX-DCV #20 ** http://www.tech-tap.com ** http://twitter.com/dconvery ** "Careful. We don't want to learn from this." -Bill Watterson, "Calvin and Hobbes"
0 Kudos