Solved

Automatic Backup of ESXi 4 Host

Posted on 2011-09-18
8
653 Views
Last Modified: 2012-05-12
Hi,
Pls advise if there is a way i can do a backup of my ESXi hosts that run automatically. Ex, via a batch file or scripts etc.

Understand i can use vicfg-cfgbackup to do a backup. Jus need to know if i can automate this as id need to backup abount 20 hosts. Pls advise if the automated backup can help save the output to a file share server \\server1\d$ which is not an ESXi host ?

Regards
0
Comment
Question by:GGMU
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 23

Expert Comment

by:Luciano Patrão
ID: 36558267
Hi

To automate schedule tasks in Linux you can use "cron" or eve "at" command.

See here how it works

http://www.simplehelp.net/2009/05/04/how-to-schedule-tasks-on-linux-using-the-at-command/

http://www.simplehelp.net/2008/11/17/increase-your-linuxunix-productivity-how-to-use-crontab/

But also:

http://www.jules.fm/Logbook/files/add_cron_job_vmware.html

But you can backup using PowerShell scripts and run it on Windows using PowerShell

Here is an example:

http://poshcode.org/1530

But you know that your ESXi do a auto backup?

Read this that may help you

http://deinoscloud.wordpress.com/2010/02/17/esxi-automatic-backups/

Hope this can help you

Jail
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 36559091
vicfg-cfgbackup is used to backup and restore the ESXi host configuration only.

If you want to perform Backups of the Virtual Machines on the host, please checkout my article.

VMware ESX/ESXi Backup Guide
0
 

Author Comment

by:GGMU
ID: 36565131
Hi,
You had mentioned that ESXi does an autobackup. If it does an autobackup, how do i verify that an hourly backup is done ? Am not too sure of using linux commands to access the root file, Any Tools i can use to access via GUI to see the where the backup file resides in etc ? Pls let me know which file stated that the backup is completed ? Thanks
0
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
LVL 23

Expert Comment

by:Luciano Patrão
ID: 36565986
Hi

As you see here in the link that I have added above

http://deinoscloud.wordpress.com/2010/02/17/esxi-automatic-backups/

You can check the files.

To connect to any host and do a browsing trough files/folders, you can use the WinSCP

http://winscp.net/eng/index.php

Or even Veeam FastSCP

http://www.veeam.com/vmware-esxi-fastscp.html

With this tools you can connect to the host and check the files(read the article witch files you need to check).

But to check the cron Schedule you should use Linux commands for a proper view.

Jail
0
 

Author Comment

by:GGMU
ID: 36566030
hI...tried using winscp but couldnt figure out the SSH port number in use by the ESXi host.
Any idea ? Thanks
0
 
LVL 120
ID: 36566050
22
0
 
LVL 120
ID: 36566051
Maybe SSH is not running or configured?
0
 
LVL 23

Expert Comment

by:Luciano Patrão
ID: 36566234
Hi

Yes if SSH is disable, you need to enable.

http://www.yellow-bricks.com/2008/08/10/howto-esxi-and-ssh/

Jail
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Migrating existing OnPremise AD and some servers to Azure ? 13 153
Setting Permissions within vCenter 3 73
Esxi nic speed 7 34
Configuring Azure NSG 6 10
The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question