Month: January 2024

  • Configure Object Backup Copy in Veeam Backup for Microsoft 365

    Configure Object Backup Copy in Veeam Backup for Microsoft 365

    In early 2023, Veeam released their next realease of Veeam Backup for Microsoft 365, with v7.  This brought a load of new features, allowing it provide faster and more resilient backups for Microsoft 365.  One of the biggest features was the ability to perform backup copies of your tenancy, allowing you to keep a second copy whether that be on another datastore, another data centre or off up into the mighty cloud.

    Backup copies aren’t new, they have been around in Veeam Backup and Replication for over 10 years, and it only made sense to extend this feature to 365 backups.

    A backup copy is a separate job from the primary job, this allows more flexibility and ease of use – so it is important to name the backup copy with something that distinguishes it from the primary job.

    Before we get into the configuration side of things, there are a couple of pre-requisites for being able to run a backup copy:

    • Only Object Repository to Object Repository is supported. You cannot perform a backup copy of the original JetDB – If you want to backup your JetDB, you could use Veeam Agent Based backup to take a copy of the JetDB files or veeam Backup and Replication to take a backup of the VM hosting those JetDB files.
    • Your Object target must have it’s own Proxy/Repository attached, you cannot share with Object targets. You will receive an error if you try to use a proxy folder that already contains data.
    • If you want to use Immutability, Object Lock must be enabled on the bucket before configuring the job.

    That’s pretty much all there is to watch out for and consider. The rest of the steps should be fairly familiar if you have already gone through and set up Object Repositories for your existing jobs.

    Config

    1. If you are using an on-prem solution for your object storage, like MinIO or Object First, you will need make sure your storage is pre-confgiured and accessible from your 365 server.
    2. Create your bucket on your Backup Copy target storage and confirm that you can access the location. Below you can see that minio-001 (left) contains my primary backup that i hav already configured and taken an initial full backup of my 365 account. My Backup Copy target, minio-002 (right) currently shows no backed up data for 365,


      You will also note that i currently only have 1 backup job configured.

    3. Navigate to Backup Infrastructure -> Object Storage and  select Add Object Storage.  This will open up the Object Storage connection wizard. Here you can start by giving your object storage a Name and Description

    4. Select the correct object storage solution to meet your requirements. If you are using something like MinIO, Ceph or another S3 Compatible object storage, select S3 Compatible, otherwise select the matching cloud target.

    5. In the next screen, you will need to enter your service point, Data Center Region and specify your Account Credentials for your target repository. These will be saved into the Veeam DB. The service point will be that of your backup copy target.

    6. Ensure that you have already prepped your repository with a bucket to connect to. Depending on the number of buckets that you have, the drop down menu will display all available buckets – Select the correct bucket for your target. Once you have selected your bucket, click Browse  and select the bucket name – Click New Folder and name your Backup Copy target folder.

    7. Another great feature brought into v7 is the ability to create Immutable Backup Copies. However, please consider and understand the use of this feature, whilst it is always recommended to have immutable backups, in Veeam Backup for Microsoft 365, the retention period you select for the job is also the retention period of the immutable backup. In other words, If you select to retain 2 years worth of backups before they age out and have applied immutable backups, if the customer leaves and you are required to delete the customers data off your system, you will need to wait until the last backup has aged out over 2 years before it can be removed.
      https://helpcenter.veeam.com/docs/vbo365/guide/immutability.html?ver=70

      Click Finish to create your object storage

    8. You will need to create and Object Repository that attached the Object Storage to a Proxy and a caching folder for the database. Select Backup Repository > Add Repository (You can also right click to select Add backup repository). Once again a wizard will open up and you can give the repository a Name and Description


    9. Select Backup to object storage – this will select the next few windows applicable to object storage. If you select the second option, this will allow you to create a JetDB repository – which unfortunately won’t work with what we’re trying to achieve here.

    10. Depending on your infrastructure design, you may have multiple proxy servers, and they may be in different locations. Select the right proxy server that connects to your object storage target. Here you can then create the local cache path that will reside on your proxy server. You should have a drive preconfigured to contain your cache files. Select Browse and then select the drive and path then New Folder to create the target cache folder,

    11. Select the target object storage. If the object storage is already in use by another repository, it will not show up in the list.

      You can configure an encryption password to ensure that the data is encrypted at the target. This is different from immutability, encryption will prevent someone from reading the data without the encryption password, but will not prevent them from deleting the data.


      During the validation process, if the selected cache folder already contains an existing database in it, you will receive an error message advising of this. You will either need to clear the folder or create a new folder.

    12. Select your retention policy and the type of backup you want to take, whether it be as an image or at the item level, make sure you read carefully the different options available.
      By selecting Advanced you have the ability to choose when you want the retention policy applied – make sure you understand how this works, otherwise you may end up paying additional egress charges.
      https://helpcenter.veeam.com/docs/vbo365/guide/new_repository_4.html?ver=70 

    13. Lastly, once the targets have been configure, it is now just a case of creating the backup copy job. Head back over to Organizations > Select your existing primary backup job and click Backup Copy  – this will open a new wizard that looks similar to the primary backup job creation wizard.

    14. Here you will be able to select your Target Backup Repository – take note that this is the Backup repository and not the Object Storage directly.

    15. You can choose when you want to run the backup copy job. You can select for it to occur immediately as the primary backup job runs, you can set a specific time of day or on a repeated schedule.
      There is also the option to run the backup job within a pre-defined window.

    16. Once the job has been configured, if you did not select the “Immediate” option to run the job, you can go ahead and run it for the first time. You will note that the job type is shown as Copy and the the start and last backup information is avialable.

    You have now configured a backup copy of your primary Microsoft 365 backup.

    For more information, please check out Veeam’s KB articles related to backup copies. 

  • Updating Veeam Backup for Microsoft 365 v7

    Updating Veeam Backup for Microsoft 365 v7

    One of the most common tasks we do as either a Systems Administrator or NOC (Network Operations Centre) is to ensure that your software that you and your customers use is kept up to date to ensure that you get the most out of the application, whether that be stability, performance or security. This is particularly important for your backup applications, without having a stable and secure backup can leave your business vulnerable to being unable to restore in the event of a disaster.

    Here in this article, I’ll take you through how easy it is to keep your Veeam Backup for Microsoft 365 up-to-date.

    ** Before we get started: If you are running your backup in a virtual machine make sure to take a snapshot of the VM before updating. This will allow you to roll-back in the event something goes wrong **
    …and don’t forget to remove the snapshot once confirmed the update is a success!!

    Another thing to check before getting into the upgrade is to check the system requirements to make sure that there have not been any changes. If there have been requirement changes and your VBO server isn’t running the right amount, you will receive a warning during the install to advise you that the server does not meet the minimum requirements.

    Update Process

    One of the great time savers Veeam have built into their Veeam Backup for Office 365 is the online update function. Here you just need to run a “Check for Updates”and proceed as per the wizard.

    1. First thing we need to do is take note of the version of Veeam Backup for M365 we have installed. Although in the next few steps we cover checking for updates, this creates our baseline to be able to confrim a successful install at the end.To check the current version. Select the Hamburger Menu -> Help and Support -> About

      Just click anywhere on the ‘About’ popup to close
    2. From here, if you haven’t done it yet, make sure you take your snapshot before proceeding.
    3. Once you’re ready to proceed, it’s time to kick off the update:Select the Hamburger Menu again -> Upgrade
    4. A wizard will open up. Here in the first screen, you will see Veeam running a quick check for updates, then open up another screen to show the update that is available.  If there is an update available, you will then get a link for “What’s New” where you will be able to see a summary of what has been added and resolved in the update.If there are updates for the Veeam Explorers for Sharepoint, Exchange, Onedrive and/or Teams, then updates will be displayed here also.


    5. Once you have confimed that you are happy with the changes, you can click “Ok” and proceed with click “Install” – The wizard will remain on the update screen until the updates have downloaded. Once the download has complete the wizard will continue with the installation.
    6. All the above steps could be performed while your jobs are still running, but sensibly, you would have stopped them as part of your change control before proceeding with the update. However, if you had not stopped your jobs, or one accidently started, the wizard will advise you that it is ready to stop all jobs and confirm that you are ready to install the update.
    7. The wizard will close along with the Veeam Backup for M365 console and it will open a new installation wizard from the downloaded update file. From here, it is just a series of clicking next until the install takes place.
      Regardless of the operating system is that you are installing onto, a pop-up will show up to advise you that Microsoft Windows 7 SP1, Microsoft Windows 8.x and Microsoft Windows Service 2008 R2 SP1 are no longer supported and you MUST upgrade your Windows installation before proceeding.
    8. Read thoroughly through the EULA – You will need to tick the boxes and agree to the EULA before you can proceed with the install.
    9. Confirm that allthe components that you want to upgrade have been selected. All components are selected by default, however, you may want to only update certain ones, you can deselect if needed.
    10. The final screen for the installation is to confirm your’re ready to install. Once you click Install the installation will take place. This can take anywhere between 1 – 5 minutes to completed.
    11. The install will also start your Veeam services as the final steps, this will confirm that the installation was successful and there are no issues that arose from the install process.
    12. Once the installation has complete, you will see the final screen where you can click Finish to complete and close the install.

    13. As we did earlier at the start, it is now ideal to open up Veeam console and go back to the About section to confirm the update was indeed successful and you are running the latest version.

    14. Once confirmed, you can then move over and check if there are any additional updates/upgrades that need to be applied to the the Backup Proxies or Backup Repositories. These will show up under the Backup Infrastructure “Backup Repository” and “Backup Proxies”  – If you are running the proxy local on the same server that you just updated Veeam Backup for Microsoft 365, then it will update at the same time.

    15. Finally as part of your Post Check for your change control, run a test job and confirm that everything is connecting and running as it should. If there are any issues, you always have your snapshot to fall back on.

    Previously I had created a video on how to peform a major version upgrade from Veeam Backup for M365 v5 to v6, in this video I also cover the repository and proxy upgrade process.

    P.s. Don’t forget to remove your snapshot after running your tests