Source:How to use CIFS share (NAS) as data store and how to back up data from CIFS share
How to backup to and from CIFS storages with SEP sesam (QNAP, Synology ...)
Warning | |
Do not use this for deduplication! |
Quick setup
|
|
About
This manual shows you how to save your data to CIFS or from CIFS share.
Prerequisites
Dedicated disk space
The volume, which should be used for storing the data, should not be used for other data. Please make sure to create a fresh volume without any other data for use with SEP sesam only, especially if you want to use a DataStore for backup!
SEP Sesam service user
In order to be able to backup to CIFS or from CIFS shares the SEP Sesam service has to run as local Administrator account. By default SEP Sesam is started as local system account, which does not have access to network drives.
The user which SEP Sesam uses can be changed in the services settings like shown here:
After changing the account please restart the service.
- It may be necessary to use the Domain Admin account (WINDOWS_DOMAIN/Administrator) if the target is a domain member.
Log-on with the user name which you have just configured in the service settings and try accessing the share using the explorer via UNC path like shown in this screen shot:
In this example the storage we want to backup to is represented as "\\sepnap.sep.de\winfix$"
During access with the Explorer no user name or password request for authentication should appear, otherwise sesam will have problems accessing the network share. Please note that when sharing a folder for CIFS backup on a newer Windows system, you'll need to have a user with the same credentials as the SEP sesam service user on the machine that serves the share.
The CIFS share should not be mapped as a network drive at the same time!
The $ symbols are recommended but not required.
Configuration
In order to create a DataStore which can be able to backup to a CIFS share, the drive, which gets configured for a DataStore, has to point to the network share like shown in this screen shot:
In this example the DataStore should backup to "\\sepnap.sep.de\winfix$". The capacity cannot be set during creation. Upon the first backup to this DataStore the free space on the CIFS share will be added to the DataStores information!
Just like the DataStore, a media pool location simply points to a certain UNC Path, in this example, the location we want to backup to is "\\sepnap.sep.de\winfix$":
Start Backup
Starting a backup to the create data-store will result in folders and files to be created. If the backup fails with a "WIN32 API Error: Access denied", the sesam server still has issues accessing the UNC Path correctly.
Troubleshooting
If backup fails, check the following topics:
- does the service really run as local Administrator account?
- can you create files in the directory via the systems explorer?
- enough free space on the CIFS share to store enough data?
- is the same share you want to backup to mapped to some kind drive name?