3.7.0 HP StorageWorks HP Scalable NAS File Serving Software upgrade guide HP Scalable NAS for Linux (AG513-96005, October 2009)

to be saved only once. The upgrade procedures indicate the point at which you
should save the configuration.
1. Save the following Samba configuration files in the /etc/samba directory:
smb.conf
all smb.conf.<virtual-host> files
smb.default
smbpasswd
smbusers
smb.fstab
lmhosts
If your files are not stored in the default location, use commands such as following
to locate the files:
testparm vs | grep smb password file
testparm vs | grep include
The following example uses the tar utility to compress the files. (If you use any
other configuration files, also include them in the list of files to be saved.)
tar -cvf hpsamba.tar <list of config files>
2. Copy the hpsamba.tar file to a safe location on a separate computer or
workstation. For example:
scp hpsamba.tar username@computer:/dir
3. Back up and save your Samba user files to a separate computer or workstation.
For example, save secrets.tbd (and other .tbd files) or LDAP files if you
are using LDAP. See your Samba documentation for more information about
this step.
On each node, run the following commands to identify additional files that should
be backed up.
testparm -vs | grep lock directory
The directory, typically /etc/cache/samba, specified by this command contains
.tdb files.
testparm -vs | grep script
Use this command to identify any Samba user-defined scripts that should be saved.
testparm -vs | grep private
HP Scalable NAS File Serving Software upgrade guide 17