public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dietmar Maurer <dietmar@proxmox.com>
To: Proxmox VE user list <pve-user@lists.proxmox.com>,
	Lindsay Mathieson <lindsay.mathieson@gmail.com>
Subject: Re: [PVE-User] Backup Beta - restore failing
Date: Sat, 11 Jul 2020 08:33:12 +0200 (CEST)	[thread overview]
Message-ID: <643258476.506.1594449193539@webmail.proxmox.com> (raw)
In-Reply-To: <5ff0ca95-a2fe-7d89-3300-0a872dd7bddf@gmail.com>


> Have backups working fine, performance is ok and the diff backups are 
> very fast. However can't get a restore to work, get this error in the 
> web gui:
> 
> /usr/bin/proxmox-backup-client restore '--crypt-mode=none' 
> vm/311/2020-07-11T00:57:52Z index.json 
> /var/tmp/vzdumptmp121335/index.json --repository 
> proxmox@pbs@192.168.5.49:test' failed: exit code 255
> 
> 
> If I run the same command from the console, I get:
> 
>     /usr/bin/proxmox-backup-client restore '--crypt-mode=none'
>     vm/311/2020-07-11T00:57:52Z index.json
>     /var/tmp/vzdumptmp121335/index.json --repository
>     proxmox@pbs@192.168.5.49
>     Error: parameter verification errors
> 
>     parameter 'repository': value does not match the regex pattern
> 
> 
> proxmox@pbs has DatastorePowerUser rights.

Seem there is a problem how we compute the repository - the datastore part is missing.
It should look like <user@pbs@<IP>:<datastore>. For example, if your datastore
name is 'store1':

--repository proxmox@pbs@192.168.5.49:store1

You can test easily if that works with:

# proxmox-backup-client snapshots --repository proxmox@pbs@192.168.5.49:store1


Please can you show post the pbs storage configuration?




  reply	other threads:[~2020-07-11  6:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-11  5:05 Lindsay Mathieson
2020-07-11  6:33 ` Dietmar Maurer [this message]
2020-07-11  7:09   ` Lindsay Mathieson
2020-07-11  8:28     ` Dietmar Maurer
2020-07-11  9:55       ` Dietmar Maurer
2020-07-11 12:47       ` Lindsay Mathieson
2020-07-11  7:17   ` Lindsay Mathieson
2020-07-11  8:17     ` Lindsay Mathieson
2020-07-11  8:24       ` Thomas Lamprecht
2020-07-11 12:46         ` Lindsay Mathieson
2020-07-11 13:01           ` Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=643258476.506.1594449193539@webmail.proxmox.com \
    --to=dietmar@proxmox.com \
    --cc=lindsay.mathieson@gmail.com \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal