Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Locked
back up to another comuter
#backup
I have my Decoder Pro and JMRI Operations on my laptop. As I was working on building a train my computer went off and would not come back up. We I had dislodged one end of the batter. Plugged in back into the laptop and everything is fine.?
In the mean time the scare of loosing my roster of locomotive decoder setting in Decoder Pro along with my car roster and layout locations. Really gave me a scare.? So my question is: I want to back up everything to another computer. Can someone tel me how? I would also use that computer to do the Operations program. Keep the lap top for programing decoders but still keep the back up of decoders on both machines.? |
开云体育I use all Apple stuff and Macs.?Really simple with them. Just turn on time machine, select a drive somewhere on the network or attached to another computer on the network or to a network drive and everything is alwasy backed up.? Does you whole computer, not just JMRI.? So If the computer totally died you could restore it totally to another.? Time machine is great and runs hands off in the background .? Jim
|
Read the Dropbox/Cloud Storage section in the JMRI Help. Best way to keep your data safe. Trust the cloud.
Stefan -- Stefan Bartelski Home layout: The Blue Ridge Line, an HO representation of the L&N Etowah Old Line from Etowah to Elizabeth and the Marble Hill branch (Georgia Marble Railroad), set in 1986 (under construction)? Modular Layout: Shoofly module of the Country RRoads Modular group |
开云体育Mike and Stefan, Read the Dropbox/Cloud Storage section in the JMRI Help. Best way to keep your data safe. Trust the cloud. This is the link: <>? Cloud is good (I use Dropbox, it's an instant backup and keeps every version saved in the past 30 days) but shouldn't be your only backup. At the least, it should be a removable drive. If you want more in-depth information about what is stored where, look at Help->Locations (in the menu bar) and this more detailed document: <> Dave in Australia |
Well I created a jmri folder in my Dropbox like I have done in the past for other files. Followed the instructions from the link to jmri help that was posted. Everything went fine. Roster was saved or moved too this location after the restart of jmri. When starting my operations program as I have always done. Everything is gone and the program acts like a new startup.
Soat this time my files are in jmri but the program is not following the path to find them. Any ideas? |
开云体育This sounds like the problem that I was having when moving files to a newer computer. ?The directory path in the newer computer, a Mac, had an extra level in the file locations. ?If I recall it should be:Users/username/Library/Preferences/JMRI/ But, I had: Users/username/Library/Preferences/JMRI/my_jmri/ So the information was just a step away from where it could be found Hope that helps. Thomas Cain
Indianapolis, IN atsf93@... See my NEW website and layout?at: ?www.atsf93.com Modeling the Eastern Illinois Santa?Fe from the Prototype
|
开云体育Mike, On 3 Feb 2020, at 1:45 PM, Mike Swederska <shur-way@...> wrote: Well I created a jmri folder in my Dropbox like I have done in the past for other files. Followed the instructions from the link to jmri help that was posted. Everything went fine. Roster was saved or moved too this location after the restart of jmri. When starting my operations program as I have always done. Everything is gone and the program acts like a new startup. Soat this time my files are in jmri but the program is not following the path to find them. Did you set both of User Files Location and Roster Location to point to your new jmri folder on Dropbox? If you use both DecoderPro and PanelPro, you'll need to check both. Please do a Help->Locations, select all copy and paste that for us all to see. When moving the roster, the folder called "roster" contains all your loco entries and the entire "roster" folder must be placed within the new JMRI folder. You can move the "roster.xml" file if you wish or ignore it. It is easy to recreate. A common mistake is to point Roster Location to the "roster" folder instead of the folder that contains the "roster" folder. This is bad and you end up with nested "roster" folders or worse! Show us your Help->Locations. Dave in Australia |
Dave,
Is this what your asking for? User Files Location: C:\Users\Mike Swederska\Dropbox\JMRI\
Roster Location: C:\Users\Mike Swederska\Dropbox\JMRI\
Profile Location: C:\Users\Mike Swederska\JMRI\Meramec_Valley_Lines.jmri\
Settings Location: C:\Users\Mike Swederska\JMRI\
Current Config file:C:\Users\Mike Swederska\JMRI\Meramec_Valley_Lines.jmri\ProfileConfig.xml
Scripts Location: C:\Program Files (x86)\JMRI\jython\
Program Location: C:\Program Files (x86)\JMRI
Temp Files Location:C:\Users\MIKESW~1\AppData\Local\Temp\
Log Files Location: C:\Users\Mike Swederska\JMRI\log\
? C:\Users\Mike Swederska\JMRI\log\messages.log
? C:\Users\Mike Swederska\JMRI\log\messages.log.1
? C:\Users\Mike Swederska\JMRI\log\messages.log.2
? C:\Users\Mike Swederska\JMRI\log\session.log
Mike Swederska |
Mike,
On 4 Feb 2020, at 1:44 AM, Mike Swederska <shur-way@...> wrote:That looks good. That's what I'd expect. Profile Location: C:\Users\Mike Swederska\JMRI\Meramec_Valley_Lines.jmri\The rest is fine as well. Two things: 1) Please give us a list of the files and folders currently in: "C:\Users\Mike Swederska\Dropbox\JMRI\" 2) Please go to the Help->System Console menu item, click Copy to Clipboard and paste that into message for us all to see. Alternatively, upload the "C:\Users\Mike Swederska\JMRI\log\session.log" file to a folder with your name that you create in the Files area of this list and in the Problems Being Worked On folder already there. Dave in Australia |
Dave,
toggle quoted message
Show quoted text
I believe it did what is supposed to do and that there are files in the dropbox folder. What I believe is going on is I need to populate those files from the J MRI. I don’t know if it’s in the instructions on the help file because I didn’t miss it. Is there a way that you can show me how to populate those files in the dropbox with my existing operations files and my decoder pro roster. Mike Swederska Sr On Feb 3, 2020, at 8:51 PM, Dave Heap <dgheap@...> wrote: |
Hi Mike, If you answer 0 of the 2 questions it's going to be difficult to keep those helping here motivated. Wouter On Tue, 4 Feb 2020 at 18:44, Mike Swederska <shur-way@...> wrote: Dave, |
开云体育Wouter,Will do tomorrow or later tonight.? Mike Swederska Sr On Feb 4, 2020, at 1:29 PM, whmvd <vandoornw@...> wrote:
|
On Mon, Feb 3, 2020 at 09:51 PM, Dave Heap wrote:
User Files Location: C:\Users\Mike Swederska\Dropbox\JMRI\ Profile Location: C:\Users\Mike Swederska\JMRI\Meramec_Valley_Lines.jmr = = = = = = =? Reading thru this thread brings up a question from me. Can someone explain why? the Users Files Location does not match the Profile Location (disregarding the Dropbox) I create my profiles a let JMRI take care of things and my User Files Location? and Profile Location? have always matched up when looking at Locations and that goes for all Locations of all the profiles I have. Unless someone is deliberately changing the structure I do not understand why they would be different nor why they should be changed. I have been encountering a vanishing ROSTER symptom. I restart DecoderPro and the Roster returns but custom column settings are always lost. Marc ? |
Dave is this what you are looking for?
toggle quoted message
Show quoted text
In JMRI in drop box. Operations, Profile, Programmers, Roster, signal, throttle, roster.xml, roster.xmlbak 2020-02-04 22:09:01,370 util.Log4JUtil INFO - * JMRI log ** [main] 2020-02-04 22:09:01,398 util.Log4JUtil INFO - This log is appended to file: C:\Users\Mike Swederska\JMRI\log\messages.log [main] 2020-02-04 22:09:01,400 util.Log4JUtil INFO - This log is stored in file: C:\Users\Mike Swederska\JMRI\log\session.log [main] 2020-02-04 22:09:01,426 apps.Apps INFO - PanelPro version 4.14+Rd060e0b starts under Java 1.8.0_231 on Windows 10 amd64 v10.0 at Tue Feb 04 22:09:01 CST 2020 [main] 2020-02-04 22:09:10,437 apps.Apps INFO - Starting with profile Meramec_Valley_Lines.3dee1d8c [main] 2020-02-04 22:09:10,846 node.NodeIdentity INFO - Using jmri-je_PiakiGhOiaafcZMprtC-3dee1d8c as the JMRI Node identity [AWT-EventQueue-0] 2020-02-04 22:09:11,748 util.FileUtilSupport INFO - File path program: is C:\Program Files (x86)\JMRI\ [main] 2020-02-04 22:09:11,749 util.FileUtilSupport INFO - File path preference: is C:\Users\Mike Swederska\Dropbox\JMRI\ [main] 2020-02-04 22:09:11,749 util.FileUtilSupport INFO - File path profile: is C:\Users\Mike Swederska\JMRI\Meramec_Valley_Lines.jmri\ [main] 2020-02-04 22:09:11,750 util.FileUtilSupport INFO - File path settings: is C:\Users\Mike Swederska\JMRI\ [main] 2020-02-04 22:09:11,751 util.FileUtilSupport INFO - File path home: is C:\Users\Mike Swederska\ [main] 2020-02-04 22:09:11,751 util.FileUtilSupport INFO - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main] 2020-02-04 22:09:13,514 PanelPro.PanelPro INFO - Main initialization done [main] 2020-02-04 22:09:21,980 setup.BackupBase INFO - Saving copy of operations files to: C:\Users\Mike Swederska\Dropbox\JMRI\operations\autoBackups\2020_02_04_00 [AWT-EventQueue-0] 2020-02-04 22:09:21,984 setup.BackupBase WARN - Only 1 file(s) found in directory C:\Users\Mike Swederska\Dropbox\JMRI\operations [AWT-EventQueue-0] Mike Swederska Sr. Meramec Valley Lines Modeling Missouri Pacific in 3/16 -----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dave Heap Sent: Monday, February 03, 2020 8:51 PM To: [email protected] Subject: Re: [jmriusers] back up to another comuter Mike, On 4 Feb 2020, at 1:44 AM, Mike Swederska <shur-way@...> wrote:That looks good. That's what I'd expect. Profile Location: C:\Users\Mike Swederska\JMRI\Meramec_Valley_Lines.jmri\Swederska\JMRI\Meramec_Valley_Lines.jmri\ProfileConfig.xml Scripts Location: C:\Program Files (x86)\JMRI\jython\The rest is fine as well. Two things: 1) Please give us a list of the files and folders currently in: "C:\Users\Mike Swederska\Dropbox\JMRI\" 2) Please go to the Help->System Console menu item, click Copy to Clipboard and paste that into message for us all to see. Alternatively, upload the "C:\Users\Mike Swederska\JMRI\log\session.log" file to a folder with your name that you create in the Files area of this list and in the Problems Being Worked On folder already there. Dave in Australia |
Marc,
On 5 Feb 2020, at 9:30 AM, forfoum@... wrote:The answer is very simple. Many users want to share the User Files (Roster, Panels, Operations, etc.) between multiple profiles. In my case I have around 20 different hardware profiles (real and simulator profiles for many kinds of hardware) and almost all of them share one set of user files. It's very much easier to have the User Files located outside any profile, in a common location elsewhere (in my case a JMRI folder in my Dropbox folder). Then if I want to create a simulator profile for connection "xxx" I just make a copy of the hardware profile, call it "xxx Simulator", change connection type in the copy to Simulator and everything just works. If I want to delete any profile I can and no user data is lost. If a profile gets corrupted settings, I can just delete it without losing my Roster, Panels etc. Dave in Australia |
Mike,
On 5 Feb 2020, at 3:10 PM, Mike Swederska <shur-way@...> wrote:Thanks for the information and console log. Let's tackle one thing at a time. We'll start with your DecoderPro loco roster on the original machine: Make sure JMRI is not running. Rename the "C:\Users\Mike Swederska\Dropbox\JMRI\roster.xml" file to roster.old. Open the "C:\Users\Mike Swederska\Dropbox\JMRI\roster\" folder. It should contain lots of "myloco.xml" and "myloco.xml.bak" files, together with (possibly) some image files and (possibly) a "consist" folder. These are your loco decoder records. If they are there, skip the next step. If they aren't, you need to go looking for these files: - Make sure they're not nested in another "roster" folder within "C:\Users\Mike Swederska\Dropbox\JMRI\roster\" (we've seen that happen). - If you've been using JMRI on this laptop for a long time, try looking in "C:\Users\Mike Swederska\JMRI\roster\" (if it exists). - If not, try looking in "C:\Users\Mike Swederska\JMRI\Meramec_Valley_Lines.jmri\roster\". Once you've found the files and put them into "C:\Users\Mike Swederska\Dropbox\JMRI\roster\": - Start JMRI. - Follow Marc's advice to create a new Roster Index File (roster.xml): -- In Decoderpro this is under ACTIONS. Recreate Roster Index -- In DecoderPro it is also under FIles > Rebuild Roster -- In PanelPro it is under DEBUG and called Rebuild Roster. - Open the System Console Log and wait until you see a "Roster rebuilt, stored in C:\Users\Mike Swederska\Dropbox\JMRI\roster.xml" message in the log. - Wait a few seconds longer and see if your loco decoder roster reappears. If not, quit and restart JMRI. Let us know how you go. Dave in Australia |
On Tue, Feb 4, 2020 at 11:12 PM, Dave Heap wrote:
The answer is very simple.I share the Roster across 10 different Profiles? as well.? Since I do not do Panels or Operations I do not need those. It's very much easier to have the User Files located outside any profile, in a common location elsewhere (in my case a JMRI folder in my Dropbox folder). Then if I want to create a simulator profile for connection "xxx" I just make a copy of the hardware profile, call it "xxx Simulator", change connection type in the copy to Simulator and everything just works.I understand this also. My question is WHY is JMRI not doing as you say by default. Each time I have installed JMRI and gone thru setting up Profiles, he has made the 'User Files Location' and the ' Profile Location'? the same. Why is'nt? JMRI setting this up as you indicate? if this is the ' preferred ' structure.? I am trying to resolve this ' Vanishing Roster ' and ' lost column setup ' issue I encounter in my case. If I want to delete any profile I can and no user data is lost. If a profile gets corrupted settings, I can just delete it without losing my Roster, Panels etc.I can delete a Profile and I never lost the Roster as the Roster is not in the Profile. Marc |
Dave,? I do not disagree with you. I simply would like to know why the JMRI installer and setup does not follow your recommended structure.
Newly created Profile :? User Files Location: C:\Documents and Settings\Marc\JMRI\easy_DCC.jmri\ Roster Location: C:\Documents and Settings\Marc\JMRI\easy_DCC.jmri\ Profile Location: C:\Documents and Settings\Marc\JMRI\easy_DCC.jmri\ Settings Location: C:\Documents and Settings\Marc\JMRI\ Current Config file:C:\Documents and Settings\Marc\JMRI\easy_DCC.jmri\ProfileConfig.xml Scripts Location: C:\Program Files\JMRI\jython\ Program Location: C:\Program Files\JMRI Temp Files Location:C:\DOCUME~1\Marc\LOCALS~1\Temp\ Log Files Location: C:\Documents and Settings\Marc\JMRI\log\ ? C:\Documents and Settings\Marc\JMRI\log\messages.log ? C:\Documents and Settings\Marc\JMRI\log\session.log Marc |
Marc, If you "copy" an existing profile using Preferences >> Config Profiles, it will behave as you expect. For the majority of people, a single profile at the "settings:" location works fine, and it is the default for new installs/profiles. Dave Sand ----- Original message ----- From: forfoum@... Subject: Re: [jmriusers] back up to another comuter Date: Wednesday, February 05, 2020 3:10 PM Dave,? I do not disagree with you. I simply would like to know why the JMRI installer and setup does not follow your recommended structure. Newly created Profile :? User Files Location: C:\Documents and Settings\Marc\JMRI\easy_DCC.jmri\ Roster Location: C:\Documents and Settings\Marc\JMRI\easy_DCC.jmri\ Profile Location: C:\Documents and Settings\Marc\JMRI\easy_DCC.jmri\ Settings Location: C:\Documents and Settings\Marc\JMRI\ Current Config file:C:\Documents and Settings\Marc\JMRI\easy_DCC.jmri\ProfileConfig.xml Scripts Location: C:\Program Files\JMRI\jython\ Program Location: C:\Program Files\JMRI Temp Files Location:C:\DOCUME~1\Marc\LOCALS~1\Temp\ Log Files Location: C:\Documents and Settings\Marc\JMRI\log\ ? C:\Documents and Settings\Marc\JMRI\log\messages.log ? C:\Documents and Settings\Marc\JMRI\log\session.log Marc |
On Wed, Feb 5, 2020 at 05:03 PM, Dave Sand wrote:
My "expectation "? is to see it behave as Dave Heap states it should and NOT create the " User Files Location" as? "? User Files Location: C:\Documents and Settings\Marc\JMRI\easy_DCC.jmri\? " But as : ?" User Files Location: C:\Documents and Settings\Marc\JMRI\ " My example was not done via a "copy" in? Preferences >> Config Profiles. It was done in the "Set Active Profile" at start up using the? "New" to create a."Profile" I do not understand your "majority of people" point.? The single profile created by default is " My_JMRI_Railroad " and is what the majority end up with.? Here is what we get when NO JMRI user folder has been defined yet : User Files Location: C:\Documents and Settings\Marc\JMRI\My_JMRI_Railroad.jmri\ Roster Location: C:\Documents and Settings\Marc\JMRI\My_JMRI_Railroad.jmri\ Profile Location: C:\Documents and Settings\Marc\JMRI\My_JMRI_Railroad.jmri\ Settings Location: C:\Documents and Settings\Marc\JMRI\ Current Config file:C:\Documents and Settings\Marc\JMRI\My_JMRI_Railroad.jmri\ProfileConfig.xml Scripts Location: C:\Program Files\JMRI\jython\ Program Location: C:\Program Files\JMRI Temp Files Location:C:\DOCUME~1\Marc\LOCALS~1\Temp\ Log Files Location: C:\Documents and Settings\Marc\JMRI\log\ ? C:\Documents and Settings\Marc\JMRI\log\messages.log ? C:\Documents and Settings\Marc\JMRI\log\session.log And, again,? the User Files Location is NOT as Dave Heap states it should be.? I "expect" it to behave as the experts say is "Best ". All this is to try and resolve a recurring " lost roster " condition at start up similar to what Mike has reported. This " lost roster " has been plaguing me thru many updates and on different computers and different operating systems.. Marc |
to navigate to use esc to dismiss