Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
smbtar(1)
Edit
PageHistory
Diff
Info
LikePages
SMBTAR !!!SMBTAR NAME SYNOPSIS DESCRIPTION OPTIONS ENVIRONMENT VARIABLES BUGS CAVEATS DIAGNOSTICS VERSION SEE ALSO AUTHOR ---- !!NAME smbtar - shell script for backing up SMB/CIFS shares directly to UNIX tape drives !!SYNOPSIS __smbtar -s server__ [[ __-p password__ ] [[ __-x services__ ] [[ __-X__ ] [[ __-d directory__ ] [[ __-u user__ ] [[ __-t tape__ ] [[ __-t tape__ ] [[ __-b blocksize__ ] [[ __-N filename__ ] [[ __-i__ ] [[ __-r__ ] [[ __-l loglevel__ ] [[ __-v__ ] __filenames__ !!DESCRIPTION This tool is part of the Sambasuite. __smbtar__ is a very small shell script on top of __smbclient(1)__ which dumps SMB shares directly to tape. !!OPTIONS __-s server__ The SMB/CIFS server that the share resides upon. __-x service__ The share name on the server to connect to. The default is __-X__ Exclude mode. Exclude filenames... from tar create or restore. __-d directory__ Change to initial ''directory'' before restoring / backing up files. __-v__ Verbose mode. __-p password__ The password to use to access a share. Default: none __-u user__ The user id to connect as. Default: UNIX login name. __-t tape__ Tape device. May be regular file or tape device. Default: ''$TAPE'' environmental variable; if not set, a file called ''tar.out'' . __-b blocksize__ Blocking factor. Defaults to 20. See __tar(1)__ for a fuller explanation. __-N filename__ Backup only files newer than filename. Could be used (for example) on a log file to implement incremental backups. __-i__ Incremental mode; tar files are only backed up if they have the archive bit set. The archive bit is reset after each file is read. __-r__ Restore. Files are restored to the share from the tar file. __-l log level__ Log (debug) level. Corresponds to the ''-d'' flag of __smbclient(1)__ . !!ENVIRONMENT VARIABLES The ''$TAPE'' variable specifies the default tape device to write to. May be overridden with the -t option. !!BUGS The __smbtar__ script has different options from ordinary tar and tar called from smbclient. !!CAVEATS Sites that are more careful about security may not like the way the script handles PC passwords. Backup and restore work on entire shares, should work on file lists. smbtar works best with GNU tar and may not work well with other versions. !!DIAGNOSTICS See the __DIAGNOSTICS__ section for the __smbclient(1)__ command. !!VERSION This man page is correct for version 2.2 of the Samba suite. !!SEE ALSO __smbd(8)__, __smbclient(1)__, smb.conf(5), !!AUTHOR The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. Ricky Poulten smbtar__ script was heavily rewritten and improved by Martin Kraemer __ ----
One page links to
smbtar(1)
:
Man1s
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.