use a script to shutdown virtual machine and copy

I would like to schedule a script that can automatically shutdown a virtual machine, then copy those vm files to a storage location.
optikconnexAsked:
Who is Participating?
 
za_mkhConnect With a Mentor Commented:
Oh, I can forget thing sometimes .. I should go and sleep ... -------------------

There is a Veeam FastSCP 3.0 for ESX/ESXi Public Beta that has been officially launched!

http://forum.veeam.com/forums/viewtopic.php?t=596
I will be trying it out next week once I am back at the office
--------------
 
0
 
za_mkhCommented:
What are you using to host your VM's. Vmware ESX or ESXi or VMWare Server?
0
 
optikconnexAuthor Commented:
Vmware ESXi
I forgot to mention after copying the files I will want the script to start the VM as well.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
za_mkhCommented:
As I may not answer quick enought, plese find this link ... hopefully it will help you achieve what you want ...
http://www.petri.co.il/images/virtual_script_startup_shutdown_vmware_servers_01.jpg
 
0
 
optikconnexAuthor Commented:
I have the VMWare CLI installed so I will see if I can get this to work on my own but if anyone has the documentation put together already that would be great.
0
 
za_mkhCommented:
If your ESXi is unlicensed i.e. Free Edition, then the best way and only way is to use a freeware tool like VEEAMs Fast SCP which will allow you to create a scheduled file transfer.
http://www.veeam.com/esx-fastscp.html
 
0
 
za_mkhCommented:
This thread will also help you with the specifics if you don't want to use Veeam's solution ...
http://communities.vmware.com/thread/161168
 
0
 
optikconnexAuthor Commented:
Veeam FactSCP only seems to allow connections to ESX servers. I have gone into our esxi server and allowed the SSH port 22 and can connect via PUTTY.
0
 
optikconnexAuthor Commented:
I found the BETA that now supports ESXi. I will try that.
0
 
optikconnexAuthor Commented:
I am testing it now.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.