JMRI Problems

woodone Oct 5, 2011

  1. woodone

    woodone TrainBoard Member

    959
    51
    24
    I use JMRI with Decoder Pro. Yesterday when I programmed a locomotive I noticed that my roster data was gone.
    Any ideas where that roster data went? The only thing that is in the data now is the last two unit that I programmed.
    I had a bunch more information in there before. Like over 50 units or more.
    Thanks
     
  2. TwinDad

    TwinDad TrainBoard Member

    1,844
    551
    34
    Which version?

    Have you upgraded recently?
     
  3. woodone

    woodone TrainBoard Member

    959
    51
    24
    Version 2.10 and have been running for at least 3 months if not longer.
    I noticed it yesterday when I was programming two new locos. Roster was only showing the two that I just finished.

    I had done some (Programming) a week or so back and all the data was there then. i guess that I shoud be backing the files up?
    Thanks
     
  4. Robf

    Robf New Member

    4
    0
    7
    In Decoder Pro under the debug menu try selecting Recreate Roster Index.
     
  5. jalajoie

    jalajoie TrainBoard Member

    41
    0
    16
    In the JMRI folder on your hard disk there is a file name "Roster.XML.BAK", simply rename it "Roster.XML" and your data will reappear. You may have lost the last 2 locos you programmed though.

    Jacques
     
  6. Mike Sheridan

    Mike Sheridan TrainBoard Member

    1,763
    0
    33
    BEFORE you do that make a copy of it, called something like RosterBackup05102011. Otherwise if it gets screwed up again you really will have lost it.
     
  7. Mike Sheridan

    Mike Sheridan TrainBoard Member

    1,763
    0
    33
    If you have anything on a techno device that you would like not to lose without warning then yes you should, and to somewhere else than the device, like a DVD or external HD.
     
  8. TwinDad

    TwinDad TrainBoard Member

    1,844
    551
    34
    As they say, in Real Estate the three most important things are Location, Location and Location.

    In technology, the three most important things are Backup, Backup and Backup.
     
  9. jalajoie

    jalajoie TrainBoard Member

    41
    0
    16
    Mike nothing to worry about here, there is another folder on the hard disk named "JMRI_Backup" the same two files are also stored in there.

    There is also another folder named "JMRI_Backup_old" where all your JMRI files are backup to when you install a new version of JMRI. As you can see JMRI is taking care of backup for us.

    Jacques.
     
  10. woodone

    woodone TrainBoard Member

    959
    51
    24
    Wow! Thanks guys I have my old Roster now, with the two new ones showing too.
    Still tring to make sence of the backups. Do i need to back up or is JMRI doing that for me? I am at a loss.
    Thanks for all the help
     
  11. jalajoie

    jalajoie TrainBoard Member

    41
    0
    16
    woodone, JMRI is doing the backup for you. However like Mike said, it is always a good idea to back valuable data on a separate medium. You can use an external hard disk or a USB key to do it.

    Jacques
     
  12. TwinDad

    TwinDad TrainBoard Member

    1,844
    551
    34
    Yeah, just get a thumb drive... find your JMRI configuration directory (see below) and every so often drag/drop it onto the thumb drive. Or whatever disk you want to back up to.

    Mac: ~/Library/Preferences/JMRI
    Linux: ~/.jmri
    Windws: umm.... read the instructions here...
     
  13. Mike Sheridan

    Mike Sheridan TrainBoard Member

    1,763
    0
    33
    As Jacques has enlightened us JMRI is backing up the files locally (on the computer) which provides a bit of an 'undo' function. I don't call that a real backup because if anything happens to the computer, like the hard disk dies, all of those 'backups' will be beyond your reach. (Along with everything else you might have on the computer - photos, letters, etc.)

    The best - only worth having IMHO - backup is to periodically copy all the treasured stuff to somewhere else. These days that can be 'in the cloud' meaning on the internet, but more traditionally it will be onto a disc (CD, DVD) or tape which is then stored somewhere safe - preferably in a different building but otherwise in a fire-safe. Then when your hard disc dies (best case) or your house burns to the ground (worse case, but not the worst) you can still get your stuff back.
     
  14. sandro schaer

    sandro schaer TrainBoard Member

    2,020
    87
    43
    woodone...

    do your own backups ! never trust any software that 'takes care' ...

    a really good tool for taking backups (of your whole computer) is 'acronis', not free but very good and reliable.
     

Share This Page