permissions in backup directory don't save

SMB, NFS, AFP, FTP, web file manager and Rsync server.
Locked
User avatar
321PeteD
Posts: 20
Joined: 06 Oct 2022, 22:19

permissions in backup directory don't save

Post 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
Model: F4-210
TOS: 4.2.43
1TB SSD
12TB HDD
1024 MB RAM

Model: F2-423
TOS: 5.1.67-00214
1TB SSD
12TB HDD
16384 MB RAM
Raid 0 - 2x1 TB NVMe Hyper Cache
User avatar
TMLyy
TerraMaster Team
Posts: 109
Joined: 01 Jun 2022, 18:36

Re: permissions in backup directory don't save

Post 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.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
321PeteD
Posts: 20
Joined: 06 Oct 2022, 22:19

Re: permissions in backup directory don't save

Post 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.
Attachments
Screenshot from 2023-10-02 08-24-51.png
Screenshot from 2023-10-02 08-24-51.png (23.71 KiB) Viewed 901 times
Model: F4-210
TOS: 4.2.43
1TB SSD
12TB HDD
1024 MB RAM

Model: F2-423
TOS: 5.1.67-00214
1TB SSD
12TB HDD
16384 MB RAM
Raid 0 - 2x1 TB NVMe Hyper Cache
User avatar
321PeteD
Posts: 20
Joined: 06 Oct 2022, 22:19

Re: permissions in backup directory don't save

Post 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
Model: F4-210
TOS: 4.2.43
1TB SSD
12TB HDD
1024 MB RAM

Model: F2-423
TOS: 5.1.67-00214
1TB SSD
12TB HDD
16384 MB RAM
Raid 0 - 2x1 TB NVMe Hyper Cache
User avatar
321PeteD
Posts: 20
Joined: 06 Oct 2022, 22:19

Re: permissions in backup directory don't save

Post 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
Model: F4-210
TOS: 4.2.43
1TB SSD
12TB HDD
1024 MB RAM

Model: F2-423
TOS: 5.1.67-00214
1TB SSD
12TB HDD
16384 MB RAM
Raid 0 - 2x1 TB NVMe Hyper Cache
User avatar
TMzethar
TerraMaster Team
Posts: 1248
Joined: 27 Oct 2020, 16:43

Re: permissions in backup directory don't save

Post by TMzethar »

What directory do you want to see in 'File Management'? Not all directories are visible.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
Gremlin
Posts: 481
Joined: 02 Dec 2022, 22:31
Great Britain

Re: permissions in backup directory don't save

Post by Gremlin »

{L_BUTTON_AT}321PeteD

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
F5-221 5.1.123, 8GB System Partition on 3 x 4TB Traid; 3TB EXT4
F2-221 TOS6 (Beta), 8GB System Partition on 2 x 6TB in Traid. (Latest Update 11/04/24)
Locked

Return to “File Services”