I've managed to acquire a hard drive with enough capacity to take a copy or a backup of my existing raid5 array. It is mounted /mnt/md1 and the original array is mounted on /mnt/md1
What is the recommended way to backup or copy the existing array? And then restore or copy back.
I was thinking -
1) Stop all running applications, such as Docker, Plex etc.(maybe having a look at what system services are running and close any as necessary)
2) ssh to the TNAS and execute (as root) :
Code: Select all
cp -ax /mnt/md0 /mnt/md1
4) Reformat /mnt/md0 to EXT4 (not sure of the best option for this - Using the desktop Volume Manager - delete and re-create?)
5)
Code: Select all
cp -ax /mnt/md1 /mnt/md0
6) Go for another nap
7) Restart the services.
Any and all suggestions welcome.