Close Menu
DPC Virtual Tips
    Read More

    Linux Memory Below 10%: How to Troubleshoot High Memory Usage

    September 15, 2026

    How to Resize ext4 and XFS Filesystems on RHEL 8

    September 14, 2026

    How to Install VMware PowerCLI Offline (VCF PowerCLI)

    September 14, 2026
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    DPC Virtual Tips
    • Home
    • Linux & Automation
    • HPC & Slurm
    • VMware & Virtualization
    • About Us
    • Contact
    DPC Virtual Tips
    Home » Configure vCenter File-Based Backups to NFS: Practical Lab Guide
    VMware & Virtualization

    Configure vCenter File-Based Backups to NFS: Practical Lab Guide

    By Danilo ChiacchioSeptember 11, 202610 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Configure vCenter File-Based Backups to NFS: Practical Lab Guide
    Configure vCenter File-Based Backups to NFS: Practical Lab Guide
    Share
    Facebook Twitter LinkedIn Pinterest Email

    A vCenter Server backup only becomes valuable when it is created regularly, stored outside the appliance, and can actually be used during a recovery.

    In this guide, I will configure a file-based backup of vCenter Server using the vCenter Server Management Interface (VAMI). In my lab, a TrueNAS server provides an NFS repository where the scheduled backups are stored.

    We will configure the NFS destination, create a backup schedule, run a manual backup to validate the configuration, inspect the files on the backup server, and review the backup history from the VAMI.

    The environment shown in this article was originally built with a vCenter Server 7 lab. File-based backup remains available in newer vCenter versions, but screens, supported protocols, and individual options may change. Always compare the procedure with the documentation for the version you are running.

    Lab Environment

    For this guide, I use:

    • vCenter Server Appliance: vCenter Server 7 lab
    • Backup method: File-based backup
    • Backup repository: TrueNAS
    • Protocol: NFS
    • Repository network: Management network
    • Administration interface: VAMI

    The VAMI is available at:

    https://<vcenter-fqdn>:5480

    In my lab:

    https://vcenter7.lab.local:5480

    Port 5480 provides access to the vCenter Server Management Interface.

    How vCenter File-Based Backup Works

    A file-based backup exports the vCenter configuration and data to an external repository.

    The important point is that the backup is stored outside the vCenter appliance.

    The basic workflow is:

    vCenter Server Appliance
            |
            | File-Based Backup
            |
            v
    External Backup Repository
            |
            | NFS in this lab
            |
            v
          TrueNAS

    If the appliance later needs to be rebuilt, the backup can be used during the restore workflow.

    Broadcom currently documents the VAMI as the recommended interface for file-based backup and restore of the vCenter Server Appliance.

    Prepare the NFS Backup Repository

    In my lab, TrueNAS provides the NFS destination.

    If you already have an NFS server with a writable export configured for vCenter, you can skip this section and continue with Configure the Backup Schedule in VAMI.

    Create the ZFS Dataset

    My TrueNAS system already has a ZFS pool named:

    CLUSTER-LAB.LOCAL

    I created a separate dataset for the vCenter backups:

    VCSA_BACKUP
    TrueNAS ZFS dataset created for vCenter Server backups
    TrueNAS ZFS dataset created for vCenter Server backups

    Type the name of the ZFS Dataset. For instance, our ZFS Dataset is “VCSA_BACKUP”. Click on “SUBMIT”:

    TrueNAS VCSA_BACKUP dataset configuration
    TrueNAS VCSA_BACKUP dataset configuration

    Keeping the vCenter backups in their own dataset makes it easier to manage capacity, permissions, retention, and monitoring separately from other data.

    Create the NFS Share

    Next, create an NFS share using the dataset created for the backups.

    In this lab, the exported path is:

    /mnt/CLUSTER-LAB.LOCAL/VCSA_BACKUP
    Creating an NFS share for vCenter file-based backups in TrueNAS
    Creating an NFS share for vCenter file-based backups in TrueNAS

    Restrict access to the systems that actually require the share.

    In my lab, I authorized the management IP of the vCenter Server:

    192.168.199.100
    TrueNAS NFS share restricted to the vCenter Server management IP
    TrueNAS NFS share restricted to the vCenter Server management IP

    The important requirement is that the vCenter appliance must be able to reach and write to the backup repository.

    The exact NFS permissions and identity mapping depend on your NFS server and security design. Avoid exposing a writable backup export to an unnecessarily broad network.

    Once created, verify that the NFS share is available:

    TrueNAS NFS share configured for vCenter backups
    TrueNAS NFS share configured for vCenter backups

    Configure the Backup Schedule in VAMI

    Open the vCenter Server Management Interface:

    https://<vcenter-fqdn>:5480

    Authenticate with an account authorized to manage the appliance.

    Select:

    Backup

    vCenter Server Management Interface Backup page
    vCenter Server Management Interface Backup page

    Under Backup Schedule, select:

    Configure

    Configuring the vCenter file-based backup schedule in VAMI
    Configuring the vCenter file-based backup schedule in VAMI

    The wizard allows you to define:

    • Backup location
    • Repository credentials
    • Schedule
    • Encryption password, when used
    • Retention
    • Data included in the backup

    Configure the NFS Backup Location

    For an NFS destination, the location follows this format:

    nfs://<nfs-server>/<export-path>

    In my lab:

    nfs://192.168.199.200/mnt/CLUSTER-LAB.LOCAL/VCSA_BACKUP

    Where:

    192.168.199.200

    is the TrueNAS server, and:

    /mnt/CLUSTER-LAB.LOCAL/VCSA_BACKUP

    is the exported backup path.

    In my original vCenter 7 lab, access to the NFS repository was controlled by the NFS export configuration rather than normal username/password authentication.

    If your VAMI version displays credential fields for the selected protocol, follow the requirements for that version and repository instead of assuming the same behavior applies everywhere.

    Current vCenter releases support multiple repository protocols, and the exact options depend on the release. Broadcom documents protocols such as HTTPS, FTPS, SFTP, NFS and SMB for file-based backup scenarios.

    Configure the Backup Schedule

    Choose when the backup should run.

    The ideal schedule depends on how frequently your environment changes and how much configuration/data you are prepared to lose between backups.

    You can also define how many backups should be retained.

    For example:

    Number of backups to retain: 7
    vCenter file-based backup schedule with NFS destination and retention settings
    vCenter file-based backup schedule with NFS destination and retention settings
    Configuring the vCenter file-based backup schedule in VAMI
    Configuring the vCenter file-based backup schedule in VAMI

    vCenter backup retention configuration in VAMI
    vCenter backup retention configuration in VAMI

    Retention is useful because without an appropriate policy, backup repositories can continue consuming storage over time.

    Also consider the size and duration of the backup. Historical Stats, Events, and Tasks data can substantially increase the amount of data transferred. Current Broadcom guidance notes that excluding these components can reduce the backup payload when necessary.

    Run a Manual Backup

    From the VAMI Backup page, select:

    Backup Now

    Starting a manual vCenter file-based backup from VAMI
    Starting a manual vCenter file-based backup from VAMI

    Use the location already configured in the backup schedule:

    Manual vCenter backup using the configured NFS repository
    Manual vCenter backup using the configured NFS repository

    Start the backup.

    During the operation, the appliance prepares the database and the other components included in the backup. Then the transfer to the backup repository begins:

    vCenter file-based backup transferring data to the NFS repository
    vCenter file-based backup transferring data to the NFS repository

    Depending on the size of the vCenter database, repository performance, and network throughput, the backup may take some time.

    Avoid scheduling large backup transfers at the same time as known network-intensive activities. Broadcom documents situations where NFS backups can time out when the appliance is experiencing network bottlenecks.

    Verify That the Backup Completed

    Once the operation finishes, confirm that the VAMI reports a successful status:

    Successful vCenter Server file-based backup shown in VAMI
    Successful vCenter Server file-based backup shown in VAMI

    Do not stop at the green status in the interface.

    I also recommend checking that the backup files actually exist on the destination server.

    Verify the Backup on TrueNAS

    Connect to the TrueNAS system.

    In my lab, I can verify the filesystem with:

    df -Th

    The dataset used for the backups is:

    /mnt/CLUSTER-LAB.LOCAL/VCSA_BACKUP
    TrueNAS filesystem containing the vCenter backup repository
    TrueNAS filesystem containing the vCenter backup repository

    Then inspect the backup directory:

    vCenter Server backup files stored on the TrueNAS repository
    vCenter Server backup files stored on the TrueNAS repository

    This provides a second validation point:

    VAMI reports Success
            +
    Backup files exist on repository
            =
    Backup destination validated

    For production operations, you should also monitor repository capacity and the success of subsequent scheduled jobs.

    Check the Backup History

    The VAMI keeps an activity history for file-based backups.

    On the Backup page, review the Activity section:

    vCenter VAMI backup history showing manual and scheduled jobs
    vCenter VAMI backup history showing manual and scheduled jobs

    The history allows you to distinguish between manually initiated and scheduled backup jobs.

    Typical types include:

    • Manual – initiated by an administrator
    • Scheduled – triggered automatically by the configured schedule

    Review this history periodically rather than assuming that the absence of an alert means backups are succeeding.

    Important: Backup and Installer Versions

    One detail is especially important for recovery.

    When restoring a file-based vCenter backup, the installer used for the restore must match the version associated with the backup.

    The current VAMI explicitly reminds administrators that the restore process requires matching installer and backup versions.

    For that reason, document at least:

    • vCenter version
    • vCenter build
    • Backup date
    • Repository location
    • Encryption password location, if encryption is used
    • Required credentials
    • Location of compatible installation media

    Do not wait for a disaster to discover that the installer required for a backup is no longer immediately available.

    Test the Restore Procedure

    A successful backup is important, but it does not prove that your recovery process is understood.

    I strongly recommend testing the restore workflow in a lab.

    On DPC Virtual Tips, I documented that procedure separately in:

    Restoring vCenter Server from a File-Based Backup

    That guide covers deployment of a new appliance, importing the backup, Enhanced Linked Mode considerations, and post-restore validation.

    A backup strategy is more complete when you have tested both sides:

    BACKUP
       ↓
    Validate repository
       ↓
    Monitor scheduled jobs
       ↓
    RESTORE TEST
       ↓
    Validate recovered environment

    Troubleshooting Failed Backups

    If a backup fails, start by checking the status in VAMI.

    For more detail, review:

    /var/log/vmware/applmgmt/backup.log

    This log commonly contains information about repository connectivity, mounting failures, timeouts, and component backup errors. Broadcom uses this log extensively in its current VAMI backup troubleshooting documentation.

    Check Repository Connectivity

    For NFS failures, verify:

    • DNS or IP reachability
    • Routing
    • Firewall rules
    • NFS export path
    • Export permissions
    • Repository availability

    Depending on the environment, NFS communication may require ports such as 111 and 2049. Broadcom maintains a current table of VAMI backup protocol ports and recommends validating the requirements for the version and protocol being used.

    Check Repository Capacity

    Verify that the destination has enough free space.

    A full repository can make a perfectly healthy vCenter backup schedule useless.

    Check for Old or Failed Backup Data

    Scheduled backups can sometimes fail because stale or incompatible metadata remains on the destination after previous failed jobs or upgrades.

    Broadcom documents cases where manual backups succeed but scheduled backups fail because of old metadata at the backup destination.

    When troubleshooting, do not delete backup data blindly. First identify which directories belong to valid recovery points.

    Security Considerations

    The backup repository contains data required to reconstruct the vCenter environment, so it should be treated as infrastructure-sensitive data.

    At minimum:

    • Restrict network access to the repository.
    • Limit administrative access.
    • Protect backup credentials.
    • Consider encryption when supported and appropriate.
    • Monitor failed backup attempts.
    • Keep the repository separate from the vCenter appliance.
    • Protect the backup server itself.

    Broadcom also provides guidance for enabling stricter certificate or SSH validation when secure transfer protocols are used for file-based backup and restore.

    Final Thoughts

    Configuring a vCenter backup schedule is simple.

    Building a backup process that you can trust requires more:

    Create repository
           ↓
    Configure VAMI
           ↓
    Run manual backup
           ↓
    Verify repository files
           ↓
    Monitor scheduled jobs
           ↓
    Document version and credentials
           ↓
    Test restoration

    In this lab, TrueNAS and NFS provide the external repository, but the most important principle is independent of the protocol:

    • a backup should be external, monitored, validated, and recoverable.

    Creating the backup is only half of the job. Knowing how to restore it is what turns the backup into an actual recovery strategy.

    External References

    • Overview of Backup and Restore Options in vCenter Server Broadcom overview of supported file-based and image-based backup and restore methods for vCenter Server.
    • Manually Create a vCenter File-Based Backup from VAMI Broadcom procedure for creating and validating a manual file-based vCenter Server backup.
    • Common Ports for Protocols Used in VAMI Backups Reference for network ports used by vCenter file-based backup protocols including NFS, HTTPS, SFTP and SMB.
    • Enabling Secure Backup and Restore in vCenter Server Appliance Broadcom guidance for certificate and SSH host validation when using secure backup and restore protocols.
    • Troubleshooting vCenter Server Appliance File-Based Backups Broadcom troubleshooting reference for common VAMI backup failures and repository problems.
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleCreating Your First Ansible Playbook: A Practical Lab Guide
    Next Article How to Install VMware PowerCLI Offline (VCF PowerCLI)
    Danilo Chiacchio
    • LinkedIn

    Infrastructure Engineer with hands-on experience in virtualization, Linux, Windows Server, and enterprise infrastructure troubleshooting. I work with real-world infrastructure environments and technical labs, focusing on diagnosing problems, understanding root causes, and documenting practical solutions. DPC Virtual Tips was created to share hands-on troubleshooting guides, lab experiences, technical procedures, and lessons learned while working with technologies such as VMware, Linux, HPC/Slurm, networking, storage, and infrastructure automation with Python.

    Related Posts

    How to Install VMware PowerCLI Offline (VCF PowerCLI)

    September 14, 2026

    Restoring vCenter Server from a File-Based Backup: Practical Lab Walkthrough

    September 7, 2026

    Troubleshooting the vSAN “Stats Primary Election” Alert on an ESA Cluster

    September 2, 2026
    Leave A Reply Cancel Reply

    Search
    Categories
    • HPC & Slurm (11)
    • Linux & Automation (14)
    • VMware & Virtualization (17)
    Read More
    Linux & Automation

    Linux Memory Below 10%: How to Troubleshoot High Memory Usage

    By Danilo ChiacchioSeptember 15, 20268 Mins Read
    Linux & Automation

    How to Resize ext4 and XFS Filesystems on RHEL 8

    By Danilo ChiacchioSeptember 14, 202614 Mins Read
    VMware & Virtualization

    How to Install VMware PowerCLI Offline (VCF PowerCLI)

    By Danilo ChiacchioSeptember 14, 202610 Mins Read
    VMware & Virtualization

    Configure vCenter File-Based Backups to NFS: Practical Lab Guide

    By Danilo ChiacchioSeptember 11, 202610 Mins Read
    Linux & Automation

    Creating Your First Ansible Playbook: A Practical Lab Guide

    By Danilo ChiacchioSeptember 10, 202610 Mins Read
    Latest Posts

    Linux Memory Below 10%: How to Troubleshoot High Memory Usage

    September 15, 2026

    How to Resize ext4 and XFS Filesystems on RHEL 8

    September 14, 2026

    How to Install VMware PowerCLI Offline (VCF PowerCLI)

    September 14, 2026
    Images from Gallery
    hpc main commands
    linux commands
    install rock linux
    lustre fs
    shell scripting
    vSAN Trace Files
    Categories
    • HPC & Slurm
    • Linux & Automation
    • VMware & Virtualization
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    Copyright © 2026, DPC Virtual Tips. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.

    We use cookies to improve your browsing experience, analyze website traffic, and display relevant advertising. You can accept all cookies or manage your preferences at any time.