Backup of BTRFS - Convert to EXT4 - Restore
Posted: 23 Mar 2023, 22:21
In another thread I've been advised that BTRFS is not 100% reliable on older linux kernels (which apparently I have)
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) :
3) Go for a nap
4) Reformat /mnt/md0 to EXT4 (not sure of the best option for this - Using the desktop Volume Manager - delete and re-create?)
5) - Assuming the newly created Volume mounts on /mnt/md0
6) Go for another nap
7) Restart the services.
Any and all suggestions welcome.
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/md14) 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/md06) Go for another nap
7) Restart the services.
Any and all suggestions welcome.