Moving backups from OLD PBS to NEW PBS permission issues

NUC Admin

Member
Aug 22, 2022
8
2
8
Hello all, first time poster, please let me know, if I am in the right place to post this.

I have an old PBS setup, VM with drive attached.

I made a new physical server with more Drives and wanted to move the old backups to the NEW PBS

PBS OLD - v 2.0-4
PBS NEW - v2.2-1

Tried -
I have tried to change the permissions on the /mnt/datastore/*datastorename*

I have setup a Remote Job to sync from the OLD PBS to the NEW PBS and get the following report



2022-08-25T13:40:25-04:00: sync datastore 'NUC_PBS' from 'PBSOLD/NUC_PBS'
2022-08-25T13:40:25-04:00: Could not query remote for namespaces (404) -> temporarily switching to backwards-compat mode
2022-08-25T13:40:25-04:00: Either make backwards-compat mode explicit (max-depth == 0) or upgrade remote system.
2022-08-25T13:40:25-04:00: ----
2022-08-25T13:40:25-04:00: Syncing datastore NUC_PBS, root namespace into datastore NUC_PBS, root namespace
2022-08-25T13:40:25-04:00: found 23 groups to sync
2022-08-25T13:40:25-04:00: percentage done: 4.35% (1/23 groups)
2022-08-25T13:40:25-04:00: sync group ct/103 failed - Permission denied (os error 13)
2022-08-25T13:40:25-04:00: percentage done: 4.42% (1/23 groups, 1/62 snapshots in group #2)
2022-08-25T13:40:25-04:00: sync group ct/104 failed - Permission denied (os error 13)
2022-08-25T13:40:25-04:00: percentage done: 8.77% (2/23 groups, 1/59 snapshots in group #3)
2022-08-25T13:40:25-04:00: sync group ct/106 failed - Permission denied (os error 13)
2022-08-25T13:40:25-04:00: percentage done: 17.39% (4/23 groups)
2022-08-25T13:40:25-04:00: sync group ct/130 failed - Permission denied (os error 13)
2022-08-25T13:40:25-04:00: percentage done: 17.46% (4/23 groups, 1/63 snapshots in group #5)
2022-08-25T13:40:25-04:00: sync group ct/251 failed - Permission denied (os error 13)
2022-08-25T13:40:25-04:00: percentage done: 26.09% (6/23 groups)
2022-08-25T13:40:25-04:00: sync group ct/252 failed - Permission denied (os error 13)
2022-08-25T13:40:25-04:00: percentage done: 26.16% (6/23 groups, 1/62 snapshots in group #7)
2022-08-25T13:40:25-04:00: sync group ct/300 failed - Permission denied (os error 13)
2022-08-25T13:40:25-04:00: percentage done: 30.56% (7/23 groups, 1/35 snapshots in group #8)
2022-08-25T13:40:25-04:00: sync group ct/606 failed - Permission denied (os error 13)
2022-08-25T13:40:25-04:00: percentage done: 34.85% (8/23 groups, 1/62 snapshots in group #9)
2022-08-25T13:40:25-04:00: sync group vm/100 failed - Permission denied (os error 13)
2022-08-25T13:40:25-04:00: percentage done: 39.20% (9/23 groups, 1/64 snapshots in group #10)
2022-08-25T13:40:25-04:00: sync group vm/101 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: percentage done: 43.55% (10/23 groups, 1/63 snapshots in group #11)
2022-08-25T13:40:26-04:00: sync group vm/102 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: percentage done: 47.90% (11/23 groups, 1/63 snapshots in group #12)
2022-08-25T13:40:26-04:00: sync group vm/103 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: percentage done: 52.26% (12/23 groups, 1/52 snapshots in group #13)
2022-08-25T13:40:26-04:00: sync group vm/105 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: percentage done: 56.60% (13/23 groups, 1/54 snapshots in group #14)
2022-08-25T13:40:26-04:00: sync group vm/107 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: percentage done: 60.91% (14/23 groups, 1/115 snapshots in group #15)
2022-08-25T13:40:26-04:00: sync group vm/108 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: percentage done: 65.30% (15/23 groups, 1/56 snapshots in group #16)
2022-08-25T13:40:26-04:00: sync group vm/110 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: percentage done: 71.74% (16/23 groups, 1/2 snapshots in group #17)
2022-08-25T13:40:26-04:00: sync group vm/115 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: percentage done: 78.26% (18/23 groups)
2022-08-25T13:40:26-04:00: sync group vm/200 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: percentage done: 82.61% (19/23 groups)
2022-08-25T13:40:26-04:00: sync group vm/201 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: percentage done: 86.96% (20/23 groups)
2022-08-25T13:40:26-04:00: sync group vm/202 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: percentage done: 87.08% (20/23 groups, 1/35 snapshots in group #21)
2022-08-25T13:40:26-04:00: sync group vm/250 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: percentage done: 91.43% (21/23 groups, 1/35 snapshots in group #22)
2022-08-25T13:40:26-04:00: sync group vm/500 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: percentage done: 95.78% (22/23 groups, 1/34 snapshots in group #23)
2022-08-25T13:40:26-04:00: sync group vm/502 failed - Permission denied (os error 13)
2022-08-25T13:40:26-04:00: TASK ERROR: sync failed with some errors.

Please let me know, if I missed anything

Thanks,
 

Attachments

  • PBS 1 .JPG
    PBS 1 .JPG
    17.5 KB · Views: 3
  • PBS 2.JPG
    PBS 2.JPG
    39.9 KB · Views: 3
I have tried to change the permissions on the /mnt/datastore/*datastorename*
what are the permissions now? the datastore should belong to the user/group 'backup'
 
what are the permissions now? the datastore should belong to the user/group 'backup'
Good morning, I think a few things went wrong, the host name and the datastore were the same, I moved some files from the old PBS to the new.

I am not sure what happened, but I created a new PBS machine different host name and datastore.

Did a remote/Sync job and currently copying the files over
 

Attachments

  • PBS Sync.JPG
    PBS Sync.JPG
    116.9 KB · Views: 10
  • Like
Reactions: dcsapak
In my case, I just changed the user permission from "DatastoreBackup" to "Admin" and it worked.

Versions:
PBS OLD: 1.1-13
PBS New: 3.1-2