How to Manage Backups: Difference between revisions
mNo edit summary |
|||
| Line 189: | Line 189: | ||
<table> | <table> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td><span style="font-size: 17px; font-weight: 700;">Steps:</span><br> | <td><span style="font-size: 17px; font-weight: 700;">Steps:</span><br> | ||
<table> | <table> | ||
| Line 273: | Line 272: | ||
<table width=1000 cellpadding=2 bgcolor=#ffffff> | <table width=1000 cellpadding=2 bgcolor=#ffffff> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td><span style="font-size: 17px; font-weight: 700;">Steps:</span><br> | <td><span style="font-size: 17px; font-weight: 700;">Steps:</span><br> | ||
[[image:DotPoint1.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Open The Backups Folder:</span></td> | [[image:DotPoint1.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Open The Backups Folder:</span></td> | ||
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td> | <td> | ||
<table> | <table> | ||
| Line 303: | Line 300: | ||
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:DotPoint2.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Identify the Backup to Restore:</span></td> | <td>[[image:DotPoint2.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Identify the Backup to Restore:</span></td> | ||
</tr> | </tr> | ||
| Line 313: | Line 309: | ||
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td> | <td> | ||
<table> | <table> | ||
| Line 328: | Line 323: | ||
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:DotPoint3.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Restore the Backup To Trainz:</span><br> | <td>[[image:DotPoint3.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Restore the Backup To Trainz:</span><br> | ||
#select the '''.tzarc''' file that contains your backup (e.g. the last created version by date and time) | #select the '''.tzarc''' file that contains your backup (e.g. the last created version by date and time) | ||
| Line 340: | Line 334: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td | <td> | ||
----</td> | ----</td> | ||
</tr> | </tr> | ||
| Line 418: | Line 412: | ||
</table> | </table> | ||
<br> | <br> | ||
=='''Restoring Manual Backups'''== | |||
<table cellpadding=2 bgcolor=#c1e7e7> | |||
<tr valign="top"> | |||
<td>[[image:DotPoint.JPG|link=]]</td> | |||
<td>'''Simply drag and drop the backup CDP file or files into Content Manager'''</td> | |||
</tr> | |||
</table> | |||
<table width=1000 cellpadding=2 bgcolor=#ffffff> | |||
<tr> | |||
<td colspan="2"> | |||
----</td> | |||
</tr> | |||
<tr valign="top"> | |||
<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>open '''Content Manager'''</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td width=25>[[image:DotPoint2.JPG|link=]]</td> | |||
<td>open '''Windows File Explorer''' and locate the backup folder</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td width=25>[[image:DotPoint3.JPG|link=]]</td> | |||
<td>highlight the '''.CDP file or files''' to be restored</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td width=25>[[image:DotPoint4.JPG|link=]]</td> | |||
<td>'''drag and drop''' the file or files from '''Windows File Explorer''' into '''Content Manager'''</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td width=25>[[image:DotPoint5.JPG|link=]]</td> | |||
<td>if the assets being restored are already installed in '''Content Manager''' then their status will be shown as '''Open for Edit'''. Select and submit those assets. | |||
[[image:RestoreFromCDP.png|link=|alt=Restore from backup]] | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
<br> | |||
=='''Backup Plan Basics'''== | |||
<table cellpadding=2 bgcolor=#c1e7e7> | |||
<tr valign="top"> | |||
<td>[[image:DotPoint.JPG|link=]]</td> | |||
<td>'''If you are using a manual backup method then devise a simple backup plan and stick to it'''</td> | |||
</tr> | |||
</table> | |||
The most important parts of any backup plan are:- | |||
<table> | |||
<tr valign="top"> | |||
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td> | |||
<td>'''make regular backups''' - how often will depend on the complexity of the project</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td>[[image:DotPoint.JPG|10px|link=]]</td> | |||
<td>'''keep duplicate sets of backups''' including on offline storage</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td>[[image:DotPoint.JPG|10px|link=]]</td> | |||
<td>'''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</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td>[[image:DotPoint.JPG|10px|link=]]</td> | |||
<td>'''have a simple but consistent file naming system''' to be able to quickly identify the backup you need to restore lost work | |||
<br> | |||
<table width=1000 cellpadding=2 bgcolor=#ffffb0> | |||
<tr valign="top"> | |||
<td>[[image:NotePad.PNG|link=]]</td> | |||
<td><span style="font-size: 17px; font-weight: 700;">Sample Backup Plan:'''</span><br> | |||
<table> | |||
<tr valign="top"> | |||
<td width=25>[[image:DotPoint1.JPG|link=]]</td> | |||
<td>on a drive that is always attached to your system create a '''Project Backups''' folder</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td>[[image:DotPoint2.JPG|link=]]</td> | |||
<td>in this folder create another folder named '''Today'''<br> | |||
[[image:BackupsOnlineFolder.png|link=|alt=Online Project Backups folder]]</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td>[[image:DotPoint3.JPG|link=]]</td> | |||
<td>use this folder to store your regular backups for today. For example, when you take a break and exit from '''Surveyor''', start '''Content Manager''' and backup the current project (e.g. a route, a session or both) to the '''Today''' folder<br> | |||
[[image:BackupsOnlineFolderToday.png|link=|alt=Todays Backups folder]]</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td>[[image:DotPoint4.JPG|link=]]</td> | |||
<td>name each backup using the name of the project and the time as shown in the example above | |||
</td> | |||
</tr> | |||
</table> | |||
<table cellpadding=2 bgcolor=#bbffff> | |||
<tr valign="top"> | |||
<td>[[image:Question.PNG|link=]]</td> | |||
<td><span style="font-size: 17px; font-weight: 700;">Why Keep Separate Time Backups For The Same Day?'''</span><br> | |||
Suppose that after your first backup of the day, at say 07:52, you decided to make some significant changes to your route. The later backups made at 12:30 and 14:10 included this change. By 17:00 you decide that this major change is not working and you need to return the route to its starting state. If your only backup was the last one you had made at 14:10 then you could not restore the route to its starting state. | |||
</td> | |||
</tr> | |||
</table> | |||
<table> | |||
<tr valign="top"> | |||
<td width=25>[[image:DotPoint5.JPG|link=]]</td> | |||
<td>at the end of each day copy the '''Today''' folder to another drive (external or internal) into a folder also called '''Project Backups'''</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td>[[image:DotPoint6.JPG|link=]]</td> | |||
<td>rename the '''Today''' folder on the 2nd drive to a format that identifies the date of the backups it contains (using the '''yyyy-mm-dd''' format) as shown below<br> | |||
[[image:BackupsOfflineFolder.png|link=|alt=Offline Project Backups folder]]</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td>[[image:DotPoint7.JPG|link=]]</td> | |||
<td>copy this renamed folder to an external detachable drive into its '''Project Backups''' folder - this will give you a second backup copy</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td>[[image:DotPoint8.JPG|link=]]</td> | |||
<td>when starting work the next day, delete the contents of the '''Today''' folder on your main drive and make the '''first backup of the day using the project assets in their initial state''' for the day</td> | |||
</tr> | |||
</table> | |||
<table cellpadding=2 bgcolor=#bbffff> | |||
<tr valign="top"> | |||
<td>[[image:Question.PNG|link=]]</td> | |||
<td><span style="font-size: 17px; font-weight: 700;">How Long Should You Keep The Daily Backups?'''</span><br> | |||
The ideal answer is '''until after the project has been finished''' but in reality it will depend on your available storage space. | |||
<table> | |||
<tr valign="top"> | |||
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td> | |||
<td>Once the project has been completed then the backup folders and files can be deleted</td> | |||
</tr> | |||
<tr valign="top"> | |||
<td>[[image:DotPoint.JPG|10px|link=]]</td> | |||
<td>If there is insufficient space to keep a large number of backups, then delete the '''oldest backup folders first'''</td> | |||
</tr> | |||
<tr> | |||
<td colspan=2>If a decision is later made to restart work on the route (e.g. to update it after a new version of Trainz has been released) then it would be considered to be a brand new project and the backup procedure can be restarted from that point.</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
<br> | |||
<table> <!-- BEGIN Nav Buttons Table --> | |||
<tr valign="top"> | |||
<td width=729><span id="stepPicklists"></span> </td> | |||
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td> | |||
<td width=75>[[image:NextUp.png|link=#stepManual|alt=Next Up|Top]]</td> | |||
<td width=75> </td> | |||
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td> | |||
</tr> | |||
</table> <!-- END Nav Buttons Table --> | |||
<br> | |||
='''Backing Up and Restoring Picklists'''= | ='''Backing Up and Restoring Picklists'''= | ||
<table cellpadding=2 bgcolor=#c1e7e7> | <table cellpadding=2 bgcolor=#c1e7e7> | ||
| Line 472: | Line 628: | ||
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td><span style="font-size: 17px; font-weight: 700;">Steps:</span><br> | <td><span style="font-size: 17px; font-weight: 700;">Steps:</span><br> | ||
[[image:DotPoint1.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Locate Your Local Data Folder:'''</span><br> | [[image:DotPoint1.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Locate Your Local Data Folder:'''</span><br> | ||
| Line 480: | Line 635: | ||
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:DotPoint2.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Determine the Size of the Folder:'''</span><br> | <td>[[image:DotPoint2.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Determine the Size of the Folder:'''</span><br> | ||
#Use '''Windows File Explorer''' to locate this folder in its drive as shown in the '''Local Data Folder''' information above | #Use '''Windows File Explorer''' to locate this folder in its drive as shown in the '''Local Data Folder''' information above | ||
| Line 491: | Line 645: | ||
<td><span style="font-size: 17px; font-weight: 700;">You will need to find a storage device or location, such as an external drive, that has <span style="text-decoration: underline;">more</span> available free space than the folder is using</span></td> | <td><span style="font-size: 17px; font-weight: 700;">You will need to find a storage device or location, such as an external drive, that has <span style="text-decoration: underline;">more</span> available free space than the folder is using</span></td> | ||
</tr> | </tr> | ||
</table></td> | </table> | ||
</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[image:DotPoint3.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Copy the Folder:'''</span><br> | <td>[[image:DotPoint3.JPG|link=]] <span style="font-size: 17px; font-weight: 700;">Copy the Folder:'''</span><br> | ||
#Close the '''Properties Window''' | #Close the '''Properties Window''' | ||
| Line 517: | Line 671: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td | <td> | ||
----</td> | ----</td> | ||
</tr> | </tr> | ||
Revision as of 12:52, 6 July 2026
|
| 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 (including setting it to 0) | |
| 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) | |
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 backup folder for the date that you want. A list of backup files and folders created that day will be shown.
![]() |
||||||||
|
||||||||
|
||||||||
|
|
||||||||
More details, including tips on troubleshooting, can be found in the Trainz Knowledge Base at Restoring Backups
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:-
| Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 | make regular backups - how often will depend on the complexity of the project | ||||||||||||||||||||||||||||
| Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 | keep duplicate sets of backups including on offline storage | ||||||||||||||||||||||||||||
| Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 | 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 | ||||||||||||||||||||||||||||
| Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 | have a simple but consistent file naming system to be able to quickly identify the backup you need to restore lost work
|
||||||||||||||||||||||||||||
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:
|
|||
|
|||
|
|||
|
|
|||
Trainz Wiki
|
|
This page was created by Trainz user pware in January 2020 and was last updated as shown below.













