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.
Sandshark
Dec 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..
el_patron
Dec 22, 2019Tutor
I added the user share, logged in with the user credentials and the home-folder was created. I also added the access to the snapshots for the user and a snapshot folder appeared.
Then I copied back the files and activated the change of the owner properties of the files to the owner of the home share. With that, also a snapshot folder was copied back and the owner of this folder was changed to the user and owner of the home share.
Nothing further happened up to now.
Is there an easy way to check if the snapshots start working..? Currently I have smart weekly snapshots. I could set to hourly snapshots, but there might be a smarter way... Thanks!
- SandsharkDec 22, 2019Sensei
Since snapshots are also subvolumes, I doubt you've gptten what you think you have. Your "snapshots" are likely full copies of the snapshot contents, not just mostly pointers to the unchanged data, And I have no idea how that is going to affect taking real snapshots.
AFAIK, there is no way to backup and restore or transfer a set of snapshots for a share except via ReadyDR, which still doesn't allow you to restore a share with it's snapshots intact.. It seems to be a BTRFS limitation, as I have looked outside of the Netgear GUI for a method and came up with nothing.
- el_patronDec 22, 2019Tutor
Sandshark wrote:Since snapshots are also subvolumes, I doubt you've gptten what you think you have.
I think that was a misunderstanding. I only copied the empty snapshot-folder back, not including any snapshot, as this did not work anyhow before.
Some minutes ago I checked with hourly snapshot and there was one snaphsot established for the newly installed home share! I think it is working now properly. Thank you all for your support here.
BTW: in the mean time I noticed the possibility of manual snapshots for non-home-shares, but not for home shares...
- SandsharkDec 23, 2019Sensei
OK, so long as you are getting valid new snapshots, I think all is well. What I explained is probably why it didn't work to copy them back. That's better than it seeming to work and not being what you really wanted.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!