Posts by madbrain

    I have been using LibreElec for many years on a Raspberry Pi 3B+. I keep this hardware specifically so that I can play 3D movies on my Sharp Aquos 3D TV.

    I have run into issues a few times that required making backups and restoring from them.

    Currently, I use Win32diskimager on Windows to backup/restore.

    This has several issues for backups :

    1. you must shut down LibreElec

    2. you must physically remove the microSD card, which puts wear and tear on the reader and card contacts - but really the reader is the biggest concern

    3. you must go to another computer to perform the backup

    4. you must go back to LibreElec to insert the card, again putting wear on it and the reader

    5. the backup operation can be quite long, as Win32diskimager is not file system aware. For example, about 13 minutes with a 64GB microSD card that maxes out the UHS-1 bus

    For restores, problems 1/2/3/54are of course unavoidable. are similar. For problem 5 :

    5. the restore operation is even slower than backup, as nearly all microSD cards have lower write speeds than read speeds. A 64GB card with 30MB write speed will take 34 minutes to restore.

    I have 3 other Raspberry Pi running Raspberry Pi OS. I solved all these problems for backup using a program called Raspibackup. It does partial imaging for things like partition tables and boot sector, but uses TAR for file system backup, and thus does not waste time and space with unused parts of the file system. It is also capable of backing up to my NAS over SMB. And it even shuts down services during backup, and restarts them, so that there are no problems with other programs running live simultaneously. This means a backup can take closer to 3-5 minutes, without shutting down or removing the SD card, and a restore takes a bit longer, but still much less than a half hour.

    I am wondering if a similar backup solution might exist for LibreElec, or if it would be possible to just run Raspibackup under it to achieve the same result.

    Alternately, just having an imaging solution that is file system aware would still be helpful to cut backup & restore time, but wouldn't help with physical intervention and wear and tear.