NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
alangstein_QMC
Jun 27, 2020Aspirant
Replicate data to newer ReadyNas
I currently have a ReadyNAS Pro4 that I will be replacing with a newer RN626. The older model is running firmware RAIDiator 4.2.31. The unit is set up with active directory integration and is used ...
- Jun 27, 2020
aks-2 wrote:
Come to think of it, rsync synchronisation might just work right off the bat, it would for local users (so long as you created the user accounts first).
Again, the home folders are only created after the user accesses the NAS with their credentials using SMB. At that point, the system will create a btrfs subvolume.
If you simply run rsync, you will almost certainly end up with an ordinary folder instead of a subvolume.
An alternative here is to provide each user with a script that would migrate their data from their PC.
aks-2
Jun 27, 2020Apprentice
I've only used local users, not AD users. Perhaps, you could deploy the new NAS, empty, but keep the existing NAS for now. After the users sync at least once, you could then continue with an rsync synchronisation. Come to think of it, rsync synchronisation might just work right off the bat, it would for local users (so long as you created the user accounts first). Alternatively, you could run a backup job from your old NAS to your new NAS, right from the dashboard, or if you already have a full backup, restore it to the new NAS. There are several options to get the data across, the tricky bit is fixing the access rights.
I suggest you try one initial account (your own?), to see what happens.
As StephenB mentions, if you are the admin, then you *do* have access to every file on the entire storage system.
StephenB
Jun 27, 2020Guru - Experienced User
aks-2 wrote:
Come to think of it, rsync synchronisation might just work right off the bat, it would for local users (so long as you created the user accounts first).
Again, the home folders are only created after the user accesses the NAS with their credentials using SMB. At that point, the system will create a btrfs subvolume.
If you simply run rsync, you will almost certainly end up with an ordinary folder instead of a subvolume.
An alternative here is to provide each user with a script that would migrate their data from their PC.
- aks-2Jun 27, 2020Apprentice
Now I am curious how a backup strategy for the NAS works (assuming restore doesn't actually fully restore everything)?
- StephenBJun 28, 2020Guru - Experienced User
aks-2 wrote:
Now I am curious how a backup strategy for the NAS works (assuming restore doesn't actually fully restore everything)?
Well, rsync is just vanilla rsync. It will create ordinary folders, but not subvolumes.
So you need to create the shares (and home folders) before you run it to restore the data.
- SandsharkJun 28, 2020Sensei - Experienced User
There is a command line utility available via SSH called mkhomedir_helper that will create the home share for a user. Unfortunately, it does not support a wild card or any other multiple user input, so you have to either use it manually for each account or write a script that basically does the same.
- alangstein_QMCJun 28, 2020Aspirant
Thanks, I had already resigned myself to probably requiring everybody to run a script to do the backup. My backup solution is actually pretty low tech - there is a batch script that runs on the users computer when they log in that just does an xcopy so I can have them run a script to first copy all data from old to new then do the local backup.
Related Content
NETGEAR Academy

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