I have a PBS that, currently, is working fine as a backup server for my PVE node. On that PVE node I have a WindowsVM running Backblaze personal. What I would like to do is backup the PBS to Backblaze through that Windows VM. My plan for accomplishing that:
(Assume that the normal backups are on a datastore called 'backup_ds'
Where this all breaks down for me is mounting the SMB share to PBS:
What this does for me is create /mnt/windows that, from the command line, I have full control over(read/write, add and delete files). However, if I try to use /mnt/windows as a datastore, PBS throws 'Permission denied (os error 13)'. I assume the problem is with how I'm mounting the windows share. Does it need to be mounted with a specific permission and/or user for PBS to properly access it as a datastore?
(Assume that the normal backups are on a datastore called 'backup_ds'
- Mount a share from the Windows VM to /mnt/windows ('windows_ds')on PBS.
- Create a datastore in PBS pointing to /mnt/windows.
- Create a remote in PBS for itself, and create a sync job to sync backup_ds and windows_ds.
Where this all breaks down for me is mounting the SMB share to PBS:
/etc/fstab:
//1.2.3.4/proxmoxbackups /mnt/windows cifs credentials=/etc/samba/creds/.windows,defaults 0 0
output of mount command:
//1.2.3.4/proxmoxbackups on /mnt/windows type cifs (rw,relatime,vers=3.1.1,cache=strict,username=winuser,uid=0,noforceuid,gid=0,noforcegid,addr=1.2.3.4,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)
What this does for me is create /mnt/windows that, from the command line, I have full control over(read/write, add and delete files). However, if I try to use /mnt/windows as a datastore, PBS throws 'Permission denied (os error 13)'. I assume the problem is with how I'm mounting the windows share. Does it need to be mounted with a specific permission and/or user for PBS to properly access it as a datastore?