NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Garet
Oct 06, 2015Aspirant
Ready NAS 4220 terminal command to unset 'allow snapshot access' check box
I have a readynas 4220 acting as a fileserver, joined to a AD. Running Firmware 6.2.4
There is also a on-site file indexer running 24/7. It indexes 4 of the shares.
I have a junior administrator that will recover deleted files using the 'snapshot' feature.
The issue is the 'allow snapshot access' is left turned on by accident. This causes the file indexer to index all of the snapshots. This grows the index to 60+GB in size. It will grow so large it stops new files from being indexed. If it did not index the snapshots, the database will be around 4GB.
I would like a cron job to uncheck the 'allow snapshot' feature every night at 2AM.
I can't find a online resource that gives enough detail about the snapshot feature except how to delete the snapshots. I want to turn off access on a schedule and keep the snapshot running.
Garet
Thanks for looking into that for me.
I thought there might be a terminal command for that.
Garet
8 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
I am puzzled on the use case. You want this cron job in order to guard against a mistake that might be made by a NAS administrator?
- kohdeeNETGEAR Expert
There is no specific terminal command to turn off the snapshot access on a share since snapshot access, being enabled through the UI, is translated through the middleware.
My recommendation is to teach the junior administrator best practice is to return the system back to how it was once making the change. Maybe they can confirm snapshot access is turned off when closing a ticket.- GaretAspirant
Thanks for looking into that for me.
I thought there might be a terminal command for that.
Garet
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!