source: trunk/docs/man/man1/tahoe.1

Last change on this file was 438eb3e, checked in by Florian Sesser <florian@…>, at 2025-05-05T14:16:45Z

Spellcheck

  • Property mode set to 100644
File size: 6.9 KB
Line 
1.TH TAHOE 1 "May 2025" "Tahoe-LAFS \[em] tahoe command" "User Commands"
2.SH NAME
3tahoe \- Secure distributed file store.
4.SH SYNOPSIS
5.B tahoe
6[\fI\,global-options\/\fR] \fI\,<command> \/\fR[\fI\,command-options\/\fR]
7.SH DESCRIPTION
8Tahoe-LAFS is a Free and Open decentralized cloud
9storage system.
10It distributes your data across multiple servers.
11Even if some of the servers fail or are taken over
12by an attacker, the entire file store continues to
13function correctly, preserving your privacy and
14security.
15.sp
16The "tahoe" executable can be used to create and
17manage client/server nodes, manipulate the file
18store, and perform several debugging/maintenance
19tasks.
20.sp
21Please have a look at the 'SEE ALSO' section at
22the end of this manual page for pointers to
23further instructions.
24.
25.SH GLOBAL OPTIONS
26.TP
27\fB\-d\fR, \fB\-\-node\-directory=\fR
28Specify which Tahoe node directory should be
29used. The directory should either contain a
30full Tahoe node, or a file named node.url that
31points to some other Tahoe node. It should also
32contain a file named 'private/aliases' which
33contains the mapping from alias name to root
34dirnode URI. [default for most commands:
35\&'$HOME/.tahoe']
36.TP
37\fB\-\-eliot\-destination=\fR
38Add an Eliot logging destination.  May be given
39more than once.
40.TP
41\fB\-\-help\fR
42Display help and exit.
43.TP
44\fB\-\-help\-eliot\-destinations\fR
45Emit usage information for \fB\-\-eliot\-destination\fR.
46.TP
47.B \f[B]-q,\ --quiet\f[]
48Operate silently.
49.TP
50.B \f[B]-V,\ --version\f[]
51Display version numbers.
52.TP
53\fB\-\-wormhole\-invite\-appid=\fR
54The appid to use on the wormhole server.
55[default: tahoe\-lafs.org/invite]
56.TP
57\fB\-\-wormhole\-server=\fR
58The magic wormhole server to use. [default:
59ws://wormhole.tahoe\-lafs.org:4000/v1]
60.SH COMMANDS
61.PP
62The \f[B]tahoe\f[] runner can be used for various
63tasks depending on the command used:
64.PP
65tahoe \f[I]COMMAND\f[] [\f[I]OPTION\f[]]... [\f[I]NODEDIR\f[]]
66.SH ADMINISTRATION
67.PP
68Create node configurations and securely invite
69clients to a grid.
70.SS COMMANDS
71.TP
72.B \f[B]create-node\f[]
73Create a node that acts as a client, server or
74both.
75.TP
76.B \f[B]create-client\f[]
77Create a client node (providing storage to others
78initially disabled).
79.TP
80.B \f[B]create-introducer\f[]
81Create an introducer node.
82When the grid is large or very dynamic,
83introducers make it easier for clients to connect.
84See "Static Server Definitions" in the
85documentation on how to configure clients to
86connect to one or more storage servers without
87using an introducer.
88.TP
89.B \f[B]invite\f[]
90Invite a new node to a grid.
91See "Magic Wormhole Invites" in the documentation.
92.SS OPTIONS
93.TP
94.B \f[B]-C,\ --basedir=\f[]
95Same as the global --node-directory option.
96.TP
97.B \f[B]-n,\ --nickname=\f[]
98Specify the nickname for this node (\f[B]create-node\f[] and
99\f[B]create-client\f[] only).
100.TP
101.B \f[B]-i,\ --introducer=\f[]
102Specify the introducer FURL to use (\f[B]create-node\f[] and
103\f[B]create-client\f[] only).
104.TP
105.B \f[B]--hostname=\f[]
106Hostname to automatically set --location/--port when
107--listen=tcp (the default).
108.TP
109.B \f[B]-p,\ --webport=\f[]
110Specify which TCP port to run the HTTP interface on.
111Use 'none' to disable.
112Default: 'tcp:3456:interface=127.0.0.1' (\f[B]create-node\f[] and
113\f[B]create-client\f[] only).
114.TP
115.B \f[B]--no-storage\f[]
116Do not offer storage service to other nodes (\f[B]create-node\f[]
117only).
118.SH CONTROLLING NODES
119.PP
120In the past, the 'tahoe' command offered service
121watching (with start, restart, stop commands), but
122this was not very portable and has been
123deprecated.
124.SS COMMANDS
125.TP
126.B \f[B]run\f[]
127Run a node without daemonizing.
128This is the only command for running nodes.
129.SS OPTIONS
130.TP
131.B \f[B]--allow-stdin-close\f[]
132Do not exit when stdin closes ("tahoe run"
133otherwise will exit).
134This is required for some service runners (like
135systemd, for example).
136.TP
137.B \f[B]-C,\ --basedir=\f[]
138Same as the global --node-directory option.
139.TP
140.B \f[B]--help\f[]
141Display help and exit.
142This includes lots of 'twistd-options' for
143debugging, logging, profiling, et cetera that are
144left out of this manual page for brevity.
145.SH USING THE FILE STORE
146.PP
147All the following commands require pointing tahoe
148to a running client node with the '--node-directory'
149('-d') option (or, alternatively, using the default
150location).
151.sp
152Please run 'tahoe \f[I]COMMAND\f[] --help' for
153more details on each command.
154.SS COMMANDS
155.TP
156.B \f[B]mkdir\f[]
157Create a directory and return its capability
158("dircap").
159.TP
160.B \f[B]add-alias\f[]
161Add an alias for an existing cap.
162.TP
163.B \f[B]create-alias\f[]
164Create an alias pointing to a new cap.
165.TP
166.B \f[B]list-aliases\f[]
167List all alias caps.
168.TP
169.B \f[B]ls\f[]
170List a directory.
171.TP
172.B \f[B]get\f[]
173Retrieve a file from the grid.
174.TP
175.B \f[B]put\f[]
176Upload a file into the grid.
177.TP
178.B \f[B]cp\f[]
179Copy one or more files or directories.
180.TP
181.B \f[B]unlink\f[]
182Unlink a file or directory on the grid.
183.TP
184.B \f[B]rm\f[]
185Same as \f[B]unlink\f[].
186.TP
187.B \f[B]mv\f[]
188Move a file within the grid.
189.TP
190.B \f[B]ln\f[]
191Make an additional link to an existing file or directory.
192.TP
193.B \f[B]backup\f[]
194Make target dir look like local dir.
195.TP
196.B \f[B]webopen\f[]
197Open a web browser to a grid file or directory.
198.TP
199.B \f[B]manifest\f[]
200List all files/directories in a subtree.
201.TP
202.B \f[B]stats\f[]
203Print statistics about all files/directories in a
204subtree.
205.TP
206.B \f[B]check\f[]
207Check a single file or directory.
208.TP
209.B \f[B]deep-check\f[]
210Check all files/directories reachable from a
211starting point.
212.SH DEBUGGING
213.PP
214The following commands are useful for developers
215and for troubleshooting.
216.PP
217tahoe debug \f[I]SUBCOMMAND\f[] [\f[I]OPTION\f[]]... [\f[I]PARAMETER\f[]]...
218.sp
219Please run e.g.\ 'tahoe debug dump-share --help'
220for more details on each subcommand.
221.SS SUBCOMMANDS
222.TP
223.B \f[B]dump-share\f[]
224Unpack and display the contents of a share.
225.TP
226.B \f[B]dump-cap\f[]
227Unpack a read-cap or write-cap.
228.TP
229.B \f[B]find-shares\f[]
230Locate sharefiles in node directories.
231.TP
232.B \f[B]catalog-shares\f[]
233Describe all shares in node dirs.
234.TP
235.B \f[B]corrupt-share\f[]
236Corrupt a share by flipping a bit.
237.TP
238.B \f[B]flogtool\f[]
239Utilities to access log files.
240.SH AUTHORS
241.PP
242Tahoe-LAFS has been written by Brian Warner, Zooko
243Wilcox-O'Hearn and dozens of others.
244This manpage was originally written by bertagaz.
245.SH REPORTING BUGS
246.PP
247Please see
248.UR https://tahoe-lafs.org/trac/tahoe-lafs/wiki/HowToReportABug
249.UE .
250.PP
251Tahoe-LAFS home page: <https://tahoe-lafs.org/>
252.PP
253tahoe-dev mailing list:
254.UR https://lists.tahoe-lafs.org/mailman/listinfo/tahoe-dev
255.UE
256.SH COPYRIGHT
257.PP
258Copyright \(co 2006\(en2025 The Tahoe-LAFS Software Foundation.
259.SH "SEE ALSO"
260Run 'tahoe \fB\-\-help\fR' for an overview of
261commands and 'tahoe <command> \fB\-\-help\fR' for
262more details on each command.
263.sp
264See
265.UR https://tahoe-lafs.readthedocs.io/en/tahoe-lafs-1.20.0/frontends/CLI.html
266.UE
267for user documentation specific to the 'tahoe'
268command.
269.sp
270See
271.UR https://tahoe-lafs.readthedocs.io/
272.UE
273for "the documentation" - in-depth, longer-form
274explanations, specifications and step-by-step
275tutorials.
276.sp
Note: See TracBrowser for help on using the repository browser.