Preparing Storage for Staging and Backups
Overview
Storware Backup & Recovery uses storage for two purposes:
Staging space is a temporary working area used by the Node during backup and restore operations. Depending on the backup strategy, it holds exported data, retrieved backups, or disk images being prepared for restore.
Backup destination stores completed backups for the period defined by the retention policy. Its contents must remain available for restore operations.
Staging and backup storage can use separate disks or separate directories on one filesystem. This chapter describes both configurations using local disks formatted with XFS.
Configuration
Staging path
Backup destination path
Separate disks
/vprotect_data/staging — first disk
/vprotect_data/backup — second disk
One shared disk
/vprotect_data/staging — directory on the shared disk
/vprotect_data/backup — directory on the shared disk
In both examples, configure Storware Backup & Recovery to use these paths after preparing the storage. Creating directories and mounts does not automatically update the application configuration.
Preparation
Storage Requirements
Size staging space according to concurrent backup and restore operations. As an initial estimate, use:
Staging capacity ≈ maximum simultaneous backup threads × size of the largest protected VM
Size the backup destination according to protected data volume, backup frequency, retention, and expected growth.
When both locations share one disk, provide sufficient capacity for retained backups and concurrent staging operations together. Separate directories do not reserve capacity or isolate storage performance.
The vprotect account must be able to create, read, modify, and delete files in both locations. Filesystems must be mounted before the Node starts processing tasks.
Before You Begin
Run the commands as root on the Storware Backup & Recovery Node. Ensure that XFS utilities are installed.
Identify the disks:
The examples use /dev/sdb and, where required, /dev/sdc. Replace them with the correct devices.
For an existing deployment, stop backup and restore activity before changing storage. Ensure that the mount-point directories do not contain data that would become hidden by the new mounts.
Complete one of the following examples.
Example 1: Separate Disks
This configuration uses:
Device
Purpose
Mount point
/dev/sdb
Staging space
/vprotect_data/staging
/dev/sdc
Backup destination
/vprotect_data/backup
Separate disks provide independent filesystem capacity for staging and retained backups.
1. Create the Filesystems
2. Create the Mount Points
3. Configure Persistent Mounting
Retrieve the UUIDs:
Add the following entries to /etc/fstab, replacing the placeholders with the corresponding filesystem UUIDs:
4. Mount and Verify
Verify that each path is mounted from its intended filesystem:
Continue with Configure Permissions and Verify Access.
Example 2: One Disk with Separate Directories
This configuration mounts /dev/sdb at /vprotect_data. Staging and backups use separate directories within that filesystem.
Device
Mount point
Directories
/dev/sdb
/vprotect_data
staging and backup
Both directories share the disk’s capacity and performance. If the filesystem becomes full or unavailable, both staging and backup storage are affected.
1. Create the Filesystem
2. Create the Mount Point
3. Configure Persistent Mounting
Retrieve the UUID:
Add the following entry to /etc/fstab:
Replace <FILESYSTEM_UUID> with the returned UUID.
4. Mount the Filesystem
Confirm that the expected filesystem is mounted before creating the subdirectories.
5. Create the Staging and Backup Directories
Verify the filesystem backing each directory:
Both paths should resolve to the filesystem mounted at /vprotect_data.
Configure Permissions and Verify Access
Complete these steps for either configuration, after verifying the mounts.
Set ownership and permissions:
Ensure that the vprotect account can also traverse /vprotect_data.
Test write access to staging:
Test write access to the backup directory:
Both commands should complete without errors.
Additional Backup Destinations
For information about other supported backup destination types and their configuration, refer to the Backup Destinations chapter.
Last updated