A Data container is an image file that backups can be stored in. It is selected during the creation of a backup job as a Destination media option, and can be given a set size or allowed to use all available space on the backup destination.
- The Data container’s size will increase as data is added until it reaches the set size or fills the backup destination, if Use all available space was selected.
- The Data container is created the first time the backup job runs, or if you run a destination check.
- A destination check is run on the Set up destination screen for fixed media, and when portable media is prepared on the Prepare media screen.
- If you set a maximum size, that maximum size cannot be changed one the Data container has been created.
Maintain Backup history
BackupAssist System Protection creates full and incremental image backups. Windows VSS maintains historical information so that each incremental backup can be restored from. On RDX drives and network destinations (e.g. NAS), VSS is not supported so Windows cannot maintain any backup history. This means restores can only be performed from the last backup.
Data containers overcome this Network/RDX destination limitation. The Data container is created on the destination media and each time the backup jobs runs, the Data container is mounted and treated as a local disk. Because the container is seen as a local disk, Windows VSS can maintain historical information of data that changed, and every backup can be restored from.
RDX granular restore
When Windows detects an RDX drive, it will compress the data that is being backed up. This compression means that individual files cannot be restored. By using a Data container, Windows will see the destination as a local drive and not compress the data.
On Windows 2008R2 and later, you can copy a backup image to another device, but only the last backup can be restored because you cannot copy the shadow copy (VSS snapshot). If the backup is in a Data container, the snapshot can be moved and all backups can be restored from.
A VHDX Data container will be created if the Data container’s size is set at 2TB or more, or if it is allowed to Use all available space on a destination that is 2TB or larger.
If you configure the Data container to be 2TB or smaller, or allow a Data container to grow into the available space on a destination that is 2TB or less, the Data container will use VHD.
Windows Server 2008 - 2TB limit
- Uses VHD Data containers.
Windows Server 2016, 2012 / 2012 R2 and Window 8 / 8.1 - up to 64TB
- Uses VHD for Data containers 2TB and smaller (Required by default for Linux-based NAS devices).
- Uses VHDX for Data containers larger than 2TB.
If there is no VHD Data container at the backup destination, a Windows Server 2012 backup job will create a VHDX Data container when a backup job runs. You can therefore change from VHD to VHDX by archiving and removing the existing VHD Data container, and allowing the backup job to create a VHDX container when it runs next. The backup job must of course be configured to create a 2TB or larger Data container. Alternatively, you can convert the VHD to VHDX.
Creating a Data container backup job
Data containers are only available for System Protection backups to the following destinations: RDX drives, network locations, local hard drives and external disks. A Data container is mounted automatically by BackupAssist and appears as a local disk.
Below is an overview of the backup job creation steps required to use a Data container.
This step will show the Enable Data container option.
Set up destination
This step will include fields for the Data container’s settings. The size of the Data container is set using this screen. It is important to review the settings to ensure they are appropriate because the size of a Data container cannot be changed once the backup job has run. The Use all available space selection will use all available space, up to 2TB.
- For an RDX or External disk destination, Use all available space will be selected by default.
- For a Local hard drive or Network location, set the size manually using the field provided or select Use all available space.
You must provide the destination path,- the location where the Data container will be created. The backups will go inside the container.
- The first time the backup job runs, it will create the Data container.
- The backup job will automatically mount the Data container and back up the data into the container each time the job runs.
The backup schemes available will change with the destination selected for the Data Container. A fixed media selection such as Local hard drive, Network Location or iSCSI device, will provide a schedule option where each successive backup is automatically incrementally merged with the previous backup to provide one single backup with different restore points.
Note: We are aware that the Network location (NAS) destination displays a scheme that say’s each backup overwrites the next but this is not what occurs. If a Network location is selected as the backup destination, each successive backup is automatically incrementally merged with the previous backup to provide one single backup with different restore points.
Note: System Protection backups on RDX drives cannot be used to restore individual files unless Data containers are used. This applies to Windows Server 2008R2 and later.
Data container size
You can modify a Data container's size setting if the container does not exist. For example, if the backup job has not been run or if the container has been manually deleted.
To modify the size of the Data container:
- Select Manage from the Backup tab.
- Select the backup job from the list.
- Select Edit from the top menu.
- Select Destination and go down to Data container options:
- Container size (GB): Use the up and down arrows to set the size of the Data container
- Use all available space: Tick this box and all available space on the destination device will be used by the Data container, up to 2TB.
- All Data containers are called datacontainer.vhd/vhdx
- Data containers can be located anywhere on the destination media.
- Only one Data container can be created per destination / path.
- The Data container will be created the first time the backup job runs.
- If separate backup jobs use the same location, the first job to run will create the Data container and the next job will see a container and use that one (it will not try to create another).
Restores from a Data container
The restore process does not change for backups stored in Data containers. Each backup will provide a restore point as defined by the backup schedule used. System Protection backups that use Data containers will appear in the Unified Restore Console, and BackupAssist will automatically mount the Data container when the backup is selected.
Recovery from a Data container
System Protection image backups are used in recoveries. If your System Protection backup is in a Data container, RecoverAssist can mount the Data container as part of the recovery process.
To use a Data container in a Recovery:
- From the RecoverAssist menu, select Recover from backup on a local drive or Recover from a backup located on a network drive. The selection will depend on the backup media that the Data container is on.
- During the backup selection step, use the Search for Backups in Container button.
- Browse to the location of the Data container, and select it. RecoverAssist will mount it and the recovery process will proceed.
To learn more, see Recover tab
Manually mounting a Data container
BackupAssist automatically mounts Data containers when backups and restores are performed. However, there may be times when you want to do this manually. For example, if you want to check what is inside a Data container or have it available for a task.
To manually mount a Data container:
- Open Disk Management.
- Click the Start button.
- Type diskmgmt.msc into the Search Programs and Files text box.
- Click OK.
- Open Run from the Apps screen.
- Type diskmgmt.msc into the Search Programs and Files text box.
- Click OK.
- Select Action from the Disk Management menu.
- Select the menu option Attach VHD.
- Enter the path of the Data container that you want to mount and click OK.
- Right click BA_VHD_Container, select Change Drive Letter and Paths, and select Add.
- Select a drive letter for the Data container, using the drop down box, and select OK.
For Windows Server 2008 R2, SBS 2011 and Windows 7
For Windows Server 2012 and Windows 8 and later
The Disk Management console will open.
You will now have a drive named BA_VHD_Container in your list of available drives.
You can now browse the Data container using Windows Explorer.
To set up a backup job using a Data container, see System Protection