I'm currently running a Synology DS918+ with over 20 containers, particularly for Plex and Arr services, and just got a GMKtec N150 NucBox to offload these services. All my service configuration files are located in `/volume1/docker/appdata/{service_name}` and I plan to mirror this directory structure on the NucBox to keep things simple. I've mounted the NAS's `/volume1/docker` directory to `/mnt/docker` on the NucBox to facilitate copying, but I've hit a snag with permissions. Since many files have different ownership and permissions, I can't just copy them with a simple command like `cp -a /mnt/docker/heimdall .`. I want to migrate everything without rebuilding all my data from scratch and while preserving the permissions (like 0775/0664, etc.). What's the best way to do this?
2 Answers
You might want to try using `rsync` for the migration. It's really powerful and designed for this kind of task. Just use it as root on the NAS to copy the files over to the NucBox, and it should handle permissions much better than regular `cp` commands.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures