Ignore:
Timestamp:
May 27, 2009, 9:08:03 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.8 docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/docs/manpages/smbtar.1

    r229 r231  
    11.\"     Title: smbtar
    2 .\"    Author:
    3 .\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
    4 .\"      Date: 12/19/2008
     2.\"    Author: [see the "AUTHOR" section]
     3.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
     4.\"      Date: 02/03/2009
    55.\"    Manual: User Commands
    66.\"    Source: Samba 3.2
     7.\"  Language: English
    78.\"
    8 .TH "SMBTAR" "1" "12/19/2008" "Samba 3\.2" "User Commands"
     9.TH "SMBTAR" "1" "02/03/2009" "Samba 3\&.2" "User Commands"
     10.\" -----------------------------------------------------------------
     11.\" * (re)Define some macros
     12.\" -----------------------------------------------------------------
     13.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     14.\" toupper - uppercase a string (locale-aware)
     15.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     16.de toupper
     17.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
     18\\$*
     19.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
     20..
     21.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     22.\" SH-xref - format a cross-reference to an SH section
     23.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     24.de SH-xref
     25.ie n \{\
     26.\}
     27.toupper \\$*
     28.el \{\
     29\\$*
     30.\}
     31..
     32.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     33.\" SH - level-one heading that works better for non-TTY output
     34.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     35.de1 SH
     36.\" put an extra blank line of space above the head in non-TTY output
     37.if t \{\
     38.sp 1
     39.\}
     40.sp \\n[PD]u
     41.nr an-level 1
     42.set-an-margin
     43.nr an-prevailing-indent \\n[IN]
     44.fi
     45.in \\n[an-margin]u
     46.ti 0
     47.HTML-TAG ".NH \\n[an-level]"
     48.it 1 an-trap
     49.nr an-no-space-flag 1
     50.nr an-break-flag 1
     51\." make the size of the head bigger
     52.ps +3
     53.ft B
     54.ne (2v + 1u)
     55.ie n \{\
     56.\" if n (TTY output), use uppercase
     57.toupper \\$*
     58.\}
     59.el \{\
     60.nr an-break-flag 0
     61.\" if not n (not TTY), use normal case (not uppercase)
     62\\$1
     63.in \\n[an-margin]u
     64.ti 0
     65.\" if not n (not TTY), put a border/line under subheading
     66.sp -.6
     67\l'\n(.lu'
     68.\}
     69..
     70.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     71.\" SS - level-two heading that works better for non-TTY output
     72.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     73.de1 SS
     74.sp \\n[PD]u
     75.nr an-level 1
     76.set-an-margin
     77.nr an-prevailing-indent \\n[IN]
     78.fi
     79.in \\n[IN]u
     80.ti \\n[SN]u
     81.it 1 an-trap
     82.nr an-no-space-flag 1
     83.nr an-break-flag 1
     84.ps \\n[PS-SS]u
     85\." make the size of the head bigger
     86.ps +2
     87.ft B
     88.ne (2v + 1u)
     89.if \\n[.$] \&\\$*
     90..
     91.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     92.\" BB/BE - put background/screen (filled box) around block of text
     93.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     94.de BB
     95.if t \{\
     96.sp -.5
     97.br
     98.in +2n
     99.ll -2n
     100.gcolor red
     101.di BX
     102.\}
     103..
     104.de EB
     105.if t \{\
     106.if "\\$2"adjust-for-leading-newline" \{\
     107.sp -1
     108.\}
     109.br
     110.di
     111.in
     112.ll
     113.gcolor
     114.nr BW \\n(.lu-\\n(.i
     115.nr BH \\n(dn+.5v
     116.ne \\n(BHu+.5v
     117.ie "\\$2"adjust-for-leading-newline" \{\
     118\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
     119.\}
     120.el \{\
     121\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
     122.\}
     123.in 0
     124.sp -.5v
     125.nf
     126.BX
     127.in
     128.sp .5v
     129.fi
     130.\}
     131..
     132.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     133.\" BM/EM - put colored marker in margin next to block of text
     134.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     135.de BM
     136.if t \{\
     137.br
     138.ll -2n
     139.gcolor red
     140.di BX
     141.\}
     142..
     143.de EM
     144.if t \{\
     145.br
     146.di
     147.ll
     148.gcolor
     149.nr BH \\n(dn
     150.ne \\n(BHu
     151\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
     152.in 0
     153.nf
     154.BX
     155.in
     156.fi
     157.\}
     158..
     159.\" -----------------------------------------------------------------
     160.\" * set default formatting
     161.\" -----------------------------------------------------------------
    9162.\" disable hyphenation
    10163.nh
    11164.\" disable justification (adjust text to left margin only)
    12165.ad l
    13 .SH "NAME"
    14 smbtar - shell script for backing up SMB/CIFS shares directly to UNIX tape drives
    15 .SH "SYNOPSIS"
    16 .HP 1
    17 smbtar [\-r] [\-i] [\-a] [\-v] {\-s\ server} [\-p\ password] [\-x\ services] [\-X] [\-N\ filename] [\-b\ blocksize] [\-d\ directory] [\-l\ loglevel] [\-u\ user] [\-t\ tape] {filenames}
     166.\" -----------------------------------------------------------------
     167.\" * MAIN CONTENT STARTS HERE *
     168.\" -----------------------------------------------------------------
     169.SH "Name"
     170smbtar \- shell script for backing up SMB/CIFS shares directly to UNIX tape drives
     171.SH "Synopsis"
     172.fam C
     173.HP \w'\ 'u
     174\FCsmbtar\F[] [\-r] [\-i] [\-a] [\-v] {\-s\ server} [\-p\ password] [\-x\ services] [\-X] [\-N\ filename] [\-b\ blocksize] [\-d\ directory] [\-l\ loglevel] [\-u\ user] [\-t\ tape] {filenames}
     175.fam
    18176.SH "DESCRIPTION"
    19177.PP
    20178This tool is part of the
    21179\fBsamba\fR(7)
    22 suite\.
    23 .PP
    24 smbtar
     180suite\&.
     181.PP
     182\FCsmbtar\F[]
    25183is a very small shell script on top of
    26184\fBsmbclient\fR(1)
    27 which dumps SMB shares directly to tape\.
     185which dumps SMB shares directly to tape\&.
    28186.SH "OPTIONS"
    29187.PP
    30188\-s server
    31189.RS 4
    32 The SMB/CIFS server that the share resides upon\.
     190The SMB/CIFS server that the share resides upon\&.
    33191.RE
    34192.PP
    35193\-x service
    36194.RS 4
    37 The share name on the server to connect to\. The default is "backup"\.
     195The share name on the server to connect to\&. The default is "backup"\&.
    38196.RE
    39197.PP
    40198\-X
    41199.RS 4
    42 Exclude mode\. Exclude filenames\.\.\. from tar create or restore\.
     200Exclude mode\&. Exclude filenames\&.\&.\&. from tar create or restore\&.
    43201.RE
    44202.PP
     
    47205Change to initial
    48206\fIdirectory \fR
    49 before restoring / backing up files\.
     207before restoring / backing up files\&.
    50208.RE
    51209.PP
    52210\-v
    53211.RS 4
    54 Verbose mode\.
     212Verbose mode\&.
    55213.RE
    56214.PP
    57215\-p password
    58216.RS 4
    59 The password to use to access a share\. Default: none
     217The password to use to access a share\&. Default: none
    60218.RE
    61219.PP
    62220\-u user
    63221.RS 4
    64 The user id to connect as\. Default: UNIX login name\.
     222The user id to connect as\&. Default: UNIX login name\&.
    65223.RE
    66224.PP
    67225\-a
    68226.RS 4
    69 Reset DOS archive bit mode to indicate file has been archived\.
     227Reset DOS archive bit mode to indicate file has been archived\&.
    70228.RE
    71229.PP
    72230\-t tape
    73231.RS 4
    74 Tape device\. May be regular file or tape device\. Default:
     232Tape device\&. May be regular file or tape device\&. Default:
    75233\fI$TAPE\fR
    76234environmental variable; if not set, a file called
    77 \fItar\.out \fR\.
     235\FCtar\&.out \F[]\&.
    78236.RE
    79237.PP
    80238\-b blocksize
    81239.RS 4
    82 Blocking factor\. Defaults to 20\. See
    83 tar(1)
    84 for a fuller explanation\.
     240Blocking factor\&. Defaults to 20\&. See
     241\FCtar(1)\F[]
     242for a fuller explanation\&.
    85243.RE
    86244.PP
    87245\-N filename
    88246.RS 4
    89 Backup only files newer than filename\. Could be used (for example) on a log file to implement incremental backups\.
     247Backup only files newer than filename\&. Could be used (for example) on a log file to implement incremental backups\&.
    90248.RE
    91249.PP
    92250\-i
    93251.RS 4
    94 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\.
     252Incremental mode; tar files are only backed up if they have the archive bit set\&. The archive bit is reset after each file is read\&.
    95253.RE
    96254.PP
    97255\-r
    98256.RS 4
    99 Restore\. Files are restored to the share from the tar file\.
     257Restore\&. Files are restored to the share from the tar file\&.
    100258.RE
    101259.PP
    102260\-l log level
    103261.RS 4
    104 Log (debug) level\. Corresponds to the
     262Log (debug) level\&. Corresponds to the
    105263\fI\-d\fR
    106264flag of
    107 \fBsmbclient\fR(1)\.
     265\fBsmbclient\fR(1)\&.
    108266.RE
    109267.SH "ENVIRONMENT VARIABLES"
     
    111269The
    112270\fI$TAPE\fR
    113 variable specifies the default tape device to write to\. May be overridden with the \-t option\.
     271variable specifies the default tape device to write to\&. May be overridden with the \-t option\&.
    114272.SH "BUGS"
    115273.PP
    116274The
    117 smbtar
    118 script has different options from ordinary tar and from smbclient\'s tar command\.
     275\FCsmbtar\F[]
     276script has different options from ordinary tar and from smbclient\'s tar command\&.
    119277.SH "CAVEATS"
    120278.PP
    121 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\. smbtar works best with GNU tar and may not work well with other versions\.
     279Sites 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\&.
    122280.SH "DIAGNOSTICS"
    123281.PP
     
    126284section for the
    127285\fBsmbclient\fR(1)
    128 command\.
     286command\&.
    129287.SH "VERSION"
    130288.PP
    131 This man page is correct for version 3 of the Samba suite\.
     289This man page is correct for version 3 of the Samba suite\&.
    132290.SH "SEE ALSO"
    133291.PP
    134292\fBsmbd\fR(8),
    135293\fBsmbclient\fR(1),
    136 \fBsmb.conf\fR(5)\.
     294\fBsmb.conf\fR(5)\&.
    137295.SH "AUTHOR"
    138296.PP
    139 The 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\.
     297The 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\&.
    140298.PP
    141299Ricky Poulten
    142 wrote the tar extension and this man page\. The
    143 smbtar
     300wrote the tar extension and this man page\&. The
     301\FCsmbtar\F[]
    144302script was heavily rewritten and improved by
    145 Martin 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
    146 ftp://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\.
     303Martin 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
     304ftp://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 TracChangeset for help on using the changeset viewer.