How to Restore Deleted Assets
From TrainzOnline
(Difference between revisions)
m (→Restore the Asset Backups) |
m (→Restore Assets from the Automatic Backup) |
||
(5 intermediate revisions by one user not shown) | |||
Line 176: | Line 176: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:DotPoint3.JPG|link=]]</td> | <td>[[image:DotPoint3.JPG|link=]]</td> | ||
− | <td>Select (<span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Left Click </span> or <span style="font-weight: 700; font-size: 15px;"><span style="color: white; background-color: black;"> Ctrl </span> + <span style="background-color: lightcyan;"> Left Click </span></span>) | + | <td>Select (<span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Left Click </span> for an individual file or <span style="font-weight: 700; font-size: 15px;"><span style="color: white; background-color: black;"> Ctrl </span> + <span style="background-color: lightcyan;"> Left Click </span></span> for multiple files) the file or files to be restored</td> |
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:DotPoint4.JPG|link=]]</td> | <td>[[image:DotPoint4.JPG|link=]]</td> | ||
− | <td> | + | <td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Left Click </span> on the <span style="font-weight: 700; font-size: 15px;">Open</span> button</td> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 308: | Line 308: | ||
<td>[[image:BlueDot10x10.png|link=]]</td> | <td>[[image:BlueDot10x10.png|link=]]</td> | ||
<td>Deleted assets are stored using their '''<kuid>''' code(s). Knowing their '''<kuid>''' code(s) is very helpful but is not vital</td> | <td>Deleted assets are stored using their '''<kuid>''' code(s). Knowing their '''<kuid>''' code(s) is very helpful but is not vital</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <table width=1000> | ||
+ | <tr valign="top"> | ||
+ | <td>Assets (including routes and sessions) that you have created yourself, or cloned and modified from other assets, are the ones most likely to require this recovery action if you have intentionally or otherwise deleted them. As always the best preventative measure is to perform regular backups of your work using '''.cdp''' files. See the '''Trainz Wiki Page [[image:WikiLink.PNG|link=]] [[How to Manage Backups|How to Manage Backups]]''' for the details. | ||
+ | <br> | ||
+ | Routes and sessions that you are editing in '''Surveyor''' will be automatically backed up a set number of times each day for upto 7 days. If you need to restore a route and/or session to an earlier version then the method described here can also be used but it is specifically covered in more detail in the '''Trainz Wiki Page [[image:WikiLink.PNG|link=]] [[How to Manage Backups|How to Manage Backups]]'''</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 350: | Line 358: | ||
</table> | </table> | ||
</td> | </td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
</table> | </table> | ||
Line 468: | Line 470: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:DotPoint7.JPG|link=]]</td> | <td>[[image:DotPoint7.JPG|link=]]</td> | ||
− | <td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Double Left Click </span> on the last item in the address list to open your current '''Local User Data Folder'''. One of its folders will be the | + | <td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Double Left Click </span> on the last item in the address list to open your current '''Local User Data Folder'''. <span style="font-weight: 700; background-color: yellow;"> One of its folders will be the <span style="font-size: 15px;">Backups</span> folder </span><br> |
[[image:UserDataFolderContents.png|link=]]</td> | [[image:UserDataFolderContents.png|link=]]</td> | ||
</tr> | </tr> | ||
Line 480: | Line 482: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td width=629> | <td width=629> | ||
− | |||
=='''Locate the Asset Backup Files'''== | =='''Locate the Asset Backup Files'''== | ||
</td> | </td> | ||
Line 500: | Line 501: | ||
<td>[[image:BlueDot10x10.png|link=]]</td> | <td>[[image:BlueDot10x10.png|link=]]</td> | ||
<td>The backups are stored as '''.tzarc''' files</td> | <td>The backups are stored as '''.tzarc''' files</td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
</table> | </table> | ||
Line 541: | Line 529: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:DotPoint.JPG|10px|link=]]</td> | <td>[[image:DotPoint.JPG|10px|link=]]</td> | ||
− | <td>only folders upto '''7 days ago''' will be present | + | <td>only folders upto '''7 days ago''' will be present. If an asset was deleted more than 7 days ago then its date folder will not be present and it cannot be restored |
<br> | <br> | ||
<table bgcolor=#ffffb0 cellpadding=2> | <table bgcolor=#ffffb0 cellpadding=2> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td width=25>[[image:NotePad.PNG|link=]]</td> | <td width=25>[[image:NotePad.PNG|link=]]</td> | ||
− | <td>If you are unsure of the date then you may have to open and examine each folder</td> | + | <td>If you are unsure of the exact date then you may have to open and examine each folder</td> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 609: | Line 597: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td width=629> | <td width=629> | ||
− | |||
=='''Restore the Asset Backups'''== | =='''Restore the Asset Backups'''== | ||
</td> | </td> | ||
Line 648: | Line 635: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:DotPoint3.JPG|link=]]</td> | <td>[[image:DotPoint3.JPG|link=]]</td> | ||
− | <td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Left Click </span> inside the '''editing''' folder and paste (<span style="font-weight: 700; font-size: 15px;"><span style="color: white; background-color: black;"> Ctrl </span> + <span style="color: white; background-color: black;"> V </span></span>) the file(s) into the folder</td> | + | <td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Left Click </span> inside the '''editing''' folder and paste (<span style="font-weight: 700; font-size: 15px;"><span style="color: white; background-color: black;"> Ctrl </span> + <span style="color: white; background-color: black;"> V </span></span>) the copied backup file(s) into the folder</td> |
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
Line 655: | Line 642: | ||
<table> | <table> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td width= | + | <td width=300>Start the '''Trainz Launcher''', open the <span style="font-weight: 700; font-size: 15px;">Developer</span> menu and select the <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Rebuild database </span> option</td> |
<td width=270>[[image:LauncherRebuildDatabase.png|link=]]</td> | <td width=270>[[image:LauncherRebuildDatabase.png|link=]]</td> | ||
</tr> | </tr> | ||
Line 670: | Line 657: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td width=629> | <td width=629> | ||
− | |||
=='''Check the Restored Assets'''== | =='''Check the Restored Assets'''== | ||
</td> | </td> |
Latest revision as of 08:36, 30 April 2025
The information in this Wiki Page applies to TRS19, Trainz Plus and TRS22 and describes the methods that can be used to restore assets deleted by Content Manager and the Content Store. |
![]() |
![]() |
|
|
[edit] Restore DLS Assets |
![]() |
![]() |
![]() |
![]() |
Deleted assets that were originally Installed from DLS can be easily restored by installing them again from the DLS |
|
Deleted assets that were installed from the DLS are the easiest of all to restore. Simply use Content Manager to locate the assets and download them again. |
|
|
[edit] Restore .cdp File Assets |
![]() |
![]() |
![]() |
![]() |
![]() |
Deleted assets that were installed from .cdp files can be easily restored by reinstalling them from the same .cdp files |
![]() |
Deleted assets that were installed from .cdp files can be reinstalled from the same files.
|
[edit] Restore Payware and Packaged Assets |
![]() |
![]() |
![]() |
![]() |
![]() |
Payware and Packaged assets that were installed from a DLC package can be restored by reinstalling the same DLC Package |
![]() |
If the identical Packaged asset is also on the DLS then it can be restored from there |
|
|
[edit] Restore Assets from the Automatic Backup |
![]() |
![]() |
![]() |
![]() |
![]() |
Assets deleted using Content Manager within the last 7 Days are stored in the Backup Folder for the date they were deleted |
![]() |
Deleted assets are stored using their <kuid> code(s). Knowing their <kuid> code(s) is very helpful but is not vital |
Assets (including routes and sessions) that you have created yourself, or cloned and modified from other assets, are the ones most likely to require this recovery action if you have intentionally or otherwise deleted them. As always the best preventative measure is to perform regular backups of your work using .cdp files. See the Trainz Wiki Page
|
|
|
[edit] Locate the Backups Folder |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The Backups folder where deleted assets are held is a subfolder of your Local User Data Folder |
|
[edit] Locate the Asset Backup Files |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The backups of deleted assets are kept in folders identified by the date (during the last 7 days) when they were deleted |
![]() |
The backups are stored as .tzarc files |
|
[edit] Restore the Asset Backups |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The backup files of the deleted assets have to be copied into the Editing folder and a DBR perfomed |
|
[edit] Check the Restored Assets |
![]() |
![]() |
![]() |
![]() |
![]() |
Use Content Manager to check that the assets have been restored |
|
![]() |
![]() |
[edit] Trainz Wiki
|
|
This page was created by Trainz user pware in April 2025 and was last updated as shown below.