1 mailto(samba-bugs@samba.org)
3 manpage(smbtar htmlcommand((1)))(1)(23 Oct 1998)(Samba)(SAMBA)
6 manpagename(smbtar)(shell script for backing up SMB/CIFS shares directly to UNIX tape drives)
11 bf(smbtar) link(-s server)(minuss) [link(-p password)(minusp)] [link(-x service)(minusx)] [link(-X)(minusX)] [link(-d directory)(minusd)] [link(-u user)(minusu)] [link(-t tape)(minust)] [link(-b blocksize)(minusb)] [link(-N filename)(minusN)] [link(-i)(minusi)] [link(-r)(minusr)] [link(-l log level)(minusl)] [link(-v)(minusv)] filenames
16 This program is part of the bf(Samba) suite.
18 bf(smbtar) is a very small shell script on top of
19 url(bf(smbclient))(smbclient.1.html) which dumps SMB shares directly
28 dit(bf(-s server)) The SMB/CIFS server that the share resides upon.
31 dit(bf(-x service)) The share name on the server to connect
32 to. The default is tt(backup).
35 dit(bf(-X)) Exclude mode. Exclude filenames... from tar create or
39 dit(bf(-d directory)) Change to initial em(directory) before restoring
43 dit(bf(-v)) Verbose mode.
46 dit(bf(-p password)) The password to use to access a share. Default:
50 dit(bf(-u user)) The user id to connect as. Default: UNIX login name.
53 dit(bf(-t tape)) Tape device. May be regular file or tape
54 device. Default: em(TAPE) environmental variable; if not set, a file
58 dit(bf(-b blocksize)) Blocking factor. Defaults to 20. See bf(tar (1))
59 for a fuller explanation.
62 dit(bf(-N filename)) Backup only files newer than filename. Could be
63 used (for example) on a log file to implement incremental backups.
66 dit(bf(-i)) Incremental mode; tar files are only backed up if they
67 have the archive bit set. The archive bit is reset after each file is
71 dit(bf(-r)) Restore. Files are restored to the share from the tar
75 dit(bf(-l log level)) Log (debug) level. Corresponds to the
76 url(bf(-d))(smbclient.1.html#minusd) flag of url(bf(smbclient
77 (1)))(smbclient.1.html).
81 label(ENVIRONMENTVARIABLES)
82 manpagesection(ENVIRONMENT VARIABLES)
84 The TAPE variable specifies the default tape device to write to. May
85 be overridden with the link(bf(-t))(minust) option.
90 The bf(smbtar) script has different options from ordinary tar and tar
91 called from url(bf(smbclient))(smbclient.1.html).
94 manpagesection(CAVEATS)
96 Sites that are more careful about security may not like the way the
97 script handles PC passwords. Backup and restore work on entire shares,
98 should work on file lists. bf(smbtar) works best with GNU tar and may
99 not work well with other versions.
102 manpagesection(VERSION)
104 This man page is correct for version 2.0 of the Samba suite.
109 url(bf(smbclient (1)))(smbclient.1.html), url(bf(smb.conf
110 (5)))(smb.conf.5.html)
113 manpagesection(DIAGNOSTICS)
115 See the url(bf(DIAGNOSTICS))(smbclient.1.html#DIAGNOSTICS) section for
116 the url(bf(smbclient))(smbclient.1.html) command.
121 The original Samba software and related utilities were created by
122 Andrew Tridgell email(samba-bugs@samba.org). Samba is now developed
123 by the Samba Team as an Open Source project similar to the way the
124 Linux kernel is developed.
126 Ricky Poulten email(poultenr@logica.co.uk) wrote the tar extension and
127 this man page. The bf(smbtar) script was heavily rewritten and
128 improved by Martin Kraemer email(Martin.Kraemer@mch.sni.de). Many
129 thanks to everyone who suggested extensions, improvements, bug fixes,
130 etc. The man page sources were converted to YODL format (another
131 excellent piece of Open Source software available at
132 url(bf(ftp://ftp.icce.rug.nl/pub/unix/))(ftp://ftp.icce.rug.nl/pub/unix/))
133 and updated for the Samba2.0 release by Jeremy Allison,
134 email(samba-bugs@samba.org).
136 See url(bf(samba (7)))(samba.7.html) to find out how to get a full
137 list of contributors and details on how to submit bug reports,