diff options
Diffstat (limited to 'docs/htmldocs/smbtar.1.html')
-rw-r--r-- | docs/htmldocs/smbtar.1.html | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/docs/htmldocs/smbtar.1.html b/docs/htmldocs/smbtar.1.html new file mode 100644 index 0000000000..72698b96d9 --- /dev/null +++ b/docs/htmldocs/smbtar.1.html @@ -0,0 +1,128 @@ + + + + + +<html><head><title>smbtar</title> + +<link rev="made" href="mailto:samba-bugs@samba.anu.edu.au"> +</head> +<body> + +<hr> + +<h1>smbtar</h1> +<h2>Samba</h2> +<h2>23 Oct 1998</h2> + + + + +<p><br><a name="NAME"></a> +<h2>NAME</h2> + smbtar - shell script for backing up SMB/CIFS shares directly to UNIX tape drives +<p><br><a name="SYNOPSIS"></a> +<h2>SYNOPSIS</h2> + +<p><br><strong>smbtar</strong> <a href="smbtar.1.html#minuss">-s server</a> [<a href="smbtar.1.html#minusp">-p password</a>] [<a href="smbtar.1.html#minusx">-x service</a>] [<a href="smbtar.1.html#minusX">-X</a>] [<a href="smbtar.1.html#minusd">-d directory</a>] [<a href="smbtar.1.html#minusu">-u user</a>] [<a href="smbtar.1.html#minust">-t tape</a>] [<a href="smbtar.1.html#minusb">-b blocksize</a>] [<a href="smbtar.1.html#minusN">-N filename</a>] [<a href="smbtar.1.html#minusi">-i</a>] [<a href="smbtar.1.html#minusr">-r</a>] [<a href="smbtar.1.html#minusl">-l log level</a>] [<a href="smbtar.1.html#minusv">-v</a>] filenames +<p><br><a name="DESCRIPTION"></a> +<h2>DESCRIPTION</h2> + +<p><br>This program is part of the <strong>Samba</strong> suite. +<p><br><strong>smbtar</strong> is a very small shell script on top of +<a href="smbclient.1.html"><strong>smbclient</strong></a> which dumps SMB shares directly +to tape. +<p><br><a name="OPTIONS"></a> +<h2>OPTIONS</h2> + +<p><br><ul> +<p><br><a name="minuss"></a> +<li><strong><strong>-s server</strong></strong> The SMB/CIFS server that the share resides upon. +<p><br><a name="minusx"></a> +<li><strong><strong>-x service</strong></strong> The share name on the server to connect +to. The default is <code>backup</code>. +<p><br><a name="minusX"></a> +<li><strong><strong>-X</strong></strong> Exclude mode. Exclude filenames... from tar create or +restore. +<p><br><a name="minusd"></a> +<li><strong><strong>-d directory</strong></strong> Change to initial <em>directory</em> before restoring +/ backing up files. +<p><br><a name="minusv"></a> +<li><strong><strong>-v</strong></strong> Verbose mode. +<p><br><a name="minusp"></a> +<li><strong><strong>-p password</strong></strong> The password to use to access a share. Default: +none +<p><br><a name="minusu"></a> +<li><strong><strong>-u user</strong></strong> The user id to connect as. Default: UNIX login name. +<p><br><a name="minust"></a> +<li><strong><strong>-t tape</strong></strong> Tape device. May be regular file or tape +device. Default: <em>TAPE</em> environmental variable; if not set, a file +called <code>tar.out</code>. +<p><br><a name="minusb"></a> +<li><strong><strong>-b blocksize</strong></strong> Blocking factor. Defaults to 20. See <strong>tar (1)</strong> +for a fuller explanation. +<p><br><a name="minusN"></a> +<li><strong><strong>-N filename</strong></strong> Backup only files newer than filename. Could be +used (for example) on a log file to implement incremental backups. +<p><br><a name="minusi"></a> +<li><strong><strong>-i</strong></strong> 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. +<p><br><a name="minusr"></a> +<li><strong><strong>-r</strong></strong> Restore. Files are restored to the share from the tar +file. +<p><br><a name="minusl"></a> +<li><strong><strong>-l log level</strong></strong> Log (debug) level. Corresponds to the +<a href="smbclient.1.html#minusd"><strong>-d</strong></a> flag of <a href="smbclient.1.html"><strong>smbclient +(1)</strong></a>. +<p><br></ul> +<p><br><a name="ENVIRONMENTVARIABLES"></a> +<h2>ENVIRONMENT VARIABLES</h2> + +<p><br>The TAPE variable specifies the default tape device to write to. May +be overridden with the <a href="smbtar.1.html#minust"><strong>-t</strong></a> option. +<p><br><a name="BUGS"></a> +<h2>BUGS</h2> + +<p><br>The <strong>smbtar</strong> script has different options from ordinary tar and tar +called from <a href="smbclient.1.html"><strong>smbclient</strong></a>. +<p><br><a name="CAVEATS"></a> +<h2>CAVEATS</h2> + +<p><br>Sites 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. <strong>smbtar</strong> works best with GNU tar and may +not work well with other versions. +<p><br><a name="VERSION"></a> +<h2>VERSION</h2> + +<p><br>This man page is correct for version 2.0 of the Samba suite. +<p><br><a name="SEEALSO"></a> +<h2>SEE ALSO</h2> + +<p><br><a href="smbclient.1.html"><strong>smbclient (1)</strong></a>, <a href="smb.conf.5.html"><strong>smb.conf +(5)</strong></a> +<p><br><a name="DIAGNOSTICS"></a> +<h2>DIAGNOSTICS</h2> + +<p><br>See the <a href="smbclient.1.html#DIAGNOSTICS"><strong>DIAGNOSTICS</strong></a> section for +the <a href="smbclient.1.html"><strong>smbclient</strong></a> command. +<p><br><a name="AUTHOR"></a> +<h2>AUTHOR</h2> + +<p><br>The original Samba software and related utilities were created by +Andrew Tridgell <a href="mailto:samba-bugs@samba.anu.edu.au"><em>samba-bugs@samba.anu.edu.au</em></a>. Samba is now developed +by the Samba Team as an Open Source project similar to the way the +Linux kernel is developed. +<p><br>Ricky Poulten <a href="mailto:poultenr@logica.co.uk"><em>poultenr@logica.co.uk</em></a> wrote the tar extension and +this man page. The <strong>smbtar</strong> script was heavily rewritten and +improved by Martin Kraemer <a href="mailto:Martin.Kraemer@mch.sni.de"><em>Martin.Kraemer@mch.sni.de</em></a>. 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) and updated for the Samba2.0 +release by Jeremy Allison, <a href="mailto:samba-bugs@samba.anu.edu.au"><em>samba-bugs@samba.anu.edu.au</em></a>. +<p><br>See <a href="samba.7.html"><strong>samba (7)</strong></a> to find out how to get a full +list of contributors and details on how to submit bug reports, +comments etc. +<p><br></body> +</html> |