root / man / gnt-backup.sgml @ 2b32e20c
History | View | Annotate | Download (12.6 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 | 084f05a5 | Iustin Pop | The exit code of the command is 0 if all disks were backed up |
87 | 084f05a5 | Iustin Pop | successfully, 1 if no data was backed up or if the |
88 | 084f05a5 | Iustin Pop | configuration export failed, and 2 if just some of the disks |
89 | 084f05a5 | Iustin Pop | failed to backup. The exact details of the failures will be |
90 | 084f05a5 | Iustin Pop | shown during the command execution (and will be stored in the |
91 | 084f05a5 | Iustin Pop | job log). It is recommended that for any non-zero exit code, |
92 | 084f05a5 | Iustin Pop | the backup is considered invalid, and retried. |
93 | 084f05a5 | Iustin Pop | </para> |
94 | 084f05a5 | Iustin Pop | |
95 | 084f05a5 | Iustin Pop | <para> |
96 | dd4b1106 | Iustin Pop | Example: |
97 | dd4b1106 | Iustin Pop | <screen> |
98 | 017778ac | Guido Trotter | # gnt-backup export -n node1.example.com instance3.example.com |
99 | dd4b1106 | Iustin Pop | </screen> |
100 | dd4b1106 | Iustin Pop | </para> |
101 | dd4b1106 | Iustin Pop | </refsect2> |
102 | dd4b1106 | Iustin Pop | |
103 | dd4b1106 | Iustin Pop | <refsect2> |
104 | dd4b1106 | Iustin Pop | <title>IMPORT</title> |
105 | dd4b1106 | Iustin Pop | <cmdsynopsis> |
106 | dd4b1106 | Iustin Pop | <command>import</command> |
107 | d3b4cf9f | Iustin Pop | <sbr> |
108 | a53a1b18 | Michael Hanselmann | <group choice="req"> |
109 | d3b4cf9f | Iustin Pop | <arg>-n <replaceable>node<optional>:secondary-node</optional></replaceable></arg> <arg>--iallocator |
110 | d3b4cf9f | Iustin Pop | <replaceable>name</replaceable></arg> |
111 | a53a1b18 | Michael Hanselmann | </group> |
112 | bdb7d4e8 | Michael Hanselmann | <sbr> |
113 | bdb7d4e8 | Michael Hanselmann | |
114 | d3b4cf9f | Iustin Pop | <arg rep="repeat">--disk <replaceable>N</replaceable>:size=<replaceable>VAL</replaceable><arg>,mode=<replaceable>ro|rw</replaceable></arg></arg> |
115 | a53a1b18 | Michael Hanselmann | <sbr> |
116 | d3b4cf9f | Iustin Pop | <group> |
117 | d3b4cf9f | Iustin Pop | <arg rep="repeat">--net <replaceable>N</replaceable><arg rep="repeat">:options</arg></arg> |
118 | d3b4cf9f | Iustin Pop | <arg>--no-nics</arg> |
119 | d3b4cf9f | Iustin Pop | </group> |
120 | d3b4cf9f | Iustin Pop | <sbr> |
121 | d3b4cf9f | Iustin Pop | <arg>-B <replaceable>BEPARAMS</replaceable></arg> |
122 | d3b4cf9f | Iustin Pop | <sbr> |
123 | d3b4cf9f | Iustin Pop | <arg>-H <replaceable>HYPERVISOR</replaceable><arg>:<arg choice="plain" rep="repeat">option=<replaceable>value</replaceable></arg></arg></arg> |
124 | 8cd7cb4c | Guido Trotter | <sbr> |
125 | d3b4cf9f | Iustin Pop | <arg>--src-node=<replaceable>source-node</replaceable></arg> |
126 | d3b4cf9f | Iustin Pop | <arg>--src-dir=<replaceable>source-dir</replaceable></arg> |
127 | dd4b1106 | Iustin Pop | <sbr> |
128 | bdb7d4e8 | Michael Hanselmann | |
129 | dd4b1106 | Iustin Pop | <arg choice="req">-t<group> |
130 | dd4b1106 | Iustin Pop | <arg>diskless</arg> |
131 | dd4b1106 | Iustin Pop | <arg>plain</arg> |
132 | f69dab6d | Iustin Pop | <arg>drbd</arg> |
133 | d3b4cf9f | Iustin Pop | <arg>file</arg> |
134 | bdb7d4e8 | Michael Hanselmann | </group></arg> |
135 | f69dab6d | Iustin Pop | <sbr> |
136 | bdb7d4e8 | Michael Hanselmann | |
137 | dd4b1106 | Iustin Pop | <arg choice="req"><replaceable>instance</replaceable></arg> |
138 | dd4b1106 | Iustin Pop | </cmdsynopsis> |
139 | dd4b1106 | Iustin Pop | <para> |
140 | dd4b1106 | Iustin Pop | Imports a new instance from an export residing on |
141 | dd4b1106 | Iustin Pop | <replaceable>source-node</replaceable> in |
142 | dd4b1106 | Iustin Pop | <replaceable>source-dir</replaceable>. |
143 | d3b4cf9f | Iustin Pop | <replaceable>instance</replaceable> must be in DNS and resolve |
144 | d3b4cf9f | Iustin Pop | to a IP in the same network as the nodes in the cluster. If |
145 | d3b4cf9f | Iustin Pop | the source node and directory are not passed, the last backup |
146 | d3b4cf9f | Iustin Pop | in the cluster is used, as visible with the |
147 | d3b4cf9f | Iustin Pop | <command>list</command> command. |
148 | dd4b1106 | Iustin Pop | </para> |
149 | dd4b1106 | Iustin Pop | |
150 | dd4b1106 | Iustin Pop | <para> |
151 | d3b4cf9f | Iustin Pop | The <option>disk</option> option specifies the parameters for |
152 | d3b4cf9f | Iustin Pop | the disks of the instance. The numbering of disks starts at |
153 | d3b4cf9f | Iustin Pop | zero, and at least one disk needs to be passed. For each disk, |
154 | d3b4cf9f | Iustin Pop | at least the size needs to be given, and optionally the access |
155 | d3b4cf9f | Iustin Pop | mode (read-only or the default of read-write) can also be |
156 | d3b4cf9f | Iustin Pop | specified. The size is interpreted (when no unit is given) in |
157 | d3b4cf9f | Iustin Pop | mebibytes. You can also use one of the suffixes |
158 | d3b4cf9f | Iustin Pop | <literal>m</literal>, <literal>g</literal> or |
159 | d5687e89 | Guido Trotter | <literal>t</literal> to specificy the exact the units used; |
160 | d5687e89 | Guido Trotter | these suffixes map to mebibytes, gibibytes and tebibytes. |
161 | dd4b1106 | Iustin Pop | </para> |
162 | dd4b1106 | Iustin Pop | |
163 | dd4b1106 | Iustin Pop | <para> |
164 | c0e4a2c3 | Iustin Pop | Alternatively, a single-disk instance can be created via the |
165 | c0e4a2c3 | Iustin Pop | <option>-s</option> option which takes a single argument, |
166 | c0e4a2c3 | Iustin Pop | the size of the disk. This is similar to the Ganeti 1.2 |
167 | c0e4a2c3 | Iustin Pop | version (but will only create one disk). |
168 | c0e4a2c3 | Iustin Pop | </para> |
169 | c0e4a2c3 | Iustin Pop | |
170 | c0e4a2c3 | Iustin Pop | <para> |
171 | c0e4a2c3 | Iustin Pop | The minimum disk specification is therefore |
172 | c0e4a2c3 | Iustin Pop | <userinput>--disk 0:size=20G</userinput> (or <userinput>-s |
173 | c0e4a2c3 | Iustin Pop | 20G</userinput> when using the <option>-s</option> option), |
174 | c0e4a2c3 | Iustin Pop | and a three-disk instance can be specified as |
175 | c0e4a2c3 | Iustin Pop | <userinput>--disk 0:size=20G --disk 1:size=4G --disk |
176 | c0e4a2c3 | Iustin Pop | 2:size=100G</userinput>. |
177 | 1e808cbf | Guido Trotter | </para> |
178 | 1e808cbf | Guido Trotter | |
179 | 1e808cbf | Guido Trotter | <para> |
180 | d3b4cf9f | Iustin Pop | The NICs of the instances can be specified via the |
181 | 091c2c64 | Guido Trotter | <option>--net</option> option. By default, one NIC is created |
182 | d3b4cf9f | Iustin Pop | for the instance, with the MAC set to the original MAC of the |
183 | d3b4cf9f | Iustin Pop | instance (as it was at export time). Each NIC can take up to |
184 | d3b4cf9f | Iustin Pop | three parameters (all optional): |
185 | d3b4cf9f | Iustin Pop | <variablelist> |
186 | d3b4cf9f | Iustin Pop | <varlistentry> |
187 | d3b4cf9f | Iustin Pop | <term>mac</term> |
188 | d3b4cf9f | Iustin Pop | <listitem> |
189 | d3b4cf9f | Iustin Pop | <simpara>either a value or <constant>GENERATE</constant> |
190 | d3b4cf9f | Iustin Pop | to generate a new unique MAC, or |
191 | d3b4cf9f | Iustin Pop | <constant>AUTO</constant> to reuse the old MAC</simpara> |
192 | d3b4cf9f | Iustin Pop | </listitem> |
193 | d3b4cf9f | Iustin Pop | </varlistentry> |
194 | d3b4cf9f | Iustin Pop | <varlistentry> |
195 | d3b4cf9f | Iustin Pop | <term>ip</term> |
196 | d3b4cf9f | Iustin Pop | <listitem> |
197 | d3b4cf9f | Iustin Pop | <simpara>specifies the IP address assigned to the |
198 | d3b4cf9f | Iustin Pop | instance from the Ganeti side (this is not necessarily |
199 | d3b4cf9f | Iustin Pop | what the instance will use, but what the node expects |
200 | d3b4cf9f | Iustin Pop | the instance to use)</simpara> |
201 | d3b4cf9f | Iustin Pop | </listitem> |
202 | d3b4cf9f | Iustin Pop | </varlistentry> |
203 | d3b4cf9f | Iustin Pop | <varlistentry> |
204 | d3b4cf9f | Iustin Pop | <term>bridge</term> |
205 | d3b4cf9f | Iustin Pop | <listitem> |
206 | d3b4cf9f | Iustin Pop | <simpara>specifies the bridge to attach this NIC |
207 | d3b4cf9f | Iustin Pop | to</simpara> |
208 | d3b4cf9f | Iustin Pop | </listitem> |
209 | d3b4cf9f | Iustin Pop | </varlistentry> |
210 | d3b4cf9f | Iustin Pop | </variablelist> |
211 | dd4b1106 | Iustin Pop | </para> |
212 | dd4b1106 | Iustin Pop | |
213 | dd4b1106 | Iustin Pop | <para> |
214 | d3b4cf9f | Iustin Pop | Alternatively, if no network is desired for the instance, you |
215 | d3b4cf9f | Iustin Pop | can prevent the default of one NIC with the |
216 | d3b4cf9f | Iustin Pop | <option>--no-nics</option> option. |
217 | dd4b1106 | Iustin Pop | </para> |
218 | dd4b1106 | Iustin Pop | |
219 | dd4b1106 | Iustin Pop | <para> |
220 | d3b4cf9f | Iustin Pop | The <option>-B</option> option specifies the backend |
221 | d3b4cf9f | Iustin Pop | parameters for the instance. If no such parameters are |
222 | d3b4cf9f | Iustin Pop | specified, the values are inherited from the cluster. Possible |
223 | d3b4cf9f | Iustin Pop | parameters are: |
224 | d3b4cf9f | Iustin Pop | <variablelist> |
225 | d3b4cf9f | Iustin Pop | <varlistentry> |
226 | d3b4cf9f | Iustin Pop | <term>memory</term> |
227 | d3b4cf9f | Iustin Pop | <listitem> |
228 | d3b4cf9f | Iustin Pop | <simpara>the memory size of the instance; as usual, |
229 | d3b4cf9f | Iustin Pop | suffixes can be used to denote the unit, otherwise the |
230 | d3b4cf9f | Iustin Pop | value is taken in mebibites</simpara> |
231 | d3b4cf9f | Iustin Pop | </listitem> |
232 | d3b4cf9f | Iustin Pop | </varlistentry> |
233 | d3b4cf9f | Iustin Pop | <varlistentry> |
234 | d3b4cf9f | Iustin Pop | <term>vcpus</term> |
235 | d3b4cf9f | Iustin Pop | <listitem> |
236 | d3b4cf9f | Iustin Pop | <simpara>the number of VCPUs to assign to the instance |
237 | d3b4cf9f | Iustin Pop | (if this value makes sense for the hypervisor)</simpara> |
238 | d3b4cf9f | Iustin Pop | </listitem> |
239 | d3b4cf9f | Iustin Pop | </varlistentry> |
240 | d3b4cf9f | Iustin Pop | <varlistentry> |
241 | d3b4cf9f | Iustin Pop | <term>auto_balance</term> |
242 | d3b4cf9f | Iustin Pop | <listitem> |
243 | d3b4cf9f | Iustin Pop | <simpara>whether the instance is considered in the N+1 |
244 | d3b4cf9f | Iustin Pop | cluster checks (enough redundancy in the cluster to |
245 | d3b4cf9f | Iustin Pop | survive a node failure)</simpara> |
246 | d3b4cf9f | Iustin Pop | </listitem> |
247 | d3b4cf9f | Iustin Pop | </varlistentry> |
248 | d3b4cf9f | Iustin Pop | </variablelist> |
249 | 8cd7cb4c | Guido Trotter | </para> |
250 | 8cd7cb4c | Guido Trotter | |
251 | 8cd7cb4c | Guido Trotter | <para> |
252 | dd4b1106 | Iustin Pop | The <option>-t</option> options specifies the disk layout type for |
253 | dd4b1106 | Iustin Pop | the instance. The available choices are: |
254 | dd4b1106 | Iustin Pop | <variablelist> |
255 | dd4b1106 | Iustin Pop | <varlistentry> |
256 | dd4b1106 | Iustin Pop | <term>diskless</term> |
257 | dd4b1106 | Iustin Pop | <listitem> |
258 | dd4b1106 | Iustin Pop | <para> |
259 | dd4b1106 | Iustin Pop | This creates an instance with no disks. Its useful for |
260 | dd4b1106 | Iustin Pop | testing only (or other special cases). |
261 | dd4b1106 | Iustin Pop | </para> |
262 | dd4b1106 | Iustin Pop | </listitem> |
263 | dd4b1106 | Iustin Pop | </varlistentry> |
264 | dd4b1106 | Iustin Pop | <varlistentry> |
265 | dd4b1106 | Iustin Pop | <term>plain</term> |
266 | dd4b1106 | Iustin Pop | <listitem> |
267 | dd4b1106 | Iustin Pop | <para>Disk devices will be logical volumes.</para> |
268 | dd4b1106 | Iustin Pop | </listitem> |
269 | dd4b1106 | Iustin Pop | </varlistentry> |
270 | dd4b1106 | Iustin Pop | <varlistentry> |
271 | f69dab6d | Iustin Pop | <term>drbd</term> |
272 | f69dab6d | Iustin Pop | <listitem> |
273 | f69dab6d | Iustin Pop | <para> |
274 | f69dab6d | Iustin Pop | Disk devices will be drbd (version 8.x) on top of lvm |
275 | bd028152 | Iustin Pop | volumes. |
276 | f69dab6d | Iustin Pop | </para> |
277 | f69dab6d | Iustin Pop | </listitem> |
278 | f69dab6d | Iustin Pop | </varlistentry> |
279 | d3b4cf9f | Iustin Pop | <varlistentry> |
280 | d3b4cf9f | Iustin Pop | <term>file</term> |
281 | d3b4cf9f | Iustin Pop | <listitem> |
282 | d3b4cf9f | Iustin Pop | <para>Disk devices will be backed up by files, under the |
283 | d3b4cf9f | Iustin Pop | <filename |
284 | d3b4cf9f | Iustin Pop | class="directory">@RPL_FILE_STORAGE_DIR@</filename>. By |
285 | d3b4cf9f | Iustin Pop | default, each instance will get a directory (as its own |
286 | d3b4cf9f | Iustin Pop | name) under this path, and each disk is stored as |
287 | d3b4cf9f | Iustin Pop | individual files in this (instance-specific) |
288 | d3b4cf9f | Iustin Pop | directory.</para> |
289 | d3b4cf9f | Iustin Pop | </listitem> |
290 | d3b4cf9f | Iustin Pop | </varlistentry> |
291 | dd4b1106 | Iustin Pop | </variablelist> |
292 | dd4b1106 | Iustin Pop | </para> |
293 | dd4b1106 | Iustin Pop | |
294 | dd4b1106 | Iustin Pop | <para> |
295 | a53a1b18 | Michael Hanselmann | The <option>--iallocator</option> option specifies the instance |
296 | a53a1b18 | Michael Hanselmann | allocator plugin to use. If you pass in this option the allocator will |
297 | a53a1b18 | Michael Hanselmann | select nodes for this instance automatically, so you don't need to pass |
298 | a53a1b18 | Michael Hanselmann | them with the <option>-n</option> option. For more information please |
299 | a53a1b18 | Michael Hanselmann | refer to the instance allocator documentation. |
300 | a53a1b18 | Michael Hanselmann | </para> |
301 | a53a1b18 | Michael Hanselmann | |
302 | a53a1b18 | Michael Hanselmann | <para> |
303 | a53a1b18 | Michael Hanselmann | The optional second value of the <option>--node</option> is used for |
304 | d3b4cf9f | Iustin Pop | the drbd template and specifies the remote node. |
305 | c234fe4c | Guido Trotter | </para> |
306 | c234fe4c | Guido Trotter | |
307 | c234fe4c | Guido Trotter | <para> |
308 | 017778ac | Guido Trotter | If you do not want gnt-backup to wait for the disk mirror |
309 | dd4b1106 | Iustin Pop | to be synced, use the <option>--no-wait-for-sync</option> |
310 | dd4b1106 | Iustin Pop | option. |
311 | dd4b1106 | Iustin Pop | </para> |
312 | dd4b1106 | Iustin Pop | |
313 | dd4b1106 | Iustin Pop | <para> |
314 | dd4b1106 | Iustin Pop | Example: |
315 | dd4b1106 | Iustin Pop | <screen> |
316 | d3b4cf9f | Iustin Pop | # gnt-backup import -t plain --disk 0:size=1G -B memory=512 \ |
317 | d3b4cf9f | Iustin Pop | > -n node1.example.com \ |
318 | dd4b1106 | Iustin Pop | > instance3.example.com |
319 | dd4b1106 | Iustin Pop | </screen> |
320 | dd4b1106 | Iustin Pop | </para> |
321 | dd4b1106 | Iustin Pop | |
322 | dd4b1106 | Iustin Pop | </refsect2> |
323 | dd4b1106 | Iustin Pop | |
324 | dd4b1106 | Iustin Pop | <refsect2> |
325 | dd4b1106 | Iustin Pop | <title>LIST</title> |
326 | dd4b1106 | Iustin Pop | |
327 | dd4b1106 | Iustin Pop | <cmdsynopsis> |
328 | dd4b1106 | Iustin Pop | <command>list</command> |
329 | 59885275 | Guido Trotter | <arg>--node=<replaceable>NODE</replaceable></arg> |
330 | dd4b1106 | Iustin Pop | </cmdsynopsis> |
331 | dd4b1106 | Iustin Pop | |
332 | dd4b1106 | Iustin Pop | <para> |
333 | f69dab6d | Iustin Pop | Lists the exports currently available in the default directory |
334 | f69dab6d | Iustin Pop | in all the nodes of the current cluster, or optionally only a |
335 | 59885275 | Guido Trotter | subset of them specified using the <option>--node</option> |
336 | 59885275 | Guido Trotter | option (which can be used multiple times) |
337 | dd4b1106 | Iustin Pop | </para> |
338 | dd4b1106 | Iustin Pop | |
339 | f69dab6d | Iustin Pop | <para> |
340 | f69dab6d | Iustin Pop | Example: |
341 | f69dab6d | Iustin Pop | <screen> |
342 | f69dab6d | Iustin Pop | # gnt-backup list --nodes node1 --nodes node2 |
343 | f69dab6d | Iustin Pop | </screen> |
344 | 949bdabe | Iustin Pop | </para> |
345 | dd4b1106 | Iustin Pop | </refsect2> |
346 | dd4b1106 | Iustin Pop | |
347 | d3b4cf9f | Iustin Pop | <refsect2> |
348 | d3b4cf9f | Iustin Pop | <title>REMOVE</title> |
349 | d3b4cf9f | Iustin Pop | <cmdsynopsis> |
350 | d3b4cf9f | Iustin Pop | <command>remove</command> |
351 | d3b4cf9f | Iustin Pop | <arg choice="req">instance_name</arg> |
352 | d3b4cf9f | Iustin Pop | </cmdsynopsis> |
353 | d3b4cf9f | Iustin Pop | |
354 | d3b4cf9f | Iustin Pop | <para> |
355 | d3b4cf9f | Iustin Pop | Removes the backup for the given instance name, if any. If the |
356 | d3b4cf9f | Iustin Pop | backup was for a deleted instances, it is needed to pass the |
357 | d3b4cf9f | Iustin Pop | <acronym>FQDN</acronym> of the instance, and not only the |
358 | d3b4cf9f | Iustin Pop | short hostname. |
359 | d3b4cf9f | Iustin Pop | </para> |
360 | d3b4cf9f | Iustin Pop | |
361 | d3b4cf9f | Iustin Pop | </refsect2> |
362 | d3b4cf9f | Iustin Pop | |
363 | dd4b1106 | Iustin Pop | </refsect1> |
364 | dd4b1106 | Iustin Pop | |
365 | dd4b1106 | Iustin Pop | &footer; |
366 | dd4b1106 | Iustin Pop | |
367 | dd4b1106 | Iustin Pop | </refentry> |
368 | dd4b1106 | Iustin Pop | |
369 | dd4b1106 | Iustin Pop | <!-- Keep this comment at the end of the file |
370 | dd4b1106 | Iustin Pop | Local variables: |
371 | dd4b1106 | Iustin Pop | mode: sgml |
372 | dd4b1106 | Iustin Pop | sgml-omittag:t |
373 | dd4b1106 | Iustin Pop | sgml-shorttag:t |
374 | dd4b1106 | Iustin Pop | sgml-minimize-attributes:nil |
375 | dd4b1106 | Iustin Pop | sgml-always-quote-attributes:t |
376 | dd4b1106 | Iustin Pop | sgml-indent-step:2 |
377 | dd4b1106 | Iustin Pop | sgml-indent-data:t |
378 | dd4b1106 | Iustin Pop | sgml-parent-document:nil |
379 | dd4b1106 | Iustin Pop | sgml-default-dtd-file:nil |
380 | dd4b1106 | Iustin Pop | sgml-exposed-tags:nil |
381 | dd4b1106 | Iustin Pop | sgml-local-catalogs:nil |
382 | dd4b1106 | Iustin Pop | sgml-local-ecat-files:nil |
383 | dd4b1106 | Iustin Pop | End: |
384 | dd4b1106 | Iustin Pop | --> |