prlbackup 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/man/prlbackup.1 ADDED
@@ -0,0 +1,168 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "PRLBACKUP" "1" "May 2012" "" "PRLBACKUP MANUAL"
5
+ .
6
+ .SH "NAME"
7
+ \fBprlbackup\fR \- an awesome backup tool for Parallels Server Virtual Machines
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBprlbackup\fR \fB\-h\fR|\fB\-\-help\fR
11
+ .
12
+ .br
13
+ \fBprlbackup\fR [\fIOPTIONS\fR\.\.\.] \fIvm_id|vm_name\fR\.\.\.
14
+ .
15
+ .br
16
+ \fBprlbackup\fR [\fIOPTIONS\fR\.\.\.] \fB\-a\fR|\fB\-\-all\fR
17
+ .
18
+ .br
19
+ \fBprlbackup\fR [\fIOPTIONS\fR\.\.\.] \fB\-a\fR|\fB\-\-all\fR \fB\-e\fR|\fB\-\-exclude\fR \fIvm_id|vm_name\fR\.\.\.
20
+ .
21
+ .SH "DESCRIPTION"
22
+ \fBprlbackup\fR simplifies the backup of one or multiple Virtual Machines (VM) running on Parallels Server by stoping them during backup and deleting old backups on demand\. A working installation of Parallels Server is required\.
23
+ .
24
+ .P
25
+ \fBprlbackup\fR was tested under Parallels Server for Mac 4\.0 (PSfM)\.
26
+ .
27
+ .SH "OPTIONS"
28
+ .
29
+ .TP
30
+ \fB\-h\fR, \fB\-\-help\fR
31
+ Display a short help\.
32
+ .
33
+ .TP
34
+ \fB\-a\fR, \fB\-\-all\fR
35
+ Backup all virtual machines which are registered in Parallels Server\.
36
+ .
37
+ .TP
38
+ \fB\-e\fR, \fB\-\-exclude\fR
39
+ Backup all but the given virtual machines (only applicable in combination with option \fB\-\-all\fR!)\.
40
+ .
41
+ .TP
42
+ \fB\-f\fR, \fB\-\-full\fR
43
+ Create full backups (by default incremental backups are created)\. Note that the first backup for a VM is always a full backup despide of this option\.
44
+ .
45
+ .TP
46
+ \fB\-v\fR, \fB\-\-verbose\fR
47
+ Show commands with an impact on the VMs prior to their execution\.
48
+ .
49
+ .TP
50
+ \fB\-n\fR, \fB\-\-dry\-run\fR
51
+ Don\'t do anything with the VMs, just pretend to\.
52
+ .
53
+ .TP
54
+ \fB\-k\fR \fInumber_of_full_backups\fR, \fB\-\-keep\-only\fR \fInumber_of_full_backups\fR
55
+ Delete the oldest full backup(s) until only \fInumber_of_full_backups\fR exist\. This cleanup action will be executed for each VM right after creating the corresponding backup but only if the backup was successfully created\. Incremental backups are automatically deleted by Parallels Server when their full backup is deleted\.
56
+ .
57
+ .SH "EXAMPLES"
58
+ Display short help:
59
+ .
60
+ .IP "" 4
61
+ .
62
+ .nf
63
+
64
+ $ prlbackup \-\-help
65
+ .
66
+ .fi
67
+ .
68
+ .IP "" 0
69
+ .
70
+ .P
71
+ Backup VMs by name:
72
+ .
73
+ .IP "" 4
74
+ .
75
+ .nf
76
+
77
+ $ prlbackup Alpha Bravo Charlie
78
+ .
79
+ .fi
80
+ .
81
+ .IP "" 0
82
+ .
83
+ .P
84
+ Backup a VM by id:
85
+ .
86
+ .IP "" 4
87
+ .
88
+ .nf
89
+
90
+ $ prlbackup "{97351580\-afd7\-4aff\-9960\-814196b28e37}"
91
+ .
92
+ .fi
93
+ .
94
+ .IP "" 0
95
+ .
96
+ .P
97
+ Create full backups of all VMs
98
+ .
99
+ .IP "" 4
100
+ .
101
+ .nf
102
+
103
+ $ prlbackup \-\-full \-\-all
104
+ .
105
+ .fi
106
+ .
107
+ .IP "" 0
108
+ .
109
+ .P
110
+ Backup all but not the given VMs:
111
+ .
112
+ .IP "" 4
113
+ .
114
+ .nf
115
+
116
+ $ prlbackup \-\-all \-\-exclude Delta Echo
117
+ .
118
+ .fi
119
+ .
120
+ .IP "" 0
121
+ .
122
+ .P
123
+ Show which commands would have been run when backing up all VMs:
124
+ .
125
+ .IP "" 4
126
+ .
127
+ .nf
128
+
129
+ $ prlbackup \-\-dry\-run \-\-verbose \-\-all
130
+ .
131
+ .fi
132
+ .
133
+ .IP "" 0
134
+ .
135
+ .P
136
+ Create the weekly full backup for all VMs and delete backups older than four weeks:
137
+ .
138
+ .IP "" 4
139
+ .
140
+ .nf
141
+
142
+ $ prlbackup \-\-all \-\-keep\-only 5
143
+ .
144
+ .fi
145
+ .
146
+ .IP "" 0
147
+ .
148
+ .SH "SEE ALSO"
149
+ .
150
+ .IP "\(bu" 4
151
+ prlctl(8)
152
+ .
153
+ .IP "\(bu" 4
154
+ prlbackup\'s homepage \fIhttps://github\.com/bjoernalbers/prlbackup\fR
155
+ .
156
+ .IP "" 0
157
+ .
158
+ .SH "COPYRIGHT"
159
+ Copyright (c) 2012 Bjoern Albers (\fIbjoernalbers@googlemail\.com\fR)
160
+ .
161
+ .P
162
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
163
+ .
164
+ .P
165
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software\.
166
+ .
167
+ .P
168
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE\.
@@ -0,0 +1,195 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv='content-type' value='text/html;charset=utf8'>
5
+ <meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
6
+ <title>prlbackup(1) - an awesome backup tool for Parallels Server Virtual Machines</title>
7
+ <style type='text/css' media='all'>
8
+ /* style: man */
9
+ body#manpage {margin:0}
10
+ .mp {max-width:100ex;padding:0 9ex 1ex 4ex}
11
+ .mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
12
+ .mp h2 {margin:10px 0 0 0}
13
+ .mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
14
+ .mp h3 {margin:0 0 0 4ex}
15
+ .mp dt {margin:0;clear:left}
16
+ .mp dt.flush {float:left;width:8ex}
17
+ .mp dd {margin:0 0 0 9ex}
18
+ .mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
19
+ .mp pre {margin-bottom:20px}
20
+ .mp pre+h2,.mp pre+h3 {margin-top:22px}
21
+ .mp h2+pre,.mp h3+pre {margin-top:5px}
22
+ .mp img {display:block;margin:auto}
23
+ .mp h1.man-title {display:none}
24
+ .mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
25
+ .mp h2 {font-size:16px;line-height:1.25}
26
+ .mp h1 {font-size:20px;line-height:2}
27
+ .mp {text-align:justify;background:#fff}
28
+ .mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
29
+ .mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
30
+ .mp u {text-decoration:underline}
31
+ .mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
32
+ .mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
33
+ .mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
34
+ .mp b.man-ref {font-weight:normal;color:#434241}
35
+ .mp pre {padding:0 4ex}
36
+ .mp pre code {font-weight:normal;color:#434241}
37
+ .mp h2+pre,h3+pre {padding-left:0}
38
+ ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
39
+ ol.man-decor {width:100%}
40
+ ol.man-decor li.tl {text-align:left}
41
+ ol.man-decor li.tc {text-align:center;letter-spacing:4px}
42
+ ol.man-decor li.tr {text-align:right;float:right}
43
+ </style>
44
+ <style type='text/css' media='all'>
45
+ /* style: toc */
46
+ .man-navigation {display:block !important;position:fixed;top:0;left:113ex;height:100%;width:100%;padding:48px 0 0 0;border-left:1px solid #dbdbdb;background:#eee}
47
+ .man-navigation a,.man-navigation a:hover,.man-navigation a:link,.man-navigation a:visited {display:block;margin:0;padding:5px 2px 5px 30px;color:#999;text-decoration:none}
48
+ .man-navigation a:hover {color:#111;text-decoration:underline}
49
+ </style>
50
+ </head>
51
+ <!--
52
+ The following styles are deprecated and will be removed at some point:
53
+ div#man, div#man ol.man, div#man ol.head, div#man ol.man.
54
+
55
+ The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
56
+ .man-navigation should be used instead.
57
+ -->
58
+ <body id='manpage'>
59
+ <div class='mp' id='man'>
60
+
61
+ <div class='man-navigation' style='display:none'>
62
+ <a href="#NAME">NAME</a>
63
+ <a href="#SYNOPSIS">SYNOPSIS</a>
64
+ <a href="#DESCRIPTION">DESCRIPTION</a>
65
+ <a href="#OPTIONS">OPTIONS</a>
66
+ <a href="#EXAMPLES">EXAMPLES</a>
67
+ <a href="#SEE-ALSO">SEE ALSO</a>
68
+ <a href="#COPYRIGHT">COPYRIGHT</a>
69
+ </div>
70
+
71
+ <ol class='man-decor man-head man head'>
72
+ <li class='tl'>prlbackup(1)</li>
73
+ <li class='tc'>PRLBACKUP MANUAL</li>
74
+ <li class='tr'>prlbackup(1)</li>
75
+ </ol>
76
+
77
+ <h2 id="NAME">NAME</h2>
78
+ <p class="man-name">
79
+ <code>prlbackup</code> - <span class="man-whatis">an awesome backup tool for Parallels Server Virtual Machines</span>
80
+ </p>
81
+
82
+ <h2 id="SYNOPSIS">SYNOPSIS</h2>
83
+
84
+ <p><code>prlbackup</code> <code>-h</code>|<code>--help</code><br />
85
+ <code>prlbackup</code> [<var>OPTIONS</var>...] <var>vm_id|vm_name</var>...<br />
86
+ <code>prlbackup</code> [<var>OPTIONS</var>...] <code>-a</code>|<code>--all</code><br />
87
+ <code>prlbackup</code> [<var>OPTIONS</var>...] <code>-a</code>|<code>--all</code> <code>-e</code>|<code>--exclude</code> <var>vm_id|vm_name</var>...</p>
88
+
89
+ <h2 id="DESCRIPTION">DESCRIPTION</h2>
90
+
91
+ <p><code>prlbackup</code> simplifies the backup of one or multiple Virtual Machines
92
+ (VM) running on Parallels Server by stoping them during backup and
93
+ deleting old backups on demand. A working installation of Parallels
94
+ Server is required.</p>
95
+
96
+ <p><code>prlbackup</code> was tested under Parallels Server for Mac 4.0 (PSfM).</p>
97
+
98
+ <h2 id="OPTIONS">OPTIONS</h2>
99
+
100
+ <dl>
101
+ <dt><code>-h</code>, <code>--help</code></dt><dd><p>Display a short help.</p></dd>
102
+ <dt><code>-a</code>, <code>--all</code></dt><dd><p>Backup all virtual machines which are registered in Parallels Server.</p></dd>
103
+ <dt><code>-e</code>, <code>--exclude</code></dt><dd><p>Backup all but the given virtual machines (only applicable in
104
+ combination with option <code>--all</code>!).</p></dd>
105
+ <dt><code>-f</code>, <code>--full</code></dt><dd><p>Create full backups (by default incremental backups are created).
106
+ Note that the first backup for a VM is always a full backup despide
107
+ of this option.</p></dd>
108
+ <dt><code>-v</code>, <code>--verbose</code></dt><dd><p>Show commands with an impact on the VMs prior to their execution.</p></dd>
109
+ <dt><code>-n</code>, <code>--dry-run</code></dt><dd><p>Don't do anything with the VMs, just pretend to.</p></dd>
110
+ <dt><code>-k</code> <var>number_of_full_backups</var>, <code>--keep-only</code> <var>number_of_full_backups</var></dt><dd><p>Delete the oldest full backup(s) until only <var>number_of_full_backups</var> exist.
111
+ This cleanup action will be executed for each VM right after creating the
112
+ corresponding backup but only if the backup was successfully created.
113
+ Incremental backups are automatically deleted by Parallels Server when their
114
+ full backup is deleted.</p></dd>
115
+ </dl>
116
+
117
+
118
+ <h2 id="EXAMPLES">EXAMPLES</h2>
119
+
120
+ <p>Display short help:</p>
121
+
122
+ <pre><code>$ prlbackup --help
123
+ </code></pre>
124
+
125
+ <p>Backup VMs by name:</p>
126
+
127
+ <pre><code>$ prlbackup Alpha Bravo Charlie
128
+ </code></pre>
129
+
130
+ <p>Backup a VM by id:</p>
131
+
132
+ <pre><code>$ prlbackup "{97351580-afd7-4aff-9960-814196b28e37}"
133
+ </code></pre>
134
+
135
+ <p>Create full backups of all VMs</p>
136
+
137
+ <pre><code>$ prlbackup --full --all
138
+ </code></pre>
139
+
140
+ <p>Backup all but not the given VMs:</p>
141
+
142
+ <pre><code>$ prlbackup --all --exclude Delta Echo
143
+ </code></pre>
144
+
145
+ <p>Show which commands would have been run when backing up all VMs:</p>
146
+
147
+ <pre><code>$ prlbackup --dry-run --verbose --all
148
+ </code></pre>
149
+
150
+ <p>Create the weekly full backup for all VMs and delete backups older than four weeks:</p>
151
+
152
+ <pre><code>$ prlbackup --all --keep-only 5
153
+ </code></pre>
154
+
155
+ <h2 id="SEE-ALSO">SEE ALSO</h2>
156
+
157
+ <ul>
158
+ <li><span class="man-ref">prlctl<span class="s">(8)</span></span></li>
159
+ <li><a href="https://github.com/bjoernalbers/prlbackup">prlbackup's homepage</a></li>
160
+ </ul>
161
+
162
+
163
+ <h2 id="COPYRIGHT">COPYRIGHT</h2>
164
+
165
+ <p>Copyright (c) 2012 Bjoern Albers (<a href="&#x6d;&#97;&#x69;&#x6c;&#116;&#111;&#58;&#98;&#x6a;&#111;&#101;&#114;&#110;&#x61;&#x6c;&#x62;&#x65;&#x72;&#115;&#x40;&#x67;&#111;&#111;&#x67;&#108;&#x65;&#109;&#x61;&#x69;&#x6c;&#x2e;&#99;&#111;&#109;" data-bare-link="true">&#98;&#106;&#x6f;&#101;&#114;&#110;&#97;&#108;&#98;&#101;&#114;&#115;&#64;&#x67;&#x6f;&#111;&#103;&#108;&#x65;&#109;&#x61;&#x69;&#x6c;&#x2e;&#x63;&#111;&#x6d;</a>)</p>
166
+
167
+ <p>Permission is hereby granted, free of charge, to any person obtaining
168
+ a copy of this software and associated documentation files (the
169
+ "Software"), to deal in the Software without restriction, including
170
+ without limitation the rights to use, copy, modify, merge, publish,
171
+ distribute, sublicense, and/or sell copies of the Software, and to
172
+ permit persons to whom the Software is furnished to do so, subject to
173
+ the following conditions:</p>
174
+
175
+ <p>The above copyright notice and this permission notice shall be
176
+ included in all copies or substantial portions of the Software.</p>
177
+
178
+ <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
179
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
180
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
181
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
182
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
183
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
184
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
185
+
186
+
187
+ <ol class='man-decor man-foot man foot'>
188
+ <li class='tl'></li>
189
+ <li class='tc'>May 2012</li>
190
+ <li class='tr'>prlbackup(1)</li>
191
+ </ol>
192
+
193
+ </div>
194
+ </body>
195
+ </html>
@@ -0,0 +1,107 @@
1
+ prlbackup(1) -- an awesome backup tool for Parallels Server Virtual Machines
2
+ ============================================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `prlbackup` `-h`|`--help`<br>
7
+ `prlbackup` [<OPTIONS>...] <vm_id|vm_name>...<br>
8
+ `prlbackup` [<OPTIONS>...] `-a`|`--all`<br>
9
+ `prlbackup` [<OPTIONS>...] `-a`|`--all` `-e`|`--exclude` <vm_id|vm_name>...
10
+
11
+ ## DESCRIPTION
12
+
13
+ `prlbackup` simplifies the backup of one or multiple Virtual Machines
14
+ (VM) running on Parallels Server by stoping them during backup and
15
+ deleting old backups on demand. A working installation of Parallels
16
+ Server is required.
17
+
18
+ `prlbackup` was tested under Parallels Server for Mac 4.0 (PSfM).
19
+
20
+ ## OPTIONS
21
+
22
+ * `-h`, `--help`:
23
+ Display a short help.
24
+
25
+ * `-a`, `--all`:
26
+ Backup all virtual machines which are registered in Parallels Server.
27
+
28
+ * `-e`, `--exclude`:
29
+ Backup all but the given virtual machines (only applicable in
30
+ combination with option `--all`!).
31
+
32
+ * `-f`, `--full`:
33
+ Create full backups (by default incremental backups are created).
34
+ Note that the first backup for a VM is always a full backup despide
35
+ of this option.
36
+
37
+ * `-v`, `--verbose`:
38
+ Show commands with an impact on the VMs prior to their execution.
39
+
40
+ * `-n`, `--dry-run`:
41
+ Don't do anything with the VMs, just pretend to.
42
+
43
+ * `-k` <number_of_full_backups>, `--keep-only` <number_of_full_backups>:
44
+ Delete the oldest full backup(s) until only <number_of_full_backups> exist.
45
+ This cleanup action will be executed for each VM right after creating the
46
+ corresponding backup but only if the backup was successfully created.
47
+ Incremental backups are automatically deleted by Parallels Server when their
48
+ full backup is deleted.
49
+
50
+ ## EXAMPLES
51
+
52
+ Display short help:
53
+
54
+ $ prlbackup --help
55
+
56
+ Backup VMs by name:
57
+
58
+ $ prlbackup Alpha Bravo Charlie
59
+
60
+ Backup a VM by id:
61
+
62
+ $ prlbackup "{97351580-afd7-4aff-9960-814196b28e37}"
63
+
64
+ Create full backups of all VMs
65
+
66
+ $ prlbackup --full --all
67
+
68
+ Backup all but not the given VMs:
69
+
70
+ $ prlbackup --all --exclude Delta Echo
71
+
72
+ Show which commands would have been run when backing up all VMs:
73
+
74
+ $ prlbackup --dry-run --verbose --all
75
+
76
+ Create the weekly full backup for all VMs and delete backups older than four weeks:
77
+
78
+ $ prlbackup --all --keep-only 5
79
+
80
+ ## SEE ALSO
81
+
82
+ * prlctl(8)
83
+ * [prlbackup's homepage](https://github.com/bjoernalbers/prlbackup)
84
+
85
+ ## COPYRIGHT
86
+
87
+ Copyright (c) 2012 Bjoern Albers (<bjoernalbers@googlemail.com>)
88
+
89
+ Permission is hereby granted, free of charge, to any person obtaining
90
+ a copy of this software and associated documentation files (the
91
+ "Software"), to deal in the Software without restriction, including
92
+ without limitation the rights to use, copy, modify, merge, publish,
93
+ distribute, sublicense, and/or sell copies of the Software, and to
94
+ permit persons to whom the Software is furnished to do so, subject to
95
+ the following conditions:
96
+
97
+ The above copyright notice and this permission notice shall be
98
+ included in all copies or substantial portions of the Software.
99
+
100
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
101
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
102
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
103
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
104
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
105
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
106
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
107
+