
Exporting and Importing Entries 
The Mountain Climbing Journal (MCJ) can export all entries in the database to text files. Each entry will be saved as individual text files with the realm as the prefix, the article number, and a .html extension. These entries can then be imported back into the MCJ by putting the text files into the same directory that the MCJ was executed from and importing them.
The Export Entries button on the Utilities and Settings Entries tab will export all journal entries into the same directory that the MCJ program is executed from:
For this example, we are exporting the tabbed entries that create the base root filesystem for
NoNIC. Here is how the entries show up when exported:
srv-5:/mcjsources usr4$ ls
mcj.app mcjbuildtab199.html mcjbuildtab31.html
mcj.rsd mcjbuildtab21.html mcjbuildtab310.html
mcjbuildtab11.html mcjbuildtab210.html mcjbuildtab3100.html
mcjbuildtab110.html mcjbuildtab2100.html mcjbuildtab3101.html
.
.
.
mcjbuildtab195.html mcjbuildtab296.html mcjbuildtab397.html
mcjbuildtab196.html mcjbuildtab297.html mcjbuildtab398.html
mcjbuildtab197.html mcjbuildtab298.html mcjbuildtab399.html
mcjbuildtab198.html mcjbuildtab299.html
srv-5:/mcjsources usr4$
|
This is what an individual entry looks like:
srv-5:/mcjsources usr4$ cat mcjbuildtab11.html
<!--MCJ 2.0 Format-->
<!--Title=Preparing the MCJ Filesystem-->
<!--Type=-->
<!--Date=9/8/06-->
<!--Time=-->
<!--Artnum=1-->
<!--Realm=mcjbuildtab1-->The first step is to create a place to stage
the new filesystem.
|
Note that the date is formatted based on the computer system settings. In this case the date line is in US date format. When the file is imported again, make sure that the date format is the same.
If we run MCJ without a database, we get a dialog that a new database has been created:
A MCJ with no entries:
Go to the Utilities and Settings Entries tab. Enter the prefix of the realm you wish to import. In this case we are importing mcjbuildtab1:
Click Import Entries, and all entries for the matching realm prefix will be imported: