root / man / gnt-backup.sgml @ 55efe6da
History | View | Annotate | Download (12.1 kB)
1 | dd4b1106 | Iustin Pop | <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ |
---|---|---|---|
2 | dd4b1106 | Iustin Pop | |
3 | dd4b1106 | Iustin Pop | <!-- Fill in your name for FIRSTNAME and SURNAME. --> |
4 | dd4b1106 | Iustin Pop | <!-- Please adjust the date whenever revising the manpage. --> |
5 | d3b4cf9f | Iustin Pop | <!ENTITY dhdate "<date>February 11, 2009</date>"> |
6 | dd4b1106 | Iustin Pop | <!-- SECTION should be 1-8, maybe w/ subsection other parameters are |
7 | dd4b1106 | Iustin Pop | allowed: see man(7), man(1). --> |
8 | dd4b1106 | Iustin Pop | <!ENTITY dhsection "<manvolnum>8</manvolnum>"> |
9 | dd4b1106 | Iustin Pop | <!ENTITY dhucpackage "<refentrytitle>gnt-backup</refentrytitle>"> |
10 | dd4b1106 | Iustin Pop | <!ENTITY dhpackage "gnt-backup"> |
11 | dd4b1106 | Iustin Pop | |
12 | dd4b1106 | Iustin Pop | <!ENTITY debian "<productname>Debian</productname>"> |
13 | dd4b1106 | Iustin Pop | <!ENTITY gnu "<acronym>GNU</acronym>"> |
14 | dd4b1106 | Iustin Pop | <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> |
15 | dd4b1106 | Iustin Pop | <!ENTITY footer SYSTEM "footer.sgml"> |
16 | dd4b1106 | Iustin Pop | ]> |
17 | dd4b1106 | Iustin Pop | |
18 | dd4b1106 | Iustin Pop | <refentry> |
19 | dd4b1106 | Iustin Pop | <refentryinfo> |
20 | dd4b1106 | Iustin Pop | <copyright> |
21 | dd4b1106 | Iustin Pop | <year>2007</year> |
22 | d3b4cf9f | Iustin Pop | <year>2008</year> |
23 | d3b4cf9f | Iustin Pop | <year>2009</year> |
24 | dd4b1106 | Iustin Pop | <holder>Google Inc.</holder> |
25 | dd4b1106 | Iustin Pop | </copyright> |
26 | dd4b1106 | Iustin Pop | &dhdate; |
27 | dd4b1106 | Iustin Pop | </refentryinfo> |
28 | dd4b1106 | Iustin Pop | <refmeta> |
29 | dd4b1106 | Iustin Pop | &dhucpackage; |
30 | dd4b1106 | Iustin Pop | |
31 | dd4b1106 | Iustin Pop | &dhsection; |
32 | d3b4cf9f | Iustin Pop | <refmiscinfo>ganeti 2.0</refmiscinfo> |
33 | dd4b1106 | Iustin Pop | </refmeta> |
34 | dd4b1106 | Iustin Pop | <refnamediv> |
35 | dd4b1106 | Iustin Pop | <refname>&dhpackage;</refname> |
36 | dd4b1106 | Iustin Pop | |
37 | dd4b1106 | Iustin Pop | <refpurpose>ganeti instance import/export</refpurpose> |
38 | dd4b1106 | Iustin Pop | </refnamediv> |
39 | dd4b1106 | Iustin Pop | <refsynopsisdiv> |
40 | dd4b1106 | Iustin Pop | <cmdsynopsis> |
41 | dd4b1106 | Iustin Pop | <command>&dhpackage; </command> |
42 | dd4b1106 | Iustin Pop | |
43 | dd4b1106 | Iustin Pop | <arg choice="req">command</arg> |
44 | dd4b1106 | Iustin Pop | <arg>arguments...</arg> |
45 | dd4b1106 | Iustin Pop | </cmdsynopsis> |
46 | dd4b1106 | Iustin Pop | </refsynopsisdiv> |
47 | dd4b1106 | Iustin Pop | <refsect1> |
48 | dd4b1106 | Iustin Pop | <title>DESCRIPTION</title> |
49 | dd4b1106 | Iustin Pop | |
50 | dd4b1106 | Iustin Pop | <para> |
51 | dd4b1106 | Iustin Pop | The <command>&dhpackage;</command> is used for importing and exporting |
52 | dd4b1106 | Iustin Pop | instances and their configuration from a ganeti system. It is useful for |
53 | dd4b1106 | Iustin Pop | backing instances up and also to migrate them between clusters. |
54 | dd4b1106 | Iustin Pop | </para> |
55 | dd4b1106 | Iustin Pop | |
56 | dd4b1106 | Iustin Pop | </refsect1> |
57 | dd4b1106 | Iustin Pop | <refsect1> |
58 | dd4b1106 | Iustin Pop | <title>COMMANDS</title> |
59 | dd4b1106 | Iustin Pop | |
60 | dd4b1106 | Iustin Pop | <refsect2> |
61 | dd4b1106 | Iustin Pop | <title>EXPORT</title> |
62 | dd4b1106 | Iustin Pop | |
63 | dd4b1106 | Iustin Pop | <cmdsynopsis> |
64 | dd4b1106 | Iustin Pop | <command>export</command> |
65 | dd4b1106 | Iustin Pop | <arg choice="req">-n <replaceable>node</replaceable></arg> |
66 | dd4b1106 | Iustin Pop | <arg>--noshutdown</arg> |
67 | dd4b1106 | Iustin Pop | <arg choice="req"><replaceable>instance</replaceable></arg> |
68 | dd4b1106 | Iustin Pop | </cmdsynopsis> |
69 | dd4b1106 | Iustin Pop | |
70 | dd4b1106 | Iustin Pop | <para> |
71 | f69dab6d | Iustin Pop | Exports an instance to the target node. All the instance data |
72 | f69dab6d | Iustin Pop | and its configuration will be exported under the |
73 | 56118de5 | Iustin Pop | /srv/ganeti/export/<replaceable>instance</replaceable> |
74 | f69dab6d | Iustin Pop | directory on the target node. |
75 | dd4b1106 | Iustin Pop | </para> |
76 | dd4b1106 | Iustin Pop | |
77 | dd4b1106 | Iustin Pop | <para> |
78 | dd4b1106 | Iustin Pop | The <option>--noshutdown</option> option will create a |
79 | dd4b1106 | Iustin Pop | snapshot disk of the instance without shutting it down first. |
80 | dd4b1106 | Iustin Pop | While this is faster and involves no downtime, it cannot be |
81 | dd4b1106 | Iustin Pop | guaranteed that the instance data will be in a consistent state |
82 | dd4b1106 | Iustin Pop | in the exported dump. |
83 | dd4b1106 | Iustin Pop | </para> |
84 | dd4b1106 | Iustin Pop | |
85 | dd4b1106 | Iustin Pop | <para> |
86 | dd4b1106 | Iustin Pop | Example: |
87 | dd4b1106 | Iustin Pop | <screen> |
88 | 017778ac | Guido Trotter | # gnt-backup export -n node1.example.com instance3.example.com |
89 | dd4b1106 | Iustin Pop | </screen> |
90 | dd4b1106 | Iustin Pop | </para> |
91 | dd4b1106 | Iustin Pop | </refsect2> |
92 | dd4b1106 | Iustin Pop | |
93 | dd4b1106 | Iustin Pop | <refsect2> |
94 | dd4b1106 | Iustin Pop | <title>IMPORT</title> |
95 | dd4b1106 | Iustin Pop | <cmdsynopsis> |
96 | dd4b1106 | Iustin Pop | <command>import</command> |
97 | d3b4cf9f | Iustin Pop | <sbr> |
98 | a53a1b18 | Michael Hanselmann | <group choice="req"> |
99 | d3b4cf9f | Iustin Pop | <arg>-n <replaceable>node<optional>:secondary-node</optional></replaceable></arg> <arg>--iallocator |
100 | d3b4cf9f | Iustin Pop | <replaceable>name</replaceable></arg> |
101 | a53a1b18 | Michael Hanselmann | </group> |
102 | bdb7d4e8 | Michael Hanselmann | <sbr> |
103 | bdb7d4e8 | Michael Hanselmann | |
104 | d3b4cf9f | Iustin Pop | <arg rep="repeat">--disk <replaceable>N</replaceable>:size=<replaceable>VAL</replaceable><arg>,mode=<replaceable>ro|rw</replaceable></arg></arg> |
105 | a53a1b18 | Michael Hanselmann | <sbr> |
106 | d3b4cf9f | Iustin Pop | <group> |
107 | d3b4cf9f | Iustin Pop | <arg rep="repeat">--net <replaceable>N</replaceable><arg rep="repeat">:options</arg></arg> |
108 | d3b4cf9f | Iustin Pop | <arg>--no-nics</arg> |
109 | d3b4cf9f | Iustin Pop | </group> |
110 | d3b4cf9f | Iustin Pop | <sbr> |
111 | d3b4cf9f | Iustin Pop | <arg>-B <replaceable>BEPARAMS</replaceable></arg> |
112 | d3b4cf9f | Iustin Pop | <sbr> |
113 | d3b4cf9f | Iustin Pop | <arg>-H <replaceable>HYPERVISOR</replaceable><arg>:<arg choice="plain" rep="repeat">option=<replaceable>value</replaceable></arg></arg></arg> |
114 | 8cd7cb4c | Guido Trotter | <sbr> |
115 | d3b4cf9f | Iustin Pop | <arg>--src-node=<replaceable>source-node</replaceable></arg> |
116 | d3b4cf9f | Iustin Pop | <arg>--src-dir=<replaceable>source-dir</replaceable></arg> |
117 | dd4b1106 | Iustin Pop | <sbr> |
118 | bdb7d4e8 | Michael Hanselmann | |
119 | dd4b1106 | Iustin Pop | <arg choice="req">-t<group> |
120 | dd4b1106 | Iustin Pop | <arg>diskless</arg> |
121 | dd4b1106 | Iustin Pop | <arg>plain</arg> |
122 | f69dab6d | Iustin Pop | <arg>drbd</arg> |
123 | d3b4cf9f | Iustin Pop | <arg>file</arg> |
124 | bdb7d4e8 | Michael Hanselmann | </group></arg> |
125 | f69dab6d | Iustin Pop | <sbr> |
126 | bdb7d4e8 | Michael Hanselmann | |
127 | dd4b1106 | Iustin Pop | <arg choice="req"><replaceable>instance</replaceable></arg> |
128 | dd4b1106 | Iustin Pop | </cmdsynopsis> |
129 | dd4b1106 | Iustin Pop | <para> |
130 | dd4b1106 | Iustin Pop | Imports a new instance from an export residing on |
131 | dd4b1106 | Iustin Pop | <replaceable>source-node</replaceable> in |
132 | dd4b1106 | Iustin Pop | <replaceable>source-dir</replaceable>. |
133 | d3b4cf9f | Iustin Pop | <replaceable>instance</replaceable> must be in DNS and resolve |
134 | d3b4cf9f | Iustin Pop | to a IP in the same network as the nodes in the cluster. If |
135 | d3b4cf9f | Iustin Pop | the source node and directory are not passed, the last backup |
136 | d3b4cf9f | Iustin Pop | in the cluster is used, as visible with the |
137 | d3b4cf9f | Iustin Pop | <command>list</command> command. |
138 | dd4b1106 | Iustin Pop | </para> |
139 | dd4b1106 | Iustin Pop | |
140 | dd4b1106 | Iustin Pop | <para> |
141 | d3b4cf9f | Iustin Pop | The <option>disk</option> option specifies the parameters for |
142 | d3b4cf9f | Iustin Pop | the disks of the instance. The numbering of disks starts at |
143 | d3b4cf9f | Iustin Pop | zero, and at least one disk needs to be passed. For each disk, |
144 | d3b4cf9f | Iustin Pop | at least the size needs to be given, and optionally the access |
145 | d3b4cf9f | Iustin Pop | mode (read-only or the default of read-write) can also be |
146 | d3b4cf9f | Iustin Pop | specified. The size is interpreted (when no unit is given) in |
147 | d3b4cf9f | Iustin Pop | mebibytes. You can also use one of the suffixes |
148 | d3b4cf9f | Iustin Pop | <literal>m</literal>, <literal>g</literal> or |
149 | d5687e89 | Guido Trotter | <literal>t</literal> to specificy the exact the units used; |
150 | d5687e89 | Guido Trotter | these suffixes map to mebibytes, gibibytes and tebibytes. |
151 | dd4b1106 | Iustin Pop | </para> |
152 | dd4b1106 | Iustin Pop | |
153 | dd4b1106 | Iustin Pop | <para> |
154 | c0e4a2c3 | Iustin Pop | Alternatively, a single-disk instance can be created via the |
155 | c0e4a2c3 | Iustin Pop | <option>-s</option> option which takes a single argument, |
156 | c0e4a2c3 | Iustin Pop | the size of the disk. This is similar to the Ganeti 1.2 |
157 | c0e4a2c3 | Iustin Pop | version (but will only create one disk). |
158 | c0e4a2c3 | Iustin Pop | </para> |
159 | c0e4a2c3 | Iustin Pop | |
160 | c0e4a2c3 | Iustin Pop | <para> |
161 | c0e4a2c3 | Iustin Pop | The minimum disk specification is therefore |
162 | c0e4a2c3 | Iustin Pop | <userinput>--disk 0:size=20G</userinput> (or <userinput>-s |
163 | c0e4a2c3 | Iustin Pop | 20G</userinput> when using the <option>-s</option> option), |
164 | c0e4a2c3 | Iustin Pop | and a three-disk instance can be specified as |
165 | c0e4a2c3 | Iustin Pop | <userinput>--disk 0:size=20G --disk 1:size=4G --disk |
166 | c0e4a2c3 | Iustin Pop | 2:size=100G</userinput>. |
167 | 1e808cbf | Guido Trotter | </para> |
168 | 1e808cbf | Guido Trotter | |
169 | 1e808cbf | Guido Trotter | <para> |
170 | d3b4cf9f | Iustin Pop | The NICs of the instances can be specified via the |
171 | d3b4cf9f | Iustin Pop | <option>--nic</option> option. By default, one NIC is created |
172 | d3b4cf9f | Iustin Pop | for the instance, with the MAC set to the original MAC of the |
173 | d3b4cf9f | Iustin Pop | instance (as it was at export time). Each NIC can take up to |
174 | d3b4cf9f | Iustin Pop | three parameters (all optional): |
175 | d3b4cf9f | Iustin Pop | <variablelist> |
176 | d3b4cf9f | Iustin Pop | <varlistentry> |
177 | d3b4cf9f | Iustin Pop | <term>mac</term> |
178 | d3b4cf9f | Iustin Pop | <listitem> |
179 | d3b4cf9f | Iustin Pop | <simpara>either a value or <constant>GENERATE</constant> |
180 | d3b4cf9f | Iustin Pop | to generate a new unique MAC, or |
181 | d3b4cf9f | Iustin Pop | <constant>AUTO</constant> to reuse the old MAC</simpara> |
182 | d3b4cf9f | Iustin Pop | </listitem> |
183 | d3b4cf9f | Iustin Pop | </varlistentry> |
184 | d3b4cf9f | Iustin Pop | <varlistentry> |
185 | d3b4cf9f | Iustin Pop | <term>ip</term> |
186 | d3b4cf9f | Iustin Pop | <listitem> |
187 | d3b4cf9f | Iustin Pop | <simpara>specifies the IP address assigned to the |
188 | d3b4cf9f | Iustin Pop | instance from the Ganeti side (this is not necessarily |
189 | d3b4cf9f | Iustin Pop | what the instance will use, but what the node expects |
190 | d3b4cf9f | Iustin Pop | the instance to use)</simpara> |
191 | d3b4cf9f | Iustin Pop | </listitem> |
192 | d3b4cf9f | Iustin Pop | </varlistentry> |
193 | d3b4cf9f | Iustin Pop | <varlistentry> |
194 | d3b4cf9f | Iustin Pop | <term>bridge</term> |
195 | d3b4cf9f | Iustin Pop | <listitem> |
196 | d3b4cf9f | Iustin Pop | <simpara>specifies the bridge to attach this NIC |
197 | d3b4cf9f | Iustin Pop | to</simpara> |
198 | d3b4cf9f | Iustin Pop | </listitem> |
199 | d3b4cf9f | Iustin Pop | </varlistentry> |
200 | d3b4cf9f | Iustin Pop | </variablelist> |
201 | dd4b1106 | Iustin Pop | </para> |
202 | dd4b1106 | Iustin Pop | |
203 | dd4b1106 | Iustin Pop | <para> |
204 | d3b4cf9f | Iustin Pop | Alternatively, if no network is desired for the instance, you |
205 | d3b4cf9f | Iustin Pop | can prevent the default of one NIC with the |
206 | d3b4cf9f | Iustin Pop | <option>--no-nics</option> option. |
207 | dd4b1106 | Iustin Pop | </para> |
208 | dd4b1106 | Iustin Pop | |
209 | dd4b1106 | Iustin Pop | <para> |
210 | d3b4cf9f | Iustin Pop | The <option>-B</option> option specifies the backend |
211 | d3b4cf9f | Iustin Pop | parameters for the instance. If no such parameters are |
212 | d3b4cf9f | Iustin Pop | specified, the values are inherited from the cluster. Possible |
213 | d3b4cf9f | Iustin Pop | parameters are: |
214 | d3b4cf9f | Iustin Pop | <variablelist> |
215 | d3b4cf9f | Iustin Pop | <varlistentry> |
216 | d3b4cf9f | Iustin Pop | <term>memory</term> |
217 | d3b4cf9f | Iustin Pop | <listitem> |
218 | d3b4cf9f | Iustin Pop | <simpara>the memory size of the instance; as usual, |
219 | d3b4cf9f | Iustin Pop | suffixes can be used to denote the unit, otherwise the |
220 | d3b4cf9f | Iustin Pop | value is taken in mebibites</simpara> |
221 | d3b4cf9f | Iustin Pop | </listitem> |
222 | d3b4cf9f | Iustin Pop | </varlistentry> |
223 | d3b4cf9f | Iustin Pop | <varlistentry> |
224 | d3b4cf9f | Iustin Pop | <term>vcpus</term> |
225 | d3b4cf9f | Iustin Pop | <listitem> |
226 | d3b4cf9f | Iustin Pop | <simpara>the number of VCPUs to assign to the instance |
227 | d3b4cf9f | Iustin Pop | (if this value makes sense for the hypervisor)</simpara> |
228 | d3b4cf9f | Iustin Pop | </listitem> |
229 | d3b4cf9f | Iustin Pop | </varlistentry> |
230 | d3b4cf9f | Iustin Pop | <varlistentry> |
231 | d3b4cf9f | Iustin Pop | <term>auto_balance</term> |
232 | d3b4cf9f | Iustin Pop | <listitem> |
233 | d3b4cf9f | Iustin Pop | <simpara>whether the instance is considered in the N+1 |
234 | d3b4cf9f | Iustin Pop | cluster checks (enough redundancy in the cluster to |
235 | d3b4cf9f | Iustin Pop | survive a node failure)</simpara> |
236 | d3b4cf9f | Iustin Pop | </listitem> |
237 | d3b4cf9f | Iustin Pop | </varlistentry> |
238 | d3b4cf9f | Iustin Pop | </variablelist> |
239 | 8cd7cb4c | Guido Trotter | </para> |
240 | 8cd7cb4c | Guido Trotter | |
241 | 8cd7cb4c | Guido Trotter | <para> |
242 | dd4b1106 | Iustin Pop | The <option>-t</option> options specifies the disk layout type for |
243 | dd4b1106 | Iustin Pop | the instance. The available choices are: |
244 | dd4b1106 | Iustin Pop | <variablelist> |
245 | dd4b1106 | Iustin Pop | <varlistentry> |
246 | dd4b1106 | Iustin Pop | <term>diskless</term> |
247 | dd4b1106 | Iustin Pop | <listitem> |
248 | dd4b1106 | Iustin Pop | <para> |
249 | dd4b1106 | Iustin Pop | This creates an instance with no disks. Its useful for |
250 | dd4b1106 | Iustin Pop | testing only (or other special cases). |
251 | dd4b1106 | Iustin Pop | </para> |
252 | dd4b1106 | Iustin Pop | </listitem> |
253 | dd4b1106 | Iustin Pop | </varlistentry> |
254 | dd4b1106 | Iustin Pop | <varlistentry> |
255 | dd4b1106 | Iustin Pop | <term>plain</term> |
256 | dd4b1106 | Iustin Pop | <listitem> |
257 | dd4b1106 | Iustin Pop | <para>Disk devices will be logical volumes.</para> |
258 | dd4b1106 | Iustin Pop | </listitem> |
259 | dd4b1106 | Iustin Pop | </varlistentry> |
260 | dd4b1106 | Iustin Pop | <varlistentry> |
261 | f69dab6d | Iustin Pop | <term>drbd</term> |
262 | f69dab6d | Iustin Pop | <listitem> |
263 | f69dab6d | Iustin Pop | <para> |
264 | f69dab6d | Iustin Pop | Disk devices will be drbd (version 8.x) on top of lvm |
265 | bd028152 | Iustin Pop | volumes. |
266 | f69dab6d | Iustin Pop | </para> |
267 | f69dab6d | Iustin Pop | </listitem> |
268 | f69dab6d | Iustin Pop | </varlistentry> |
269 | d3b4cf9f | Iustin Pop | <varlistentry> |
270 | d3b4cf9f | Iustin Pop | <term>file</term> |
271 | d3b4cf9f | Iustin Pop | <listitem> |
272 | d3b4cf9f | Iustin Pop | <para>Disk devices will be backed up by files, under the |
273 | d3b4cf9f | Iustin Pop | <filename |
274 | d3b4cf9f | Iustin Pop | class="directory">@RPL_FILE_STORAGE_DIR@</filename>. By |
275 | d3b4cf9f | Iustin Pop | default, each instance will get a directory (as its own |
276 | d3b4cf9f | Iustin Pop | name) under this path, and each disk is stored as |
277 | d3b4cf9f | Iustin Pop | individual files in this (instance-specific) |
278 | d3b4cf9f | Iustin Pop | directory.</para> |
279 | d3b4cf9f | Iustin Pop | </listitem> |
280 | d3b4cf9f | Iustin Pop | </varlistentry> |
281 | dd4b1106 | Iustin Pop | </variablelist> |
282 | dd4b1106 | Iustin Pop | </para> |
283 | dd4b1106 | Iustin Pop | |
284 | dd4b1106 | Iustin Pop | <para> |
285 | a53a1b18 | Michael Hanselmann | The <option>--iallocator</option> option specifies the instance |
286 | a53a1b18 | Michael Hanselmann | allocator plugin to use. If you pass in this option the allocator will |
287 | a53a1b18 | Michael Hanselmann | select nodes for this instance automatically, so you don't need to pass |
288 | a53a1b18 | Michael Hanselmann | them with the <option>-n</option> option. For more information please |
289 | a53a1b18 | Michael Hanselmann | refer to the instance allocator documentation. |
290 | a53a1b18 | Michael Hanselmann | </para> |
291 | a53a1b18 | Michael Hanselmann | |
292 | a53a1b18 | Michael Hanselmann | <para> |
293 | a53a1b18 | Michael Hanselmann | The optional second value of the <option>--node</option> is used for |
294 | d3b4cf9f | Iustin Pop | the drbd template and specifies the remote node. |
295 | c234fe4c | Guido Trotter | </para> |
296 | c234fe4c | Guido Trotter | |
297 | c234fe4c | Guido Trotter | <para> |
298 | 017778ac | Guido Trotter | If you do not want gnt-backup to wait for the disk mirror |
299 | dd4b1106 | Iustin Pop | to be synced, use the <option>--no-wait-for-sync</option> |
300 | dd4b1106 | Iustin Pop | option. |
301 | dd4b1106 | Iustin Pop | </para> |
302 | dd4b1106 | Iustin Pop | |
303 | dd4b1106 | Iustin Pop | <para> |
304 | dd4b1106 | Iustin Pop | Example: |
305 | dd4b1106 | Iustin Pop | <screen> |
306 | d3b4cf9f | Iustin Pop | # gnt-backup import -t plain --disk 0:size=1G -B memory=512 \ |
307 | d3b4cf9f | Iustin Pop | > -n node1.example.com \ |
308 | dd4b1106 | Iustin Pop | > instance3.example.com |
309 | dd4b1106 | Iustin Pop | </screen> |
310 | dd4b1106 | Iustin Pop | </para> |
311 | dd4b1106 | Iustin Pop | |
312 | dd4b1106 | Iustin Pop | </refsect2> |
313 | dd4b1106 | Iustin Pop | |
314 | dd4b1106 | Iustin Pop | <refsect2> |
315 | dd4b1106 | Iustin Pop | <title>LIST</title> |
316 | dd4b1106 | Iustin Pop | |
317 | dd4b1106 | Iustin Pop | <cmdsynopsis> |
318 | dd4b1106 | Iustin Pop | <command>list</command> |
319 | 59885275 | Guido Trotter | <arg>--node=<replaceable>NODE</replaceable></arg> |
320 | dd4b1106 | Iustin Pop | </cmdsynopsis> |
321 | dd4b1106 | Iustin Pop | |
322 | dd4b1106 | Iustin Pop | <para> |
323 | f69dab6d | Iustin Pop | Lists the exports currently available in the default directory |
324 | f69dab6d | Iustin Pop | in all the nodes of the current cluster, or optionally only a |
325 | 59885275 | Guido Trotter | subset of them specified using the <option>--node</option> |
326 | 59885275 | Guido Trotter | option (which can be used multiple times) |
327 | dd4b1106 | Iustin Pop | </para> |
328 | dd4b1106 | Iustin Pop | |
329 | f69dab6d | Iustin Pop | <para> |
330 | f69dab6d | Iustin Pop | Example: |
331 | f69dab6d | Iustin Pop | <screen> |
332 | f69dab6d | Iustin Pop | # gnt-backup list --nodes node1 --nodes node2 |
333 | f69dab6d | Iustin Pop | </screen> |
334 | 949bdabe | Iustin Pop | </para> |
335 | dd4b1106 | Iustin Pop | </refsect2> |
336 | dd4b1106 | Iustin Pop | |
337 | d3b4cf9f | Iustin Pop | <refsect2> |
338 | d3b4cf9f | Iustin Pop | <title>REMOVE</title> |
339 | d3b4cf9f | Iustin Pop | <cmdsynopsis> |
340 | d3b4cf9f | Iustin Pop | <command>remove</command> |
341 | d3b4cf9f | Iustin Pop | <arg choice="req">instance_name</arg> |
342 | d3b4cf9f | Iustin Pop | </cmdsynopsis> |
343 | d3b4cf9f | Iustin Pop | |
344 | d3b4cf9f | Iustin Pop | <para> |
345 | d3b4cf9f | Iustin Pop | Removes the backup for the given instance name, if any. If the |
346 | d3b4cf9f | Iustin Pop | backup was for a deleted instances, it is needed to pass the |
347 | d3b4cf9f | Iustin Pop | <acronym>FQDN</acronym> of the instance, and not only the |
348 | d3b4cf9f | Iustin Pop | short hostname. |
349 | d3b4cf9f | Iustin Pop | </para> |
350 | d3b4cf9f | Iustin Pop | |
351 | d3b4cf9f | Iustin Pop | </refsect2> |
352 | d3b4cf9f | Iustin Pop | |
353 | dd4b1106 | Iustin Pop | </refsect1> |
354 | dd4b1106 | Iustin Pop | |
355 | dd4b1106 | Iustin Pop | &footer; |
356 | dd4b1106 | Iustin Pop | |
357 | dd4b1106 | Iustin Pop | </refentry> |
358 | dd4b1106 | Iustin Pop | |
359 | dd4b1106 | Iustin Pop | <!-- Keep this comment at the end of the file |
360 | dd4b1106 | Iustin Pop | Local variables: |
361 | dd4b1106 | Iustin Pop | mode: sgml |
362 | dd4b1106 | Iustin Pop | sgml-omittag:t |
363 | dd4b1106 | Iustin Pop | sgml-shorttag:t |
364 | dd4b1106 | Iustin Pop | sgml-minimize-attributes:nil |
365 | dd4b1106 | Iustin Pop | sgml-always-quote-attributes:t |
366 | dd4b1106 | Iustin Pop | sgml-indent-step:2 |
367 | dd4b1106 | Iustin Pop | sgml-indent-data:t |
368 | dd4b1106 | Iustin Pop | sgml-parent-document:nil |
369 | dd4b1106 | Iustin Pop | sgml-default-dtd-file:nil |
370 | dd4b1106 | Iustin Pop | sgml-exposed-tags:nil |
371 | dd4b1106 | Iustin Pop | sgml-local-catalogs:nil |
372 | dd4b1106 | Iustin Pop | sgml-local-ecat-files:nil |
373 | dd4b1106 | Iustin Pop | End: |
374 | dd4b1106 | Iustin Pop | --> |