Page 1 of 1
permissions in backup directory don't save
Posted: 02 Oct 2023, 08:45
by 321PeteD
I cant get r/w permissions on a backup directory I use on my TOS4. I've gone in here multiple times through multiple reboots and different ways. I've used 2 different admin users to try to make the backup files accessible, but the changes never "stick" when i go back to the page.
Screenshot from 2023-10-01 20-33-11.png
I keep getting this error when trying to access my backed up data.
Note: I still can't use rsync to backup my private data because of the issue documented here
"https://forum.terra-master.com/en/view ... 24&t=5215".
Screenshot from 2023-10-01 20-33-30.png
There also appears to be another bug with rsync that I can't figure out because the backup takes up about 2x as much the original, so I suspect there are dupes in there somewhere. I'm guessing an rsync job didn't finish, and then was restarted from the beginning instead of where it left off.
Screenshot from 2023-10-01 20-41-47.png
Re: permissions in backup directory don't save
Posted: 02 Oct 2023, 17:38
by TMLyy
What is the backup mode you chose? All backups start from scratch instead of where they left off, and you can wait until the backup is complete to see how much capacity is being consumed.
Re: permissions in backup directory don't save
Posted: 02 Oct 2023, 20:26
by 321PeteD
The backup mode is rsync, with "Backup modified files and folders only" selected.
The main problem is that I can't see the files that are being backed up. No way to access them if the main NAS dies.
Re: permissions in backup directory don't save
Posted: 07 Oct 2023, 00:11
by 321PeteD
After at least a dozen reinstalls of TOS and experimenting with different configurations nothing works. I've contacted tech support with logs, but no help there.
I've given up on using an encrypted directory.
As you can see in the screenshot, I have 2 shared directories on Volume#2 for a dedicated backup, and this does work for the rsync backup server (currently syncing at ~70MB/s). These don't show up in the file manager.
Screenshot from 2023-07-24 09-41-51.jpg
Re: permissions in backup directory don't save
Posted: 24 Oct 2023, 01:13
by 321PeteD
I just ran these commands, but still can't see the directories in the file browser.
The shared folders do appear under the control panel, and when I ssh in.
Code: Select all
cd /
umount /mnt/md1
e2fsck -p /dev/mapper/vg1-lv1
/etc/tos/scripts/mntdata e2fsck -b 32768 /dev/mapper/vg1-lv1 -y
e2fsck -f /dev/mapper/vg1-lv1 -y
Re: permissions in backup directory don't save
Posted: 24 Oct 2023, 10:43
by TMzethar
What directory do you want to see in 'File Management'? Not all directories are visible.
Re: permissions in backup directory don't save
Posted: 24 Oct 2023, 18:11
by Gremlin
First off, I don't use rsync so none of this may be relevant.
However, on my system (and this may be down to something I have done) there appears to be an "idiosyncrasy" with permissions that does not work in the way I would expect. I assign certain users to certain groups. I then assign the group access permissions to folders/directories (eg "backup" as in your setup). BUT, those individual users in the group cannot access the directory/folders. I have to assign each individual user specific access (which makes the group assignment pointless).
If you are using TOS5.1+ the other issue you may have is with the use of "admin". TM has deemed "admin" an 'unsafe' user (and group?), so that might cause issues in the overall.
hth