How to use CIFS share (NAS) as data store and how to back up data from CIFS share
- 1 Overview
- 2 Using a CIFS share as a backup repository
- 3 Backing up data from the CIFS share
- 4 See also
|Using a CIFS share for Si3 deduplication is not supported!|
SEP sesam provides efficient backup to Network Attached Storage (NAS) devices, such as QNap and Synology, which support data transmission through the CIFS protocol. You can use SEP sesam to either save your data to CIFS shares (by creating a data store) or to back up your files from CIFS shares to another storage.
As of SEP sesam 4.4.3 Beefalo V2, you can create the data store on a CIFS share without mounting the CIFS share. You will have to define credentials for accessing network resources when specifying a location path for your data store. See section Configuring a data store for backing up to CIFS share.
If you want to use a CIFS share as a data store, follow the configuration steps below.
- Make sure that the volume, which is going to be used as a data store, is dedicated exclusively to the SEP sesam data store, and not shared by other users or applications!
- Ensure maximum network connection stability between the SEP sesam Server and your CIFS share.
Creating a new backup user
- Create a new backup user <user_name> on your network-attached storage (NAS) device with read/write access on the volumes you want to back up.
- Create the same user <user_name> with the same password at the backup server.
- Put the newly created user to the Administrators group.
Setting the SEP sesam service permission
To be able to back up to CIFS or from CIFS shares, the SEP sesam service has to run as a local Administrator account. By default, SEP sesam runs as a local System account that does not have access to network drives.
|It might be necessary to use the Domain Admin account (WINDOWS_DOMAIN/Administrator), if the target is a domain member.|
- Run services.msc to open the Services Manager.
- In the details pane, double-click the SEP sesam service to open its Properties.
- Switch to the Log On tab to specify the user account which will be used by SEP sesam service and select This account. Then specify the <user_name> account and type the password for this account in the Password and Confirm password fields. Click OK to save the changes.
- After setting up the service permission, restart the SEP sesam service.
To check the access to the CIFS share, log in with the <user_name> which you have just configured in the service settings. Check if you can access the share by using Explorer via UNC path as shown in the screenshot below. In our example, the storage is represented as \\sepnap.sep.de\winfix.
Create a data store which will be able to back up to a CIFS share. Note that an Si3 deduplication data store is not supported for backing up to CIFS shares. For details on how to configure a data store, see Configuring a Data Store.
- In the Main selection -> Components, click Data stores to display the data store contents frame.
- From the Data stores menu, select New data store. A New data store dialog appears.
- In the Name field, enter a meaningful name for the data store, for example, CIFS_DS.
- From the Store type drop-down list, select Path.
- Make sure that the option Create drive for data store is checked under the Drive parameter properties. The predefined value for the drive is automatically added to the Drive number field.
- Depending on your SEP sesam version, specify the location path as follows:
- In ≥ Beefalo V2: In the Path field, enter the location (network) path for your data store, for example, \\qsbox1\data_stores, or browse for it. You can also use the browse button at the top of the Client File View window.
- In < Beefalo V2: In the Path field, enter the location path for your data store, for example, \\sepnap.sep.de\winfix$, or use the Browse button to select the relevant folder and click OK.
When browsing for the path and expanding the network node, a new Default Network Access window appears; here you set the default credentials for accessing the network resources. Note that the same window is shown every time if the authentication is configured and required for browsing.
You can select an existing credential set from the drop-down list or specify a new one. You have to use the DOMAIN\USER format for domain accounts or HOST\USER for local accounts. Clicking Cancel will close the dialog box; in this case, the current OS user credentials will be used.
|When a data store is created, the selected network path is used for the data store drives. All back slashes (\) are converted to forward slashes (/) in SEP sesam.|
|You cannot set this data store capacity during its creation. Upon the first backup to this data store, the free space on the CIFS share will be added to the data store information.|
Enter the following information in the New Media Pool dialog. For details, see Configuring a Media Pool.
Enter a media pool name, for example, MP_CIFS_dly, select a preconfigured drive group and set up the Retention time, for which the media from the pool are protected from writing (see Managing EOL).
You can back up your data from CIFS share without installing any SEP sesam software. You have to create local backup tasks, for example, //QNAP/media//*, and disable the option Backup with VSS. For more details on backup configuration, see Standard Backup Procedure.
If you want to start the newly created task immediately, right-click the name of the task and click Immediate start. If you want to schedule the task, click New schedule under Main Selection -> Scheduling -> Schedules. Once you have configured a schedule, you must create a new backup event for it. For details on how to configure a backup, see Standard Backup Procedure.
|If the backup fails with a WIN32 API Error: Access denied, the SEP sesam Server has issues accessing the UNC path correctly.|
If your CIFS backup fails, make sure the following conditions are met:
- The service runs under a local Administrator account.
- You are able to create some files in the CIFS directory by using Explorer.
- There is enough free space on the CIFS share to store the backed up data.
- The CIFS share to which you want to back up data is not mapped as a network drive.