Backing up your VCSA!

For this post, I wanted to talk about something stimulating, so I chose backups! Who doesn’t love talking about backups? Specifically, I wanted to give you guidance on how to back up your vCenter Server Appliance (VCSA) using the native file-based backup built into the VCSA.

I’ll be the first to admit that I haven’t been diligent in backing up my VCSA and Platform Service Controller (PSC) in my home lab. However, when it came time to upgrade the software it was aggressive in making sure I backed it up. So I figured now was the time to set it up. I’m a bit embarrassed to admit that it was so simple and I was just that lazy.

You’ll need a repository to act as a target for your backups that the VCSA/PSC can access. I use a small Linux box as the target for my backups. You’ll have the option to backup using either FTPS, HTTPS, SCP, FTP or HTTP.

Without further ado here are the steps required to configure backups for your VCSA. Note for this post I’m using vCenter 6.7. The same steps apply to both the VCSA and PSC if you’re using an external PSC.

Step 1 – You’ll need to log in to the vSphere Appliance Management Interface (VAMI). You typically access it by going to https://vCenter-url:5480

Step 2 – Select Backup.

Step 3 – Click on Configure.

Step 4 – Fill out the backup location. In this example, I’m using the SCP protocol.

Step 5 – Enter the username and password you’ll use to access the target location.

Step 6 – Choose the backup schedule you would like to implement.

Step 7 – If you wish to encrypt (AES 256) your backups enter a password here.

Step 8 – Select an option for the number of backups to retain.

Step 9 – You can choose to backup the Stats, Events, and Tasks.

Step 10 – You have the option of creating a description.

Step 11 – Click Create

Step 12 – Now it’s time to test your backup. Select ‘Backup Now.’

Step 13 – Select ‘Use backup location and user name from backup schedule.’ Enter your password, any encryption password, select the stats and an optional description then click ‘Start.’

At this point, it will verify that it can connect with the target location and begin the backup. If all goes well the status will show ‘Complete’ when finished.

Should your backup error out you can SSH into your VCSA (assuming you have it enabled) and view the backup.log file at this path ‘/var/log/vmware/applmgmt/backup.log’.

Remember you’ll need to repeat these steps for any external PSC appliances.

VMware Feature Walkthroughs

 

 

Have you found yourself curious about some of VMware’s newer technologies, or have questions about how to complete some tasks but haven’t had the time to sit down and take a hands-on lab course?

Let me introduce you to VMware’s Feature Walkthrough page (https://featurewalkthrough.vmware.com). This site is designed to give you exposure to the interfaces of many of VMware’s products. It’s an interactive site where you can follow a guided click-through of many technologies to get an overview. There are also options to see how to perform specific tasks inside these technologies.

It isn’t designed to replace the VMware Hands-On Labs (labs.hol.vmware.com) but supplements them. At the Features Walkthrough site, you can quickly click your way through some scenarios to get an understanding of how to complete specific tasks without the need to spin up an entire lab environment. You are limited in that you cannot deviate from the script, but if you have the desire to dig deeper you can always switch over to the HOL site and have the freedom to poke around at your leisure.

One quick note when going through a module make sure you expand the notes for each screen to get an understanding of what each step is doing. The red arrow indicates what you need to click. See the image below.

Catch up on VMware’s public webinars

Have you ever found yourself receiving an email from VMware with an excellent looking webinar to attend, only to find out you couldn’t make it? To make matters worse, you couldn’t figure out how to watch it after the fact.

Let me guide you to the solution. This link will take you to a list of upcoming webinars to register for, and as they become on-demand, you’ll be able to click right through to view the ones you missed.

https://portal.inxpo.com/ID/VMWare/12/

Enjoy!