zenon1823
Explorer
- Joined
- Nov 13, 2018
- Messages
- 66
I don't know if this is a VMware issue or a TrueNAS permission issue so i thought id ask for some thoughts. Cause I'm running out.
I'm trying to run a backup from my VCSA to TrueNAS Scale 22.12.0
The dataset's owner and group are both root
I'm running the job as root over SCP
The backup runs for a few mins and transfers about 600MB (i see the files being created in the Vcenter folder) then the backup fails with the following error and then it deletes all the files.
I don't know why its trying to make them read-only but is there a TrueNASpermission reason why it wouldn't be able to chmod those files. I figure if its running as root and root is the dataset owner is should be able to do whatever it wants no?
(PS root is not the intended user in practice, I'm just trying to get it working before moving to a least privileged model)
I'm trying to run a backup from my VCSA to TrueNAS Scale 22.12.0
The dataset's owner and group are both root
I'm running the job as root over SCP
The backup runs for a few mins and transfers about 600MB (i see the files being created in the Vcenter folder) then the backup fails with the following error and then it deletes all the files.
I don't know why its trying to make them read-only but is there a TrueNASpermission reason why it wouldn't be able to chmod those files. I figure if its running as root and root is the dataset owner is should be able to do whatever it wants no?
(PS root is not the intended user in practice, I'm just trying to get it working before moving to a least privileged model)
Code:
2023-02-17T01:49:58.25 [MainProcess:PID-39241] ERROR: BackupManager encountered an exception: Failed to make the content of dir /mnt/Primary_Tank/Backup_Local/vCenter/sn_vcsa.home.snet.com/M_6.7.0.45000_20230217-014622_/ read-only at 192.168.110.150; Err:chmod: changing permissions of '/mnt/Primary_Tank/Backup_Local/vCenter/sn_vcsa.home.snet.com/M_6.7.0.45000_20230217-014622_/backup-metadata.json': Operation not permitted chmod: changing permissions of '/mnt/Primary_Tank/Backup_Local/vCenter/sn_vcsa.home.snet.com/M_6.7.0.45000_20230217-014622_/config_files.tar.gz': Operation not permitted chmod: changing permissions of '/mnt/Primary_Tank/Backup_Local/vCenter/sn_vcsa.home.snet.com/M_6.7.0.45000_20230217-014622_/database_full_backup.tar.gz': Operation not permitted chmod: changing permissions of '/mnt/Primary_Tank/Backup_Local/vCenter/sn_vcsa.home.snet.com/M_6.7.0.45000_20230217-014622_/full_wal_backup_meta.tar.gz': Operation not permitted ...
Last edited: