Veeam – Automatic backup tests with SureBackup

SureBackup

A few days ago one of my co-workes asked me if, and if yes, how i test the backups of my customers. I answered him that i don’t do that personally, but let it test automatically. He asked me how i do that, and so i showed him one of the coolest features in Veeam Backup & Replication. It’s called SureBackup, and it makes your life as a sysadmin a lot easier. Believe me.

SureBackup in Veeam Backup & Replication (available in Enterprise and Enterprise Plus versions) is a great feature to test your Veeam backups automatically. So you can make sure that a VM is working if you really need to restore a whole VM and not only single files or folders. But it’s not only automatic backup tests. With Veeam SureBackup you can also easily create lab environments. Leverage your backups for patch testing, development and other stuff. You don’t have to deploy new virtual servers for patch testing. You don’t have to deploy new virtual servers only because of a new software release. Test all that stuff with your SureBackup lab to see if everything works as it should. The todays blog post is all about SureBackup. I’ll show you how you set it up and try to give you some hints about it.

The challange

Your daily backups are running fine. You receive the success mails after backup and / or replication and you know it’s all good. But how can you be sure if a restore of a whole virtual machine will work if you really need it? Most of the companies test their backups once a month. It is like an insurance. It’s good to have one, but it’s better you don’t need it. Your backup job checks the health of the backup file. And SureBackup checks if your VMs really can boot and all the necessary services come online. Veeam SureBackup is like your insurance.

The solution

With just three simple steps you can be assured that your backups really work when time comes to restore a complete VM or business critical applications.

Read more

Veeam – General helpful things to add to your favorites

helpfulToday there is no special topic dealt with but i’ll provide you some general helpful things. Veeam Backup & Replication is the best availability software i know. In our company we install it at every customer who’s using either VMware vSphere or Microsoft Hyper-V. We love it and our customers too, they don’t even know that there was something. We can handle any issues in minutes.

Anyway. Today i’ll provide some general helpful things, like a collection of links, some specific infos about files and many other helpful stuff. I hope that there is something for you, helping you solving problems. In case you miss something, please drop me a comment or a mail so i can add it to this post. Thanks!

Link list

Target Link
Customer Portal https://my.veeam.com
Knowledge Base https://www.driftar.chveeam.com/kb_search_results.html
Technical Documentation https://www.driftar.chveeam.com/documentation-guides-datasheets.html
User Guide for VMware https://helpcenter.veeam.com/backup/vsphere/overview.html
User Guide for Hyper-V https://helpcenter.veeam.com/backup/hyperv/overview.html
Veeam Ressource Library https://www.driftar.chveeam.com/resource-library.html
License Management https://www.driftar.chveeam.com/manage_licenses.html
Veeam FAQ https://www.driftar.chveeam.com/faq.html
Recorded Webinars https://www.driftar.chveeam.com/videos.html
Veeam Forums https://forums.veeam.com/
ProPartner Portal http://propartner.veeam.com/
Restore Point Simulator http://rps.dewin.me/
Veeam Best Practices https://bp.veeam.expert/

Veeam Best Practices

If you’ve ever asked how to do things as best practice, then this guide is helpful for you for sure. Veeam updated their best practices guide to Backup & Replication v9 with Update 2. The guide covers everything, starting from ressource planning and sizing, deployment, configuration and various other topics.

https://bp.veeam.expert/

Backup Copy Job – more than just a copy

https://www.driftar.chveeam.com/blog/backup-copy-job-it-can-do-more-than-just-a-copy.html

Veeam recently published a blog post about the all known Backup Copy Job. All known yes, but many people did not know that this kind of job can do more than just copy. A very good read for better understanding how backup copy works and how you can make use of it.

How to collect logs for a support case

As mentioned in a previous post i created a small guide which shows you how to collect the logs as part of creating a support case at Veeam support. An english version will follow. At the moment the post is only available in german language.

https://www.driftar.ch/2016/06/10/veeam-support-logfiles-fuer-den-support-sammeln/

Helpful other things (not only but also Veeam related)

The following information are not only related to Veeam but could help you find some answers when you have questions regarding your infrastructure.

Restore point simulator

A cool and helpful online tool is the restore point simulator. With this tool you can calculate how much space is needed in a repository to meet your needs.

http://rps.dewin.me/

Calculate estimated bandwith for a backup copy or replication job

Also a cool online tool is the calculator for the estimated bandwith needed for a backup copy or replication job.

http://rps.dewin.me/bandwidth/

Virtual Architect

Another cool tool to estimate the needed infrastructure ressources is the virtual architect. Give some data and input to the tool and you receive as output the estimated amounts of proxies, repositories, recommendations for data streams etc.

http://rps.dewin.me/VirtualArchitect/

What does RTO and RPO mean

These two words you read often when backup and restore is the topic. Let me explain those two words.

RTO

The recovery time objective (RTO) is the targeted duration of time and a service level within which a business process must be restored after a disaster (or disruption) in order to avoid unacceptable consequences associated with a break in business continuity.[1]

It can include the time for trying to fix the problem without a recovery, the recovery itself, testing, and the communication to the users. Decision time for users representative is not included.

The business continuity timeline usually runs parallel with an incident management timeline and may start at the same, or different, points.

In accepted business continuity planning methodology, the RTO is established during the Business Impact Analysis (BIA) by the owner of a process (usually in conjunction with the business continuity planner). The RTOs are then presented to senior management for acceptance.

Source: en.wikipedia.org

RPO

A recovery point objective, or “RPO”, is defined by business continuity planning. It is the maximum targeted period in which data might be lost from an IT service due to a major incident.[1] The RPO gives systems designers a limit to work to. For instance, if the RPO is set to four hours, then in practice, off-site mirrored backups must be continuously maintained – a daily off-site backup on tape will not suffice. Care must be taken to avoid two common mistakes around the use and definition of RPO. Firstly, business continuity staff use business impact analysis to determine RPO for each service – RPO is not determined by the existent backup regime. Secondly, when any level of preparation of off-site data is required, rather than at the time the backups are offsited, the period during which data is lost very often starts near the time of the beginning of the work to prepare backups which are eventually offsited.

Source: en.wikipedia.org

Keep this post on your radar. There are some updates from time to time when there is something good to know.

Cheers!

Veeam Availability Suite – Quick Setup Guide

Today i was working in my homelab. I installed an availability solution. It was a quick thing, no complex setup and configuration, but a straightforward installation. Even if its “just” my homelab, i want to know that my VMs are safe and secure and that i can see trends about space utilization and other parameters. How do you achieve that? With installing Veeam Availability Suite v9.

Veeam Avalability Suite v9 - Setup Screen

Just to clarify, the time to create the screenshots took longer than the actual setup of this availability solution. The setup assistant will guide and help you through the setup, it’s really easy, and after few minutes you are ready to go and take the next steps.

What is Veeam Availability Suite?

With this software suite you receive to main components. First of all you will get the very well known Veeam Backup & Replication. This is the doing-backups-part of this suite. Furthermore you get the second component which is Veeam ONE. With Veeam ONE you will get the monitoring, reporting and capacity planning part of this software suite.

Why not only creating backups?

There is for sure not just one simple answer, but let my try to explain. With Veeam Availability Suite you will ditch your legacy backup solution and get real availability for your servers, your data and your business. Veeam Backup & Replication is used to setup the backup of your virtual infrastructure. Through Veeam ONE you get the whole monitoring, reporting and capacity planning. In a single pane of glass you get instant reports, you can monitor your infrastructure and get some insights in the capacity. With this you will find out some trends (for example when a specific data store runs out of space), even before it actually happens.

How do i install this software?

As i already mentioned it’s a really easy process. The setup assistant will ask you some things, but more or less it’s next, next, finish. For sure you can specify the setup steps and configure other ports as the recommended ones for example. The setup assistant gives you this ability if you want. If you are fine with the standard settings, you can leave them and go on.

The following guide line will show you how easy the setup process is. I did an easy deployment, all stuff centralized on one server because my lab is not that big (at the moment). I will discover the points mentioned above, for example the extended screens of the setup assistant, to cover all your needs.

Read more

Veeam Support – Logfiles für den Support sammeln

Veeam Backup & Replication lässt sich sehr einfach und schnell installieren, konfigurieren und in Betrieb nehmen. Das ist Fakt. Die Software skaliert mit dem Unternehmen mit, sei es bei kleinen Infrastrukturen mit wenigen virtuellen Servern, bis hin zu grossen Infrastrukturen, mit mehreren hundert Virtualisierungshosts, tausenden VMs und bestenfalls auch noch verschiedenen Standorten. Auch das ist Fakt. Probleme gibt es nur selten, da spreche ich aus eigener Erfahrung. Meist sind es Kleinigkeiten, bspw. ein Haken nicht gesetzt, oder ein falsches Passwort. Das lässt sich einfach lösen, da helfen die bereits verfügbaren Ressourcen wie das Log in der Veeam GUI oder die Knowledgebase.

Was aber wenns mal wirklich brennt? Das Backup oder die Replikation nicht funktioniert? Oder der Failoverplan nicht so läuft wie er soll?

In diesem Fall steht euch der Veeam Support jederzeit zur Verfügung. Ihr meldet euch mit eurem Account im Veeam Customer Portal an und klickt dort auf “Open a Case”.

Ihr beschreibt das Problem so genau wie möglich, füllt die notwendigen Felder aus und ladet zum Schluss die gesammelten Logfiles hoch, damit der Support diese auswerten und nach möglichen Fehlern oder Fehlerquellen ausschau halten kann.

Heute zeige ich euch wie ihr diese Logs sammelt.

Veeam Support Logs
Logs sammeln in der Veeam Konsole

Das Bild oben zeigt euch wie ihr die Logs in der Veeam Konsole sammelt. Die nachfolgenden Schritte sollen euch als Hilfestellung dienen wie das genau zu machen ist.

  1. Um die Logs mit dem Compilation Wizard zu sammeln, klickt ihr in der Konsole oben links auf den Menü Button, dann auf Help => Support Information.
  2. Der Wizard erlaubt verschiedene Methoden um Logs zu sammeln. Für Backup, Replication und andere Jobs klickt ihr auf “export logs for this job”. Wenn mehrere Jobs vom Problem betroffen sind, könnt ihr hier auch eine Mehrfachauswahl treffen. Bei Problemen mit einer einzelnen VM (z.B. Restore oder Replica Fehler) klickt ihr auf “Export logs for this VM” und wählt dann die VM mit dem Problemen aus. Wenn es bspw. Probleme geben sollte der GUI, oder Probleme die nicht unter die erwähnten Kategorien fallen, dann wählt ihr “Export all logs for selected components” und wählt “This server”.
  3. Nach Möglichkeit sollte der Zeitraum der gesammelten Logs mindestens einer Woche entsprechen (voreingestellt sind “7 days”).
  4. Ihr könnt die Logs irgendwo speichern. Stellt einfach sicher dass dort genügend Speicherplatz frei ist. Der Haken bei “Prepare logs package for technical support” ist standardmässig markiert. Das ergibt ganz zum Schluss eine Zip-Datei mit allen gesammelten Logs. Sehr praktisch.
  5. Mit einem Klick auf “Next” gehts nun los, der Wizard sammelt die Logs. Bei kleineren Dateigrössen (unterhalb von 3.5MB) kann man diese als Antwort an die Supportmail anhängen. Alles was drüber ist, lädt man nun via das Veeam My Portal hoch oder fragt den Support nach dem Zugang zu einem FTP-Server.

Ach ja, SFTP ist nun auch unterstützt wenn man es auf supportftp2 hochlädt.

Weitere Informationen betreffend Veeam Support

Falls es zu Problemen kommen sollte wenn ihr via Wizard die Logs sammelt, findet ihr hier natürlich auch noch die relativen Pfadangaben für verschiedene Betriebssysteme, sodass ihr diese manuell sammeln, zippen und an den Support senden könnt.

  • Windows 2003, XP: C:\Documents and Settings\All Users\Application Data\Veeam\Backup\
  • Windows Vista, 7: C:\Users\All Users\Veeam\Backup\
  • Windows 2008 / 2008 R2 / 2012: C:\ProgramData\Veeam\Backup\
  • Linux: /var/log/VeeamBackup/

Typische Logs, die vom Support angefragt werden, können sein:

  • Der Tasks Ordner im Stammverzeichnis, gezippt. Darin sind alle relevanten Job- / Task- und Agent-Daten enthalten.
  • Alle Protokolle aus dem übergeordneten Verzeichnis mit dem Namen svc.*.log, util.*.log, sowie VeeamBackupManager.log als auch VeeamShell.log.

Veeam SureBackup – Ping-Test Troubleshooting

SureBackupNeulich wollte ich bei einem Kunden einen SureBackup Job in Veeam Backup & Replication einrichten. Mit SureBackup lassen sich Backups automatisch auf ihre Wiederherstellbarkeit testen. So kann bspw. ein Microsoft Exchange Server geprüft werden ob dessen Backup im Falle eines Restores auch sauber ist und überhaupt wiederhergestellt werden kann. Die Einrichtung des SureBackup Jobs soweit sehr gut funktioniert. Nur der anschliessende Testlauf wollte nicht wie geplant funktionieren.

In Veeam erstellt man zuerst eine Application Group und ein Virtual Lab. Die Application Group umfasst alle für den Test notwendigen VMs. So werden bspw. für einen Microsoft Exchange Server sicher mal die VM für Exchange benötigt, aber auch ein Domaincontroller. Man fügt also die entsprechenden VMs zur Application Group hinzu und definiert auf diesen VMs die passenden Rollen (DNS, DC, Mail etc.). Abhängig von diesen Rollen werden die entsprechenden Tests vom SureBackup Job automatisch ausgeführt. Das Virtual Lab umschreibt prinzipiell das Netzwerk und die Einstellungen, mit welchen die VMs im SureBackup Job arbeiten. Anschliessend wird mit der Application Group und dem Virtual Lab ein SureBackup Job eingerichtet.

Das hat alles einwandfrei funktioniert. Der SureBackup Job konnte ausgeführt werden, die erste VM wurde erfolgreich gestartet und auch der Heartbeat-Test (VMware) war erfolgreich. Doch egal wie lange die VM lief, Veeam konnte sie nicht pingen. Das ist noch nicht tragisch, man könnte diesen Test auch deaktivieren. Jedoch ist dann der Restore nicht zwingend erfolgreich, wenn bspw. Probleme mit der Netzwerkschnittstelle vorhanden sind. Mit dem Ping-Test können diese allenfalls herausgefunden werden. Nachdem die maximale Boot-Zeit für die Domaincontroller VM abgelaufen war wurde der Test als “failed” beendet.

Also zurück ans SureBackup Reissbrett und schauen wo der Fehler liegt

Das Virtual Lab ist noch etwas mehr als bloss die Netzwerkeinstellung für die VMs die getestet werden. Das Lab beinhaltet auch eine eigene virtual Appliance welche Routingfunktionen bietet. Normalerweise hat ein Virtual Lab, welches man aus Veeam heraus startet, keine Netzwerkverbindung nach draussen ins Internet. Das kann mit dieser virtual Appliance aber konfiguriert werden. So können diverse Virtual Labs erstellt werden, welche bspw. auch länger verfügbar sind als nur für einen Restore-Test. So kann man Virtual Labs und Sandboxen erstellen welche für Patch-Testing und Development gebraucht werden können.

Schlussendlich war das Problem eines auf Netzwerkebene

Damit Veeam die VMs im Virtual Lab anpingen kann, müssen die Netzwerkeinstellungen der virtual Appliance korrekt sein. Wenn nach dem ersten Deployment und anschliessenden Testlauf der Test fehlschlägt können vielleicht die folgenden Tipps helfen damit die Tests nachher funktionieren:

Veeam KnowledgeBase KB1067

Bei mir war es der zweite Punkt (“VNIC FOR ISOLATED NETWORK MISCONFIGURED”). Mein Virtual Lab hatte eine falsche IP-Adresse, aus einem Netzwerkrange den es bei diesem Kunden nicht gibt. Das Virtual Lab sollte als eigene IP-Adresse immer die IP Adresse des Default Gateways haben, damit oben erwähnte Ping-Tests funktionieren.

Keine Panik, es ergibt sich daraus kein IP-Konflikt. Die virtual Appliance selbst bekommt von eurem DHCP-Server eine IP-Adresse. Da das Lab ein in sich geschlossenes Netzwerk ist ohne Verbindung nach draussen spielt das Virtual Lab hier die Rolle des Gateways für die VMs im Lab.

Falls ihr mehr zum Thema SureBackup Jobs wissen wollt und solche eure Backups zukünftig automatisch testen lassen wollt, erfährt ihr im Veeam HelpCenter mehr dazu:

Veeam HelpCenter – Verifying Backups, Replicas and VMs from Storage Snapshots

Ich wünsche euch viel Spass beim Konfigurieren und Testen eurer Backups!