1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
8 CONTENT=
"Modular DocBook HTML Stylesheet Version 1.77"></HEAD
28 >smbtar
--
shell script for backing up SMB/CIFS shares
29 directly to UNIX tape drives
</DIV
31 CLASS=
"REFSYNOPSISDIV"
41 > {-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}
</P
51 >This tool is part of the
<A
60 > is a very small shell script on top
62 HREF=
"smbclient.1.html"
69 which dumps SMB shares directly to tape.
</P
87 >The SMB/CIFS server that the share resides
94 >The share name on the server to connect to.
95 The default is
"backup".
</P
101 >Exclude mode. Exclude filenames... from tar
102 create or restore.
</P
108 >Change to initial
<TT
114 > before restoring / backing up files.
</P
126 >The password to use to access a share.
133 >The user id to connect as. Default:
140 >Tape device. May be regular file or tape
147 variable; if not set, a file called
<TT
157 >Blocking factor. Defaults to
20. See
161 > for a fuller explanation.
</P
167 >Backup only files newer than filename. Could
168 be used (for example) on a log file to implement incremental
175 >Incremental mode; tar files are only backed
176 up if they have the archive bit set. The archive bit is reset
177 after each file is read.
</P
183 >Restore. Files are restored to the share
184 from the tar file.
</P
190 >Log (debug) level. Corresponds to the
211 >ENVIRONMENT VARIABLES
</H2
218 > variable specifies the
219 default tape device to write to. May be overridden
220 with the -t option.
</P
233 > script has different
234 options from ordinary tar and from smbclient's tar command.
</P
244 >Sites that are more careful about security may not like
245 the way the script handles PC passwords. Backup and restore work
246 on entire shares; should work on file lists. smbtar works best
247 with GNU tar and may not work well with other versions.
</P
265 HREF=
"smbclient.1.html"
282 >This man page is correct for version
3.0 of
302 HREF=
"smbclient.1.html"
310 HREF=
"smb.conf.5.html"
324 >The original Samba software and related utilities
325 were created by Andrew Tridgell. Samba is now developed
326 by the Samba Team as an Open Source project similar
327 to the way the Linux kernel is developed.
</P
330 HREF=
"mailto:poultenr@logica.co.uk"
334 wrote the tar extension and this man page. The
<B
338 script was heavily rewritten and improved by
<A
339 HREF=
"mailto:Martin.Kraemer@mch.sni.de"
343 thanks to everyone who suggested extensions, improvements, bug
344 fixes, etc. The man page sources were converted to YODL format (another
345 excellent piece of Open Source software, available at
347 HREF=
"ftp://ftp.icce.rug.nl/pub/unix/"
349 > ftp://ftp.icce.rug.nl/pub/unix/
</A
350 >) and updated for the Samba
2.0
351 release by Jeremy Allison. The conversion to DocBook for
352 Samba
2.2 was done by Gerald Carter.
</P