PBS sync job to local usb drive failed

SebastianHenn

New Member
Aug 5, 2022
4
1
3
Hi,
I used this post to create a local sync to an external USB Drive: https://forum.proxmox.com/threads/external-pbs-copy.78215/.
Everything worked fine, until I started the sync job. I always get this error:
Code:
2023-01-21T09:35:44+01:00: Starting datastore sync job 'localhost:BACKUP:USB::s-f7628ce3-dc2f'
2023-01-21T09:35:44+01:00: sync datastore 'USB' from 'localhost/BACKUP'
2023-01-21T09:35:44+01:00: ----
2023-01-21T09:35:44+01:00: Syncing datastore 'BACKUP', root namespace into datastore 'USB', root namespace
2023-01-21T09:35:44+01:00: found 5 groups to sync
2023-01-21T09:35:44+01:00: sync group ct/100 failed - group lock failed: Permission denied (os error 13)
2023-01-21T09:35:44+01:00: sync group ct/101 failed - group lock failed: Permission denied (os error 13)
2023-01-21T09:35:44+01:00: sync group ct/102 failed - group lock failed: Permission denied (os error 13)
2023-01-21T09:35:44+01:00: sync group ct/103 failed - group lock failed: Permission denied (os error 13)
2023-01-21T09:35:44+01:00: sync group ct/104 failed - group lock failed: Permission denied (os error 13)
2023-01-21T09:35:44+01:00: Finished syncing namespace , current progress: 4 groups, 0 snapshots
2023-01-21T09:35:45+01:00: TASK ERROR: sync failed with some errors.
 
Hi, it looks like PBS cannot create directories on your USB drive. Can you check whether the backup user has write access to /path/to/your/mounted/usb/ns and its subdirectories?
 

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!