04-14-2021, 06:41 PM
Importing and exporting personal stations:
From the command line it is also possible to merge (as opposed to flush everything) multiple backups (for the scope other) into moOde.
For example I have a few custom stations from which I have a backup. After a fresh install I only restore those in without deleting the already present one.
In this was I get the latest&greates default radio radio stations from moOde, while I keep my personal stations.
You can create the backup from the web interface or command line with:
Because the import on the web interface clears all stations and import all station , we need todo the restore in this case from commandline.
Restoring of the personal stations with a merge (it doesn't matter if the backup also contains the system station due to --scope other argument):
From the command line it is also possible to merge (as opposed to flush everything) multiple backups (for the scope other) into moOde.
For example I have a few custom stations from which I have a backup. After a fresh install I only restore those in without deleting the already present one.
In this was I get the latest&greates default radio radio stations from moOde, while I keep my personal stations.
You can create the backup from the web interface or command line with:
Code:
sudo /var/www/command/stationmanager.py --export --scope other ~/stations_mycustom.zip
Because the import on the web interface clears all stations and import all station , we need todo the restore in this case from commandline.
Restoring of the personal stations with a merge (it doesn't matter if the backup also contains the system station due to --scope other argument):
Code:
sudo /var/www/command/stationmanager.py --import --scope other --how merge ~/stations_mycustom.zip