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 <SPAN
62 > is a very small shell script on top
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
199 CLASS="REFENTRYTITLE"
213 >ENVIRONMENT VARIABLES</H2
220 > variable specifies the
221 default tape device to write to. May be overridden
222 with the -t option. </P
235 > script has different
236 options from ordinary tar and from smbclient's tar command. </P
246 >Sites that are more careful about security may not like
247 the way the script handles PC passwords. Backup and restore work
248 on entire shares; should work on file lists. smbtar works best
249 with GNU tar and may not work well with other versions. </P
265 > section for the <SPAN
268 CLASS="REFENTRYTITLE"
281 >This man page is correct for version 3.0 of
295 CLASS="REFENTRYTITLE"
301 CLASS="REFENTRYTITLE"
307 CLASS="REFENTRYTITLE"
320 >The original Samba software and related utilities
321 were created by Andrew Tridgell. Samba is now developed
322 by the Samba Team as an Open Source project similar
323 to the way the Linux kernel is developed.</P
326 HREF="mailto:poultenr@logica.co.uk"
330 wrote the tar extension and this man page. The <B
334 script was heavily rewritten and improved by <A
335 HREF="mailto:Martin.Kraemer@mch.sni.de"
339 thanks to everyone who suggested extensions, improvements, bug
340 fixes, etc. The man page sources were converted to YODL format (another
341 excellent piece of Open Source software, available at <A
342 HREF="ftp://ftp.icce.rug.nl/pub/unix/"
344 > ftp://ftp.icce.rug.nl/pub/unix/</A
345 >) and updated for the Samba 2.0
346 release by Jeremy Allison. The conversion to DocBook for
347 Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for
348 Samba 3.0 was done by Alexander Bokovoy.</P