1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.7"></HEAD
28 >smbtar -- shell script for backing up SMB/CIFS shares
29 directly to UNIX tape drives</DIV
31 CLASS="REFSYNOPSISDIV"
41 > [-r] [-i] [-a] [-v] {-s server} [-p password] [-x services] [-X] [-N filename] [-b blocksize] [-d directory] [-l loglevel] [-u user] [-t tape] {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 <VAR
112 > before restoring / backing up files. </P
124 >The password to use to access a share.
131 >The user id to connect as. Default:
138 >Reset DOS archive bit mode to
139 indicate file has been archived. </P
145 >Tape device. May be regular file or tape
146 device. Default: <VAR
150 variable; if not set, a file called <TT
160 >Blocking factor. Defaults to 20. See
164 > for a fuller explanation. </P
170 >Backup only files newer than filename. Could
171 be used (for example) on a log file to implement incremental
178 >Incremental mode; tar files are only backed
179 up if they have the archive bit set. The archive bit is reset
180 after each file is read. </P
186 >Restore. Files are restored to the share
187 from the tar file. </P
193 >Log (debug) level. Corresponds to the
200 CLASS="REFENTRYTITLE"
214 >ENVIRONMENT VARIABLES</H2
219 > variable specifies the
220 default tape device to write to. May be overridden
221 with the -t option. </P
234 > script has different
235 options from ordinary tar and from smbclient's tar command. </P
245 >Sites that are more careful about security may not like
246 the way the script handles PC passwords. Backup and restore work
247 on entire shares; should work on file lists. smbtar works best
248 with GNU tar and may not work well with other versions. </P
264 > section for the <SPAN
267 CLASS="REFENTRYTITLE"
280 >This man page is correct for version 3.0 of
294 CLASS="REFENTRYTITLE"
300 CLASS="REFENTRYTITLE"
306 CLASS="REFENTRYTITLE"
319 >The original Samba software and related utilities
320 were created by Andrew Tridgell. Samba is now developed
321 by the Samba Team as an Open Source project similar
322 to the way the Linux kernel is developed.</P
325 HREF="mailto:poultenr@logica.co.uk"
329 wrote the tar extension and this man page. The <B
333 script was heavily rewritten and improved by <A
334 HREF="mailto:Martin.Kraemer@mch.sni.de"
338 thanks to everyone who suggested extensions, improvements, bug
339 fixes, etc. The man page sources were converted to YODL format (another
340 excellent piece of Open Source software, available at <A
341 HREF="ftp://ftp.icce.rug.nl/pub/unix/"
343 > ftp://ftp.icce.rug.nl/pub/unix/</A
344 >) and updated for the Samba 2.0
345 release by Jeremy Allison. The conversion to DocBook for
346 Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for
347 Samba 3.0 was done by Alexander Bokovoy.</P