The Softlayer QuantaStor platform includes the ability to backup NAS network shares to a variety of cloud storage platforms, including Softlayer Object Storage. The QuantaStor NAS backup capability can be used to back-up NAS network shares external to the QuantaStor platform. The back-up function operates using a “server-pull” mechanism, retrieving files through the NAS interface, caching them on the QuantaStor appliance and uploading the files into Object Storage. Backed up files are uploaded to the configured cloud storage container.
How to Set up NAS Backup to Object Storage
Add Cloud Credential to QuantaStor
In the QuantStor Web Administration, select the Cloud Container Tab, the in the Cloud Storage Provider pane, right-click, and select Add Credentials.
Select Softlayer Object Storage in the Cloud Provider pull down, then enter the account credentials into the appropriate fields.
The Object Storage account information needed for the above configuration can be obtained from your portal.
- Select Object Storage under the Storage menu item pull down.
- The Object Storage accounts under the SL Master account will be listed, or you can order an additional Object Storage account. All Object Storage accounts requested by child accounts under the Master Account are visible to and accessible by all child accounts. Care should be taken to ensure only the appropriate Object Storage account is utilized.
- Select a specific Object Storage account, then select the data center for where the Backup data should be stored.
- The Object Storage Data Center Cluster screen provides statistics on the utilization within the account.
- Click on View Credentials to get the account data needed for the QuantaStor configuration.
Create Cloud Container
When the Object Storage credential has been added, it will appear on under the Cloud Storage Providers pane in the QuantaStor Cloud Containers tab. Right-click on the credential and select Create Cloud Container.
Enter Name & Description of the Cloud Container. Select which data center to use for backups. After the Container Creation, the Container Name will appear under credential in the Cloud Storage Provider.
Note- the checkbox for enabling NFS/CFS Access. This needs to be checked for configuring Backup.
Configure Backup Policy
- Under the Storage Management tab, Network Shares pane, the cloud container created in the previous step will now appear as one of the network shares. The cloud contain network share is a NAS to Object Storage gateway based on the CloudFuse opensource gateway. It is allocated on the QuantaStor boot disk and is limited to 500 MB cache. This is significant if files being backed up exceed this size.
- Right Click on the cloud storage gateway network Share, and select Create Backup Policy from the pull down menu.
- The Backup Policy defines location where the data is backed up into, in this case the network share for the Cloud storage gateway. The backup engine is not specifically for cloud storage. It can be configured to back up any NAS file system to any other NAS file system. This configuration just happens to be pointed at a NAS gateway that is mapped to Object Storage based on which NAS share was clicked on. Then elect the days and times when Backup is to be performed.
- Under remote CIFS/NFS source, select the IP address of the remote server and click the SCAN button. The CIFS/NFS Export field pull down will be populated with the NAS Exports visible from the designated device. If the NAS server is a remote device, the QuantaStor host will need to have been given permission to access the device. In this example, the NAS file system has been set to public, but security controls using A/D domain or local QuantaStor users database can also be configured.
Under Advanced Settings options are available for Backup Mode: All Files (Mirror) or Sliding Backup Window.
- For All Files, all changes to the source system are reflected in the back up at the next back up –e.g., if the file is deleted on the source, it will purged from the backup based on the purge policy. Purge never can be used to maintain all copied of all files forever.
- For Sliding Backup Window, only those files created or modified during the retention period will be backed up.
- Retention period is the time file backups will be retained in the NAS/Cloud storage repository. Also affects the which files are backed up if the Sliding Backup Window is used.
- Start Date allows policy to be configured but not go into effect until some future date.
- Backup Concurrency controls the number of simultaneous file copy threads used to backup the data. Five settings are available. For Backups to the NAS – Object Storage gateway, care should be used with parallel backups. The NAS/Cloud gateway cache is only 500 MB and highly parallelized backups could fill up the cache faster than the data can be uploaded into Object Storage.
- Purge Policy - controls handling of files in the backup. Four settings are available:
- Never Purge – All Backup copies are permanently maintained in the object storage.
- Purge Expired & Deleted After Backup – Any files whose retention policy has expired or which were deleted from the primary source are deleted immediately following the backup.
- Purge Expired/Deleted File Daily – Candidate files are deleted once per day. If the backup does not run on a daily basis, only expired files will be purged until the next backup detects the files which have been deleted from the primary.
- Purge Expired/Deleted File Weekly– Candidate files are deleted once per week. Expired files and files deleted from the primary will be retained in the back up until 1 week after their deletion was detected in a backup.