Veeam Backup & Replication allows you to back up and restore content of NAS file shares.
To enable and configure the NAS backup feature in Veeam Backup & Replication, add the following components to the backup infrastructure:
A file share is a storage device or data source available to multiple hosts through a computer network. Veeam Backup & Replication supports backup of file shares from the following NAS types:
File share backup jobs can read data from the following sources:
- CIFS path
- NFS path
- Path to the storage snapshot folder
- VSS snapshot
To learn how to add NAS file shares to the backup infrastructure, see Adding File Share.
A cache repository is a storage location where Veeam Backup & Replication keeps temporary metadata. Veeam Backup & Replication uses the cached metadata to reduce the load on the file share during the backup procedure. This allows performing incremental backups from the file share very quickly and very efficiently.
Storage Types for Cache Repository
The following storage types can be used as a cache repository:
- Direct attached storage. You can add virtual and physical servers as cache repositories:
- Network attached storage. You can add CIFS (SMB) or NFS shares as cache repositories. For more information on CIFS (SMB) repository deployment, see CIFS (SMB) Share, on NFS repository deployment — NFS Share.
Adding Cache Repository
To minimize the network load during backup, locate the cache repository closer to the file share in the computer network: at the best they should be one hop away from each other.
You can assign the role of a cache repository to a simple backup repository added to the Veeam Backup & Replication infrastructure. To assign this role, select the backup repository as a cache repository when running the New File Share wizard. For more information, see Step 4. Specify File Share Processing Settings.
A file proxy is an architecture component that sits between the file share and other components of the backup infrastructure. The file proxy operates as a data mover that transfers data from the source file share to the backup repository. The file proxy processes jobs and delivers backup and restore traffic.
Deploying File Proxy
By default, the role of the proxy is assigned to the backup server itself. However, this is sufficient only for small installations with low traffic load. For large installations, it is recommended to deploy dedicated file proxies.
To deploy a proxy, you must add a Windows-managed server to the Veeam Backup & Replication backup infrastructure and assign the role of the file proxy to the added server, as described in Adding File Proxy. After that, you can choose this file proxy to process the backup traffic from file shares, as described in Adding NFS File Share and Adding SMB File Share.
To optimize performance of several concurrent tasks, you can use several file proxies. In this case, Veeam Backup & Replication will distribute the backup workload between available file proxies on per-task basis, taking into account proxy connectivity and their current load. You can deploy file proxies both in the primary site and in remote sites.
A backup repository is a short-term storage location where Veeam Backup & Replication keeps backup files and metadata files. Backups stored in the backup repository can be used to restore the entire file share to the state of a specific restore point.
If you want to retain specific files for longer periods of time, you can use cheaper devices as a long-term storage. To enable the long-term file retention, configure Veeam Backup & Replication to move backup data and metadata from the backup repository to the archive repository.
If you want to store a copy of the file share backup in a different repository, you can configure a secondary repository where Veeam Backup & Replication will copy all backups created in the backup repository. The secondary repository can have its own retention policy and encryption settings.
You can assign the role of a primary backup repository, an archive repository, or a secondary repository to storages of the following types:
- Microsoft Windows server
- Linux server
- CIFS (SMB) share
- NFS share
- Dell EMC Data Domain
- Quantum DXi
- HPE StoreOnce
Mind the following limitations when you assign the role of a backup, archive or secondary repository to storages for storing NAS backup files:
You can also assign the role of a backup repository to a scale-out backup repository. For more information, see Scale-Out Backup Repository.
You can also assign the role of an archive repository to an object storage repository. For more information, see Object Storage Repository.
An object storage repository can be used for storing both NAS backups and Capacity Tier backups at the same time.
However, the same object storage repository (mapped to the same cloud folder) must not be used across multiple Veeam Backup & Replication servers for the same purposes as it leads to unpredictable system behavior and inevitable data loss.
Data Structure in Backup and Archive Repositories
Backup repository and archive repository store file share backup data as objects. They also store metadata files that contain data about the original files and folders on the file share and their structure.
When you run the file share backup job for the first time, Veeam Backup & Replication creates a full backup for all files and folders of the file share. During subsequent backup job sessions, Veeam Backup & Replication copies only files and folders that have changed since the last backup job session.
Although the file share backup job first creates a full backup and afterwards incremental backups, Veeam Backup & Replication does not create a separate file for each backup job run as it does during VM backup. Instead of this, the backup repository stores backups in 64 MB data files.
Deploying Backup and Archive Repositories
To assign the role of a backup or archive repository to a storage, do the following:
- Add the storage that you want to use as a backup repository or an archive repository to the Veeam Backup & Replication Backup Infrastructure. For more information, see Adding Backup Repositories.
- Configure the backup repository or the archive repository as described in Define Target Backup Storage Settings.