Since Logitech decided to release Squeezebox Server 7.6 today I want to
make sure everyone using the TrackStat plugin remembers to take a
backup of its data before upgrading to Squeezebox Server 7.6.0.
If you have setup scheduled nightly backup of TrackStat data, you can
just take the latest nightly backup. If not, you will have to take a
manual backup as described below before you upgrade.
You will always have to restore the TrackStat backup after you have
upgraded to 7.6, else most of your TrackStat data will be lost.
Manual backup in 7.5:
====================
1. Goto SBS Settings -> Advanced -> TrackStat -> Backup/Restore/Clear
2. Specify the full path to a file where you want the backup to be
stored in the "Backup file" parameter
3. Click "Apply" to save the settings.
4. Click the "Backup to file" button to perform the backup
5. If you like to be 100% sure to not loose anything, you can double
check that the backup file seems to contain TrackStat data by looking
at its size or viewing it in a text editor.
Restore after the 7.6 upgrade:
=============================
1. Let Squeezebox Server complete the rescan so all your music is
available, a TrackStat backup can't be restored before the rescan has
completed successfully.
2. Goto SBS Settings -> Advanced -> TrackStat -> Backup/Restore/Clear
3. Specify the full path to the file with TrackStat data in the "Backup
file" parameters. If you performed the manual backup in 7.5 this is
probably already set correctly.
4. If you know your current TrackStat data from 7.5 was correct, it's a
good idea to set "Find alternative files" option to "No" as that will
make the restore considerably faster. Setting this to "Yes" will make
the restore extremely slow in some setups.
5. Click "Apply" to save the settings.
6. Click "Remove all data" button to remove any default data which was
generated due to the Squeezebox Server rescan. This step is optional
and isn't needed in all setups, but I'd recommend doing it to get as
clean TrackStat data as possible.
7. Click "Restore from file" button to start the restore. The restore
operation will continue in the background, you have to look in the
server.log file to see when it's finished. The server.log will indicate
with a message like this when the restore has started:
Plugins::TrackStat::Backup::File::initRestore (165) Restore from:
/home/erland/TrackStat/trackstat_scheduled_backup_20110706.xml
And with a message like this when the backup has been successfully
restored:
Plugins::TrackStat::Backup::File::doneScanning (230) Restore completed
at 2011-07-06 12:13:20
If you accidentally shutdown Squeezebox Server before the restore is
finished, you will have to repeat the operation. As reference, in my
3500 track library it took about 8 minutes to restore the backup.
If you have any problems, post in this thread or start a separate
thread in the 3rd party plugins section.
--
erland
Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=49483
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins