Error when start a Sync Jobs between Proxmox Backup Server and Remote Proxmox Backup Server

lago

New Member
Dec 9, 2021
9
2
1
44
Hello,

i have a problem to start a sync job between pbs and remote pbs. I setup a job, but when start the job i have a following message:

2022-06-03T12:26:00+02:00: Starting datastore sync job 'tpbs.devsrv.comosoft.de:Storage1:Backup2:s-7010d248-ada3'
2022-06-03T12:26:00+02:00: sync datastore 'Backup2' from 'tpbs.devsrv.comosoft.de/Storage1'
2022-06-03T12:26:00+02:00: found 0 groups to sync (out of 0 total)
2022-06-03T12:26:00+02:00: sync job 'tpbs.devsrv.comosoft.de:Storage1:Backup2:s-7010d248-ada3' end
2022-06-03T12:26:00+02:00: TASK OK
This are setting for sync job
1654252068851.png
This are settings for Group filter:
1654252149835.png

1654252232220.png
What is wrong configure and what i need to change to start sync job between both pbs?
The user bkuser on remote pbs has admin rights:
1654252496064.png

Thank you and best regards
 
is the remote entry configured using the bkuser@pbs user?
 
I didn't mean whether the user exists - but whether the remote entry you are using in the sync job is configured using this user..
 
On remote server i added a user rbckuser who is DatastoreAdmin (all rights)
1654255464913.png

On local Server i use same user to sync job to remote server

1654255531445.png
 
see the docs:
https://pbs.proxmox.com/docs/managing-remotes.html#sync-jobs
for a sync job, you always have two users (or tokens) involved:
  • at the remote side (the source that gets pulled from), remote_user@foo
  • this user needs to be able to access the backups that should be synced (so at least Datastore.Backup + ownership, or higher privileges if you want to sync more than owned backups)
  • this remote user needs to be setup with a remote.cfg entry at the local side
  • at the local side (the target that gets synced to), you have a local_user@bar which owns the sync job (and the synced backup groups)
  • this local user needs access to the remote entry (to allow accessing the remote PBS as 'remote_user@foo')
  • this local user also needs access to the local target datastore (to write groups/snapshots/chunks - at least Datastore.Backup, possibly more depending on the exact configuration of the sync job)
based on your output, your remote.cfg entry is using a user or token that has access to the remote (source) datastore, but not to any backup groups there (or there aren't any).
 
I found why i receive this message and how "fix" this.
First i presented remote proxmox backup server as Storage in Proxmox Cluster Datastore.
Then i have been make a backup of some VM to remote proxmox backup server.
Then I can start the sync task because I already have a group of VMs.

Thank you Fabian.
Have a nice weekend.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!