source: branches/samba-3.2.x/docs/manpages/smbtar.1@ 204

Last change on this file since 204 was 204, checked in by Herwig Bauernfeind, 16 years ago

Update 3.2 branch to 3.2.4

File size: 3.8 KB
Line 
1.\" Title: smbtar
2.\" Author:
3.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
4.\" Date: 09/18/2008
5.\" Manual: User Commands
6.\" Source: Samba 3.2
7.\"
8.TH "SMBTAR" "1" "09/18/2008" "Samba 3\.2" "User Commands"
9.\" disable hyphenation
10.nh
11.\" disable justification (adjust text to left margin only)
12.ad l
13.SH "NAME"
14smbtar - shell script for backing up SMB/CIFS shares directly to UNIX tape drives
15.SH "SYNOPSIS"
16.HP 1
17smbtar [\-r] [\-i] [\-a] [\-v] {\-s\ server} [\-p\ password] [\-x\ services] [\-X] [\-N\ filename] [\-b\ blocksize] [\-d\ directory] [\-l\ loglevel] [\-u\ user] [\-t\ tape] {filenames}
18.SH "DESCRIPTION"
19.PP
20This tool is part of the
21\fBsamba\fR(7)
22suite\.
23.PP
24smbtar
25is a very small shell script on top of
26\fBsmbclient\fR(1)
27which dumps SMB shares directly to tape\.
28.SH "OPTIONS"
29.PP
30\-s server
31.RS 4
32The SMB/CIFS server that the share resides upon\.
33.RE
34.PP
35\-x service
36.RS 4
37The share name on the server to connect to\. The default is "backup"\.
38.RE
39.PP
40\-X
41.RS 4
42Exclude mode\. Exclude filenames\.\.\. from tar create or restore\.
43.RE
44.PP
45\-d directory
46.RS 4
47Change to initial
48\fIdirectory \fR
49before restoring / backing up files\.
50.RE
51.PP
52\-v
53.RS 4
54Verbose mode\.
55.RE
56.PP
57\-p password
58.RS 4
59The password to use to access a share\. Default: none
60.RE
61.PP
62\-u user
63.RS 4
64The user id to connect as\. Default: UNIX login name\.
65.RE
66.PP
67\-a
68.RS 4
69Reset DOS archive bit mode to indicate file has been archived\.
70.RE
71.PP
72\-t tape
73.RS 4
74Tape device\. May be regular file or tape device\. Default:
75\fI$TAPE\fR
76environmental variable; if not set, a file called
77\fItar\.out \fR\.
78.RE
79.PP
80\-b blocksize
81.RS 4
82Blocking factor\. Defaults to 20\. See
83tar(1)
84for a fuller explanation\.
85.RE
86.PP
87\-N filename
88.RS 4
89Backup only files newer than filename\. Could be used (for example) on a log file to implement incremental backups\.
90.RE
91.PP
92\-i
93.RS 4
94Incremental mode; tar files are only backed up if they have the archive bit set\. The archive bit is reset after each file is read\.
95.RE
96.PP
97\-r
98.RS 4
99Restore\. Files are restored to the share from the tar file\.
100.RE
101.PP
102\-l log level
103.RS 4
104Log (debug) level\. Corresponds to the
105\fI\-d\fR
106flag of
107\fBsmbclient\fR(1)\.
108.RE
109.SH "ENVIRONMENT VARIABLES"
110.PP
111The
112\fI$TAPE\fR
113variable specifies the default tape device to write to\. May be overridden with the \-t option\.
114.SH "BUGS"
115.PP
116The
117smbtar
118script has different options from ordinary tar and from smbclient\'s tar command\.
119.SH "CAVEATS"
120.PP
121Sites 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\. smbtar works best with GNU tar and may not work well with other versions\.
122.SH "DIAGNOSTICS"
123.PP
124See the
125\fIDIAGNOSTICS\fR
126section for the
127\fBsmbclient\fR(1)
128command\.
129.SH "VERSION"
130.PP
131This man page is correct for version 3 of the Samba suite\.
132.SH "SEE ALSO"
133.PP
134\fBsmbd\fR(8),
135\fBsmbclient\fR(1),
136\fBsmb.conf\fR(5)\.
137.SH "AUTHOR"
138.PP
139The original Samba software and related utilities were created by Andrew Tridgell\. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\.
140.PP
141Ricky Poulten
142wrote the tar extension and this man page\. The
143smbtar
144script was heavily rewritten and improved by
145Martin Kraemer\. 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, available at
146ftp://ftp\.icce\.rug\.nl/pub/unix/) and updated for the Samba 2\.0 release by Jeremy Allison\. The conversion to DocBook for Samba 2\.2 was done by Gerald Carter\. The conversion to DocBook XML 4\.2 for Samba 3\.0 was done by Alexander Bokovoy\.
Note: See TracBrowser for help on using the repository browser.