Changeset 134 for branches/samba-3.0/docs/manpages/smbtar.1
- Timestamp:
- May 23, 2008, 6:56:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/docs/manpages/smbtar.1
r44 r134 1 .\"Generated by db2man.xsl. Don't modify this, modify the source. 2 .de Sh \" Subsection 3 .br 4 .if t .Sp 5 .ne 5 6 .PP 7 \fB\\$1\fR 8 .PP 9 .. 10 .de Sp \" Vertical space (when we can't use .PP) 11 .if t .sp .5v 12 .if n .sp 13 .. 14 .de Ip \" List item 15 .br 16 .ie \\n(.$>=3 .ne \\$3 17 .el .ne 3 18 .IP "\\$1" \\$2 19 .. 20 .TH "SMBTAR" 1 "" "" "" 1 .\" Title: smbtar 2 .\" Author: 3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/> 4 .\" Date: 05/21/2008 5 .\" Manual: User Commands 6 .\" Source: Samba 3.0 7 .\" 8 .TH "SMBTAR" "1" "05/21/2008" "Samba 3\.0" "User Commands" 9 .\" disable hyphenation 10 .nh 11 .\" disable justification (adjust text to left margin only) 12 .ad l 21 13 .SH "NAME" 22 14 smbtar - shell script for backing up SMB/CIFS shares directly to UNIX tape drives 23 15 .SH "SYNOPSIS" 24 16 .HP 1 25 smbtar [ -r] [-i] [-a] [-v] {-s server} [-p password] [-x services] [-X] [-N filename] [-b blocksize] [-d directory] [-l loglevel] [-u user] [-ttape] {filenames}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} 26 18 .SH "DESCRIPTION" 27 19 .PP 28 20 This tool is part of the 29 21 \fBsamba\fR(7) 30 suite .22 suite\. 31 23 .PP 32 24 smbtar 33 25 is a very small shell script on top of 34 26 \fBsmbclient\fR(1) 35 which dumps SMB shares directly to tape .27 which dumps SMB shares directly to tape\. 36 28 .SH "OPTIONS" 37 29 .PP 38 -s server39 .RS 3n40 The SMB/CIFS server that the share resides upon .30 \-s server 31 .RS 4 32 The SMB/CIFS server that the share resides upon\. 41 33 .RE 42 34 .PP 43 -x service44 .RS 3n45 The share name on the server to connect to . The default is "backup".35 \-x service 36 .RS 4 37 The share name on the server to connect to\. The default is "backup"\. 46 38 .RE 47 39 .PP 48 -X49 .RS 3n50 Exclude mode . Exclude filenames... from tar create or restore.40 \-X 41 .RS 4 42 Exclude mode\. Exclude filenames\.\.\. from tar create or restore\. 51 43 .RE 52 44 .PP 53 -d directory54 .RS 3n45 \-d directory 46 .RS 4 55 47 Change to initial 56 48 \fIdirectory \fR 57 before restoring / backing up files .49 before restoring / backing up files\. 58 50 .RE 59 51 .PP 60 -v61 .RS 3n62 Verbose mode .52 \-v 53 .RS 4 54 Verbose mode\. 63 55 .RE 64 56 .PP 65 -p password66 .RS 3n67 The password to use to access a share . Default: none57 \-p password 58 .RS 4 59 The password to use to access a share\. Default: none 68 60 .RE 69 61 .PP 70 -u user71 .RS 3n72 The user id to connect as . Default: UNIX login name.62 \-u user 63 .RS 4 64 The user id to connect as\. Default: UNIX login name\. 73 65 .RE 74 66 .PP 75 -a76 .RS 3n77 Reset DOS archive bit mode to indicate file has been archived .67 \-a 68 .RS 4 69 Reset DOS archive bit mode to indicate file has been archived\. 78 70 .RE 79 71 .PP 80 -t tape81 .RS 3n82 Tape device . May be regular file or tape device. Default:72 \-t tape 73 .RS 4 74 Tape device\. May be regular file or tape device\. Default: 83 75 \fI$TAPE\fR 84 76 environmental variable; if not set, a file called 85 \fItar .out \fR.77 \fItar\.out \fR\. 86 78 .RE 87 79 .PP 88 -b blocksize89 .RS 3n90 Blocking factor . Defaults to 20. See80 \-b blocksize 81 .RS 4 82 Blocking factor\. Defaults to 20\. See 91 83 tar(1) 92 for a fuller explanation .84 for a fuller explanation\. 93 85 .RE 94 86 .PP 95 -N filename96 .RS 3n97 Backup only files newer than filename . Could be used (for example) on a log file to implement incremental backups.87 \-N filename 88 .RS 4 89 Backup only files newer than filename\. Could be used (for example) on a log file to implement incremental backups\. 98 90 .RE 99 91 .PP 100 -i101 .RS 3n102 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.92 \-i 93 .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\. 103 95 .RE 104 96 .PP 105 -r106 .RS 3n107 Restore . Files are restored to the share from the tar file.97 \-r 98 .RS 4 99 Restore\. Files are restored to the share from the tar file\. 108 100 .RE 109 101 .PP 110 -l log level111 .RS 3n112 Log (debug) level . Corresponds to the113 \fI -d\fR102 \-l log level 103 .RS 4 104 Log (debug) level\. Corresponds to the 105 \fI\-d\fR 114 106 flag of 115 \fBsmbclient\fR(1) .107 \fBsmbclient\fR(1)\. 116 108 .RE 117 109 .SH "ENVIRONMENT VARIABLES" … … 119 111 The 120 112 \fI$TAPE\fR 121 variable specifies the default tape device to write to . May be overridden with the -t option.113 variable specifies the default tape device to write to\. May be overridden with the \-t option\. 122 114 .SH "BUGS" 123 115 .PP 124 116 The 125 117 smbtar 126 script has different options from ordinary tar and from smbclient 's tar command.118 script has different options from ordinary tar and from smbclient\'s tar command\. 127 119 .SH "CAVEATS" 128 120 .PP 129 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.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\. 130 122 .SH "DIAGNOSTICS" 131 123 .PP 132 124 See the 133 \f BDIAGNOSTICS\fR125 \fIDIAGNOSTICS\fR 134 126 section for the 135 127 \fBsmbclient\fR(1) 136 command .128 command\. 137 129 .SH "VERSION" 138 130 .PP 139 This man page is correct for version 3 .0 of the Samba suite.131 This man page is correct for version 3\.0 of the Samba suite\. 140 132 .SH "SEE ALSO" 141 133 .PP 142 134 \fBsmbd\fR(8), 143 135 \fBsmbclient\fR(1), 144 \fBsmb.conf\fR(5) .136 \fBsmb.conf\fR(5)\. 145 137 .SH "AUTHOR" 146 138 .PP 147 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.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\. 148 140 .PP 149 141 Ricky Poulten 150 wrote the tar extension and this man page . The142 wrote the tar extension and this man page\. The 151 143 smbtar 152 144 script was heavily rewritten and improved by 153 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 154 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. 155 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\.
Note:
See TracChangeset
for help on using the changeset viewer.