From cbdc2170b4223ca46976f630ed5adbb65b148ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 16 Oct 2017 03:09:10 +0200 Subject: [PATCH] tools: clarify that qvm-backup needs absolute path Fixes QubesOS/qubes-issues#3066 --- doc/manpages/qvm-backup.rst | 6 +++--- qubesadmin/tools/qvm_backup.py | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/manpages/qvm-backup.rst b/doc/manpages/qvm-backup.rst index e60c389..04317f2 100644 --- a/doc/manpages/qvm-backup.rst +++ b/doc/manpages/qvm-backup.rst @@ -66,9 +66,9 @@ Options Arguments --------- -The first positional parameter is the backup location (directory path, or -command to pipe backup to). After that you may specify the qubes you'd like to -backup. If not specified, all qubes are included. +The first positional parameter is the backup location (absolute directory path, +or command to pipe backup to). After that you may specify the qubes you'd +like to backup. If not specified, all qubes are included. Authors ------- diff --git a/qubesadmin/tools/qvm_backup.py b/qubesadmin/tools/qvm_backup.py index 1953305..0535dc1 100644 --- a/qubesadmin/tools/qvm_backup.py +++ b/qubesadmin/tools/qvm_backup.py @@ -77,7 +77,8 @@ no_profile.add_argument('--save-profile', action='store', no_profile.add_argument("backup_location", action="store", default=None, nargs='?', - help="Backup location (directory path, or command to pipe backup to)") + help="Backup location (absolute directory path, " + "or command to pipe backup to)") no_profile.add_argument("vms", nargs="*", action=qubesadmin.tools.VmNameAction, help="Backup only those VMs")