How to Manage Backups
m (→Restoring Automatic Backups) |
m (→Restoring Automatic Backups) |
||
Line 173: | Line 173: | ||
The automatic backups are stored in a '''backup''' folder in your Trainz local data folder. The location of this folder is held in your '''Launcher - Trainz Settings - Install''' tab. | The automatic backups are stored in a '''backup''' folder in your Trainz local data folder. The location of this folder is held in your '''Launcher - Trainz Settings - Install''' tab. | ||
− | [[file:DBR_EDBR31.png|link=]]<br> | + | <table> |
− | + | <tr valign="top"> | |
+ | <td>[[file:DBR_EDBR31.png|link=]]</td> | ||
+ | <td> | ||
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:Steps.PNG|link=]]</td> | ||
+ | <td><span style="font-size: 17px; font-weight: 700;">Steps:</span><br> | ||
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td width=25>[[image:DotPoint1.JPG|link=]]</td> | ||
+ | <td>Highlight the '''Local Data Folder''' address and copy to your OS clipboard - press <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Ctrl </span> <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> C </span></td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint2.JPG|link=]]</td> | ||
+ | <td>Open '''Windows Explorer''' and paste (<span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Ctrl </span> <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> V </span>) the address into the Address Bar | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
This folder can also found using '''Windows Explorer''' by following a similar folder path as shown below.<br> | This folder can also found using '''Windows Explorer''' by following a similar folder path as shown below.<br> | ||
Line 181: | Line 205: | ||
Where <span style="font-weight: 700; color: white; background-color: black;"> idname </span> is the first 5 characters of your Windows logon name and <span style="font-weight: 700; color: white; background-color: black;"> random </span> will be a random sequence of letters and numbers identifying the '''Trainz Build Number'''.<br> | Where <span style="font-weight: 700; color: white; background-color: black;"> idname </span> is the first 5 characters of your Windows logon name and <span style="font-weight: 700; color: white; background-color: black;"> random </span> will be a random sequence of letters and numbers identifying the '''Trainz Build Number'''.<br> | ||
− | + | <table width=1000 bgcolor=#000000 cellpadding=2> | |
− | + | <tr valign="top"> | |
+ | <td> | ||
+ | <table width=996 bgcolor=#ffffb0 cellpadding=2> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table width=996> | ||
+ | <tr valign="top"> | ||
+ | <td width=25>[[image:NotePad.PNG|link=]]</td> | ||
+ | <td><span style="font-size: 17px; font-weight: 700;">Notes:'''</span><br> | ||
+ | ---- | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td width=10>[[image:DotPoint.JPG|10px|link=]]</td> | ||
+ | <td>The drive letter ('''C:''') and the path will be different if you have previously moved your '''User Data Folder''' to a different drive and/or location. If this is the case then use the folder address from the '''Launcher Install TAB'''</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|10px|link=]]</td> | ||
+ | <td>If you are using '''TANE''' or '''TRS19''' then that will be shown instead of '''TRS22'''</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|10px|link=]]</td> | ||
+ | <td>If you are using '''Trainz Plus''' then its folder will be shown as '''TRS22'''</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td colspan=2>The '''TANE/TRS19/TRS22''' folder may have several different build folders. If so then select the one that has a '''Date Modified''' entry that matches the date/time of your last route modification.<br> | ||
+ | [[image:BackupsDifferentBuilds.png|link=]] | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
<table cellpadding=4 bgcolor=#ffffff> | <table cellpadding=4 bgcolor=#ffffff> | ||
<tr> | <tr> | ||
Line 215: | Line 277: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td> </td> | <td> </td> | ||
− | <td>[[file:DotPoint3.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Restore the Backup To Trainz:</span><br> | + | <td>[[file:DotPoint3.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Restore the Backup To Trainz:</span><br><br> |
<table bgcolor=#000000 cellpadding=2> | <table bgcolor=#000000 cellpadding=2> | ||
<tr valign="top"> | <tr valign="top"> | ||
Line 234: | Line 296: | ||
#copy it into the '''Editing''' folder - this folder will be directly under the same '''build <number>''' folder that contains your backups | #copy it into the '''Editing''' folder - this folder will be directly under the same '''build <number>''' folder that contains your backups | ||
#:[[image:BackupsEditFolder.png|link=]] | #:[[image:BackupsEditFolder.png|link=]] | ||
− | #if the '''.tzarc''' filename is followed by a number sequence (e.g. <span style="font-weight:700;">kuid 45176 100893.tzarc<span style="font-size: 15px;">_323888034</span></span>) then '''rename''' the file to remove | + | #if the '''.tzarc''' filename is followed by a number sequence (e.g. <span style="font-weight:700;">kuid 45176 100893.tzarc<span style="font-size: 15px;">_323888034</span></span>) then '''rename''' the file to remove all the characters '''<u>AFTER</u>''' the '''.tzarc''' so '''kuid 45176 100893.tzarc_323888034''' becomes '''kuid 45176 100893.tzarc''' |
#open '''Content Manager''' | #open '''Content Manager''' | ||
#run a database repair | #run a database repair | ||
Line 256: | Line 318: | ||
</tr> | </tr> | ||
</table> <!-- END Nav Buttons Table --> | </table> <!-- END Nav Buttons Table --> | ||
+ | <br> | ||
='''Manual Backups'''= | ='''Manual Backups'''= |
Revision as of 14:37, 7 April 2023
The information in this Wiki Page applies to TANE, TRS19, Trainz Plus and TRS22. This guide will explain automatic and manual backups in Trainz.
Main Points: | |
Trainz will automatically backup your current route and session in Surveyor while you work. You can set the number of backups created each day | |
You can use Content Manager to manually create backups of routes, sessions and assets as often as you need | |
Both the manual and automatic backups can be restored to Trainz by Content Manager | |
You can backup all your user data (built-in assets, DLS downloads, DLC purchases, your own creations) |
Contents |
Automatic Backups vs Manual Backups
|
Automatic Backups
Creating Automatic Backups
In Summary: | |
Only a set number of backups are created each day | |
Only 7 days of backups are kept |
This is a Set and Forget operation. You simply tell Trainz how many backups you want created each day and the program takes care of the rest.
|
||||||||||||||
Steps:
|
||||||||||||||
|
|
Only the last 7 days of backups are kept and this number cannot be changed.
Restoring Automatic Backups
The automatic backups are stored in a backup folder in your Trainz local data folder. The location of this folder is held in your Launcher - Trainz Settings - Install tab.
|
This folder can also found using Windows Explorer by following a similar folder path as shown below.
Where idname is the first 5 characters of your Windows logon name and random will be a random sequence of letters and numbers identifying the Trainz Build Number.
|
|
||||
Steps: Open The Backups Folder:
|
||||
|
||||
Identify the Backup to Restore:
|
||||
|
||||
Restore the Backup To Trainz:
|
||||
|
More details, including tips on troubleshooting, can be found in the Trainz Knowledge Base at Restoring Backups
Manual Backups
In Summary: | |
You control the number and frequency of backups | |
You control the backup location and filenames | |
Assets, not just routes and sessions can be backed up |
Creating Manual Backups
Manual backups are stored as .CDP files | |
Many assets can be stored in a single .CDP file |
|
||||||||||||||||
Steps:
|
Restoring Manual Backups
Simply drag and drop the backup CDP file or files into Content Manager |
|
|
Steps:
|
|
|
Backup Plan Basics
If you are using a manual backup method then devise a simple backup plan and stick to it |
The most important parts of any backup plan are:-
- make regular backups - how often will depend on the complexity of the project
- keep duplicate sets of backups including on offline storage
- keep previous backup sets, not just the latest ones - how many past sets you will want to keep will depend on factors such as available storage
- have a simple but consistent file naming system to be able to quickly identify the backup you need to restore lost work
Sample Backup Plan:
|
Backing Up and Restoring Picklists
Picklists have to be exported and imported as text files |
Picklists cannot be backed up manually using .CDP files. They must be exported as text files.
Detailed instructions on backing up and restoring Picklists as text files can be found on the Trainz Wiki Page at:- |
Backing Up All Your User Content
You can backup ALL your installed content including built-ins and DLC |
You can make a backup copy of all your installed content (buildings, tracks, rolling stock, trees, routes, sessions, etc, etc). Everything you have downloaded and installed from the DLS and other web sites, all the built-in content and all your DLC packages. Also included will be all the screenshots you have captured and your automatic backups. In short, everything but the program "executables" and utilities that form the Trainz program itself.
All of this data is stored in your Local Data Folder.
Warning: | |
Be aware that this could be a very large quantity of data that could take a lot of time and space to backup |
|
||||
Steps: Locate Your Local Data Folder:
|
||||
|
||||
Determine the Size of the Folder:
|
||||
|
||||
Copy the Folder:
|
||||
|
Trainz Wiki
More Tutorials and Guides to Using Trainz |
This page was created by Trainz user pware in January 2020 and was last updated as shown below.