SMBTAR - Online Linux Manual PageSection : 1
Updated : 03/29/2023
Source : Samba 4​.18​.1
Note : User Commands

NAMEsmbtar − shell script for backing up SMB/CIFS shares directly to UNIX tape drives

SYNOPSISsmbtar [−r] [−i] [−a] [−v] {−s server} [−p password] [−x services] [−X] [−N filename] [−b blocksize] [−d directory] [−l loglevel] [−u user] [−t tape] {filenames}

DESCRIPTIONThis tool is part of the samba(7) suite​. 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 "backup"​. −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​. −a Reset DOS archive bit mode to indicate file has been archived​. −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 VARIABLESThe $TAPE variable specifies the default tape device to write to​. May be overridden with the −t option​.

BUGSThe smbtar script has different options from ordinary tar and from smbclient's tar command​.

CAVEATSSites 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​.

DIAGNOSTICSSee the DIAGNOSTICS section for the smbclient(1) command​.

VERSIONThis man page is part of version 4​.18​.1 of the Samba suite​.

SEE ALSOsmbd(8), smbclient(1), smb.conf(5)​.

AUTHORThe 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 wrote the tar extension and this man page​. The smbtar script was heavily rewritten and improved by Martin Kraemer​. Many thanks to everyone who suggested extensions, improvements, bug fixes, etc​. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp​.icce​.rug​.nl/pub/unix/) and updated for the Samba 2​.0 release by Jeremy Allison​. The conversion to DocBook for Samba 2​.2 was done by Gerald Carter​. The conversion to DocBook XML 4​.2 for Samba 3​.0 was done by Alexander Bokovoy​.
0
Johanes Gumabo
Data Size   :   14,341 byte
man-smbtar.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 189,262
Visitor ID   :     :  
Visitor IP   :   18.118.208.127   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.