blob: 27b4466777951ff6435e80fbd23c3f43a65d404f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
mailto(samba-bugs@samba.anu.edu.au)
manpage(smbtar)(1)(23 Oct 1998)(Samba)(SAMBA)
label(NAME)
manpagename(smbtar)(shell script for backing up SMB/CIFS shares directly to UNIX tape drives)
label(SYNOPSIS)
manpagesynopsis()
bf(smbtar) -s server [-p password] [-x service] [-X] [-d directory] [-u user] [-t tape] [-b blocksize] [-N filename] [-i] [-r] [-l log level] [-v] filenames
label(DESCRIPTION)
manpagedescription()
This program is part of the bf(Samba) suite.
bf(smbtar) is a very small shell script on top of
url(bf(smbclient))(smbclient.1.html) which dumps SMB shares directly
to tape.
label(OPTIONS)
manpageoptions()
startdit()
dit(bf(-s server)) The SMB/CIFS server that the share resides upon.
dit(bf(-x service)) The share name on the server to connect
to. The default is tt(backup).
dit(bf(-X)) Exclude mode. Exclude filenames... from tar create or
restore.
dit(bf(-d directory)) Change to initial em(directory) before restoring
/ backing up files.
dit(bf(-v)) Verbose mode.
dit(bf(-p password)) The password to use to access a share. Default:
none
dit(bf(-u user)) The user id to connect as. Default: UNIX login name.
label(minust)
dit(bf(-t tape)) Tape device. May be regular file or tape
device. Default: em(TAPE) environmental variable; if not set, a file
called tt(tar.out).
dit(bf(-b blocksize)) Blocking factor. Defaults to 20. See bf(tar (1))
for a fuller explanation.
dit(bf(-N filename)) Backup only files newer than filename. Could be
used (for example) on a log file to implement incremental backups.
dit(bf(-i)) 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.
dit(bf(-r)) Restore. Files are restored to the share from the tar
file.
dit(bf(-l log level)) Log (debug) level. Corresponds to the
url(bf(-d))(smbclient.1.html#minusd) flag of url(bf(smbclient
(1)))(smbclient.1.html).
enddit()
label(ENVIRONMENTVARIABLES)
manpagesection(ENVIRONMENT VARIABLES)
The TAPE variable specifies the default tape device to write to. May
be overridden with the link(bf(-t))(minust) option.
label(BUGS)
manpagesection(BUGS)
The bf(smbtar) script has different options from ordinary tar and tar
called from url(bf(smbclient))(smbclient.1.html).
label(CAVEATS)
manpagesection(CAVEATS)
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. bf(smbtar) works best with GNU tar and may
not work well with other versions.
label(VERSION)
manpagesection(VERSION)
This man page is correct for version 2.0 of the Samba suite.
label(SEEALSO)
manpageseealso()
url(bf(smbclient (1)))(smbclient.1.html), url(bf(smb.conf
(5)))(smb.conf.5.html)
label(DIAGNOSTICS)
manpagesection(DIAGNOSTICS)
See the url(bf(DIAGNOSTICS))(smbclient.1.html#DIAGNOSTICS) section for
the url(bf(smbclient))(smbclient.1.html) command.
label(AUTHOR)
manpageauthor()
The original Samba software and related utilities were created by
Andrew Tridgell email(samba-bugs@samba.anu.edu.au). Samba is now developed
by the Samba Team as an Open Source project similar to the way the
Linux kernel is developed.
Ricky Poulten email(poultenr@logica.co.uk) wrote the tar extension and
this man page. The bf(smbtar) script was heavily rewritten and
improved by Martin Kraemer email(Martin.Kraemer@mch.sni.de). 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, email(samba-bugs@samba.anu.edu.au).
See url(bf(samba (7)))(samba.7.html) to find out how to get a full
list of contributors and details on how to submit bug reports,
comments etc.
|