NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
el_patron
Dec 21, 2019Tutor
RN314, snapshots do no start on one home share, but on others...
Hi there, I have a strange issue with the snapshots on one home folder. There the snapshots do not start, allthough a snapshot folder is present. In all other folders and shares on the NAS there is ...
- Dec 21, 2019
Did you ever have ssh enabled? If so, it is possible that /home/Ulrike was created with ssh?
I think this could also have happened if the home folders were restored with a backup before the user ever accessed the NAS with file explorer or finder.
One option is to copy off the files, then delete the user account and the folder /home/Ulrike. Then recreate the user account, and access the NAS with that person's credentials. That should re-create the share. Then copy back the folder contents.
el_patron
Dec 21, 2019Tutor
I allready deleted and restored the folder, but definitely without accessing with the user credentials, but with admin access when restoring the data and watching things moving there... I will give it a try again, but start accessing with the users credentials.
StephenB
Dec 21, 2019Guru - Experienced User
el_patron wrote:
I allready deleted and restored the folder,
How did you restore it? I am thinking it was not created correctly (as a btrfs subvolume). Instead it was created as an ordinary folder.
- el_patronDec 21, 2019Tutor
well, I do not know what went wrong there and how I did it that time, but something is messed up with that home folder...
I deleted the user, and I tried to delete the folder, but it cannot be removed completely, or at least it has no effect trying it from the admin page.
Then I logged in via ssh as root. Then I saw in the home folder a single ".ssh" folder with a single file "ssh_authorized_keys" with only read-write rights to the owner, that was deleted. Even as root I cannot remove it. Very strange. How to get rid of the file and the folders..?
- el_patronDec 21, 2019Tutor
ok. now I learned something on file attributes. After
chattr -i ssh_authorized_keys
it was possible to delete the file. Now I will follow the plan :-)
- SandsharkDec 21, 2019Sensei
Note that part of the plan is that you must log into the server using that user's credentials before you restore the backup. That's because the NAS creates a share (btrfs sub-volume) for each user, not just a folder.
Alternately, from SSH, you can use mkhomedir_helper <username>.to create it..
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!