Common Internet Filesystem (CIFS) is useful for backing up file system types (such as Netware servers) that that do not support Amanda Enterprise clients, or for when you do not wish to install the Zmanda client software on the system being backed up.
Like other file system backups, CIFS-based backup lets you specify files to exclude, and whether to enable encryption and compression. CIFs-based backup does not support backing up extended file attributes.
There are two methods that Amanda can use to access a CIFs share for backup (neither of these require a Zmanda client on the machine being backed up):
Newer versions of Windows supports CIFS and can be backed up using the mount.cifs method. The mount.cifs method is only supported on Linux and Solaris 10 platforms.
Neither method will back up NTFS extended file attributes or Windows applications. The Zmanda Windows Client (ZWC) is required to back up Windows applications and extended file attributes. To use the ZWC for backup, choose a Backup Type of Windows on the Backup What page.
These instructions assume you have already installed and licensed the Amanda Enterprise server.
/etc/zmanda/zmc_aee/zmc_user_dumptypes
on the Amanda server (make a safe backup copy before doing so). Find the application tool definition for app_amsamba_user and add the following property:property "SMBCLIENT-PATH" "Path_to_smbclient_Binary"
Path_to_smbclient_Binary
The path to the smbclient binary executable file.
Example entry:
property "SMBCLIENT-PATH" "/usr/csw/bin"
On the Backup What page you are prompted to select what type of object you want to back up. Choose CIFS/, and the following options are displayed:
The host name of Amanda client. Usually the Amanda server itself is used as the Amanda client. Using the fully qualified domain name (FQDN) is recommended. smbclient (part of the Samba client package) must be installed on the Amanda client.
The CIFS share represented in \\CIFSserver\share\sub-directory format (in other words, the Univeral Naming Convention - UNC format). The CIFSserver can be specified by host name or IP address. This is the share backed up by Amanda as a backup object.
Recommended CIFS Backup Configuration
User name used to access the SMB share.
CIFS server domain name. To find it, open a command window on the Windows client and enter the following command:
smbclient -L IP_of_Amanda_client -U smb_username
from the Windows client. You will be prompted for the SMB password.
After you have set the options, click the Add button to add the CIFS share to the backup set. Click Apply Plan to Server to commit the changes; you can then configure the backup set just as you would any other by setting the options on Backup Where, Backup How, and Backup When, etc.