Replication issue

adarguner

New Member
Jan 26, 2024
15
0
1
Hi Everyone,

Im using Proxmox VE 9.0.3. I want to manuel replication trigger. I trying to command is below, But I see error. What is problem? Can you help us? Im happy for help.

Note: I have 3 node our Systems.

Regards.

root@pve02:~# pvesr lis
JobID Target Schedule Rate Enabled
100-0 local/pve01 */15 - yes

root@pve02:~# pvesr run --vmid 100
Unknown option: vmid
400 unable to parse option
pvesr run [OPTIONS]

root@pve02:~# pvesr run --vmid 100-0
Unknown option: vmid
400 unable to parse option
pvesr run [OPTIONS]
root@pve02:~#
 
According to man pvesr it should be --id, not --vmid

Code:
       pvesr run [OPTIONS]

       This method is called by the systemd-timer and executes all (or a specific)
       sync jobs.

       --id [1-9][0-9]{2,8}-\d{1,9}
           Replication Job ID. The ID is composed of a Guest ID and a job number,
           separated by a hyphen, i.e.  <GUEST>-<JOBNUM>.
 
Last edited:
  • Like
Reactions: adarguner
It appears that the vmid option is not available.

https://pve.proxmox.com/pve-docs/pvesr.1.html

pvesr run [OPTIONS]
This method is called by the systemd-timer and executes all (or a specific) sync jobs.
--id [1-9][0-9]{2,8}-\d{1,9}
Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. <GUEST>-<JOBNUM>.

--mail <boolean> (default =0)
Send an email notification in case of a failure.

--verbose <boolean> (default =0)
Print more verbose logs to stdout.
 
According to man pvesr it should be --id, not --vmid

Code:
       pvesr run [OPTIONS]

       This method is called by the systemd-timer and executes all (or a specific)
       sync jobs.

       --id [1-9][0-9]{2,8}-\d{1,9}
           Replication Job ID. The ID is composed of a Guest ID and a job number,
           separated by a hyphen, i.e.  <GUEST>-<JOBNUM>.
Thank you very much.. This is worked.