Open markbaaijens opened 2 years ago
Tested on a test-system/rpmsdev: it seems to work as intended, so it works flawlessly. First the rename of the backup-stick from usbbackup to usbdata: after a reboot al functions well, smb, transcoding, lms, etc. And then the original usbdata-stick from usbdata to usbbackup: a backup can be made without any trouble.
Maybe test in a (another) production system?
Within RPMS, a backup consists of copying all data from the usbdata- to the usbbackup-disk, so the backup-disk is a complete mirror of de data-disk. Then, it should be possible to swap them in the case the data-disk fails, just by renaming the label from usbbackup to usbdata https://github.com/markbaaijens/rpmusicserver/blob/develop/README.md#disaster-recovery
Steps to reproduce
Problem: swapping usbbackup to usbdata seems to works (web/disk-info shows a mounted disk) but no data is seen on /media/usbdata (by ssh). This is probably a rights issue. It should be investigated further.
Related: https://github.com/markbaaijens/rpmusicserver/issues/183