smbtar |
The smbtar program is a shell-script wrapper around smbclient for doing tar-format archiving operations. It is functionally very similar to the Unix tar program.
smbtar [options]
Resets (clears) the archive attribute on files after they are backed up. The default is to leave the archive attribute unchanged.
Sets block size, in units of 512 bytes, for reading or writing the archive file. Defaults to 20, which results in a block size of 10240 bytes.
Changes the working directory on the remote system to directory before starting the restore or backup operation.
Specifies incremental mode; files are backed up only if they have the DOS archive attribute set. The archive attribute is reset (cleared) after each file is read.
Sets the logging level. This corresponds to the -d option of smbclient and other Samba programs.
Backs up only files newer than filename . For incremental backups .
Specifies the password to use to access a share. An alternative to using the username % password format with the -u option.
Restores files to the share from the tar file.
Specifies the SMB server. See also the -x option.
Specifies the file or Unix device to use as the archiving medium. The default is tar.out or the value of the TAPE environment variable, if it has been set.
Specifies the user account to use when connecting to the share. You can specify the password as well, in the format username % password . The username defaults to the user's Unix username.
Operates in verbose mode, printing error messages and additional information that can be used in debugging and monitoring. Backup and restore operations will list each file as it is processed .
States the name of the share on the server to which to connect. The default is backup . See also the -s option.
Tells smbtar to exclude the specified files from the backup or restore operation.