proxmox cli <sync-job> command error

dermichel

New Member
Nov 12, 2024
10
1
3
Saarland
Nothing super critical, but i noticed that

root@pbs ~ # proxmox-backup-manager sync-job list

didn't list my sync jobs, but show the configuration when i call it wiith "show <name>"

root@pbs ~ # proxmox-backup-manager sync-job show test_sync
┌─────────────────┬───────────────────────────────────────┐
│ Name │ Value │
╞═════════════════╪═══════════════════════════════════════╡
│ id │ test_sync │
├─────────────────┼───────────────────────────────────────┤
│ remote-store │ static01 │
├─────────────────┼───────────────────────────────────────┤
│ store │ backup │
├─────────────────┼───────────────────────────────────────┤
 
Hi,
please post the output of cat /etc/proxmox-backup/sync.cfg and cat /etc/proxmox-backup/datastore.cfg, thanks.
 
root@pbs ~ # cat /etc/proxmox-backup/sync.cfg
sync: test_sync
comment Test_Sync
encrypted-only false
ns
owner root@pam
remote test_pbs01
remote-ns backup1
remote-store static1
remove-vanished false
schedule 04:15
store backup
sync-direction push
verified-only false
root@pbs ~ # cat /etc/proxmox-backup/datastore.cfg
datastore: backup
gc-schedule sat 19:15
notification-mode legacy-sendmail
notify prune=always
notify-user backuptest@pam
path /mnt/datastore/backup
 
Ah, it is a push sync job. The default here is to only show pull jobs (for backwards compatibility), so to list all you will have to use
Code:
proxmox-backup-manager sync-job list --sync-direction all
 
Ah! Ok, i write a little script for wake on lan a storage and push/sync the backup and shutdown the storage.... tnx and pse delete the post...
 
Ah! Ok, i write a little script for wake on lan a storage and push/sync the backup and shutdown the storage.... tnx and pse delete the post...
No, keeping the post up helps others having the same question or issue, so let's keep this online ;)