5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-03-19 18:50:06 +03:00

add qmrestore man page

This commit is contained in:
Dietmar Maurer 2016-04-08 07:30:48 +02:00
parent 7f8858a211
commit a5bb4c40a3
6 changed files with 83 additions and 1 deletions

View File

@ -77,6 +77,7 @@ PVE_ADMIN_GUIDE_SOURCES= \
${PVECM_MAN1_SOURCES} \
${PVEUM_MAN1_SOURCES} \
${QM_MAN1_SOURCES} \
${QMRESTORE_MAN1_SOURCES} \
${PVEAM_SOURCES} \
${VZDUMP_SOURCES} \
${HA_SOURCES} \
@ -125,7 +126,7 @@ all: pve-admin-guide.html
index.html: index.adoc ${PVE_ADMIN_GUIDE_SOURCES}
$(MAKE) NOVIEW=1 pve-admin-guide.pdf pve-admin-guide.html pve-admin-guide.epub
$(MAKE) NOVIEW=1 pvecm.1.html qm.1.html pct.1.html pveam.1.html pvesm.1.html pveum.1.html vzdump.1.html pve-firewall.8.html ha-manager.1.html datacenter.cfg.5.html vm.conf.5.html pct.conf.5.html
$(MAKE) NOVIEW=1 pvecm.1.html qm.1.html qmrestore.1.html pct.1.html pveam.1.html pvesm.1.html pveum.1.html vzdump.1.html pve-firewall.8.html ha-manager.1.html datacenter.cfg.5.html vm.conf.5.html pct.conf.5.html
asciidoc -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}" index.adoc
test -n "$${NOVIEW}" || $(BROWSER) index.html &

View File

@ -22,6 +22,7 @@ include::attributes.txt[]
|===========================================================
| Command name |Download link
| qm | link:qm.1.html[qm.1]
| qmrestore | link:qmrestore.1.html[qmrestore.1]
| pct | link:pct.1.html[pct.1]
| pveam | link:pveam.1.html[pveam.1]
| pvecm | link:pvecm.1.html[pvecm.1]

View File

@ -59,6 +59,14 @@ include::qm.1-synopsis.adoc[]
:leveloffset: 0
*qmrestore* - Restore QemuServer 'vzdump' Backups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:leveloffset: 1
include::qmrestore.1-synopsis.adoc[]
:leveloffset: 0
*pct* - Proxmox Container Toolkit
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -48,6 +48,11 @@ QM_MAN1_SOURCES= \
qm.1-synopsis.adoc \
${PVE_COMMON_DOC_SOURCES}
QMRESTORE_MAN1_SOURCES= \
qmrestore.adoc \
qmrestore.1-synopsis.adoc \
${PVE_COMMON_DOC_SOURCES}
PVEUM_MAN1_SOURCES= \
pveum.adoc \
pveum.1-synopsis.adoc \
@ -95,6 +100,10 @@ qm.1: ${QM_MAN1_SOURCES}
a2x -a docinfo1 -a "manvolnum=1" -a "manversion=Release ${DOCRELEASE}" -f manpage qm.adoc
test -n "$${NOVIEW}" || man -l $@
qmrestore.1: ${QMRESTORE_MAN1_SOURCES}
a2x -a docinfo1 -a "manvolnum=1" -a "manversion=Release ${DOCRELEASE}" -f manpage qmrestore.adoc
test -n "$${NOVIEW}" || man -l $@
pvecm.1: ${PVECM_MAN1_SOURCES}
a2x -a docinfo1 -a "manvolnum=1" -a "manversion=Release ${DOCRELEASE}" -f manpage pvecm.adoc
test -n "$${NOVIEW}" || man -l $@

30
qmrestore.1-synopsis.adoc Normal file
View File

@ -0,0 +1,30 @@
*qmrestore* `help`
*qmrestore* `<archive> <vmid>` `[OPTIONS]`
Restore QemuServer vzdump backups.
`<archive>` `string` ::
The backup file. You can pass '-' to read from standard input.
`<vmid>` `integer (1 - N)` ::
The (unique) ID of the VM.
`-force` `boolean` ::
Allow to overwrite existing VM.
`-pool` `string` ::
Add the VM to the specified pool.
`-storage` `string` ::
Default storage.
`-unique` `boolean` ::
Assign a unique random ethernet address.

33
qmrestore.adoc Normal file
View File

@ -0,0 +1,33 @@
ifdef::manvolnum[]
PVE({manvolnum})
================
include::attributes.txt[]
NAME
----
qmrestore - Restore QemuServer 'vzdump' Backups
SYNOPSYS
--------
include::qmrestore.1-synopsis.adoc[]
DESCRIPTION
-----------
endif::manvolnum[]
ifndef::manvolnum[]
Restore Virtual Machines
========================
include::attributes.txt[]
endif::manvolnum[]
Restore the QemuServer vzdump backup 'archive' to virtual machine
'vmid'. Volumes are allocated on the original storage if there is no
'storage' specified.
ifdef::manvolnum[]
include::pve-copyright.adoc[]
endif::manvolnum[]