How to Manage Backups
(added section on a backup plan) |
(→Backup Plan Basics: added question and answer points and a minor change to the last dot point) |
||
Line 329: | Line 329: | ||
[[file:BackupsOnlineFolderToday.png|link=|alt=Todays Backups folder]] | [[file:BackupsOnlineFolderToday.png|link=|alt=Todays Backups folder]] | ||
*name each backup using the name of the project and the time as shown in the example above | *name each backup using the name of the project and the time as shown in the example above | ||
+ | |||
+ | <table cellpadding="4" bgcolor=#bbffff> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:Question.PNG|link=]]</td> | ||
+ | <td><span style="font-size: 17px; font-weight: 700;">Why Keep Multiple 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> | ||
+ | |||
*at the end of each day copy the '''Today''' folder to an external drive such as a USB or a detachable SSD into a folder also called '''Project Backups''' | *at the end of each day copy the '''Today''' folder to an external drive such as a USB or a detachable SSD into a folder also called '''Project Backups''' | ||
*rename the '''Today''' folder on the external drive to a format that identifies the date of the backups it contains (using the '''yyyy-mm-dd''' format) as shown below | *rename the '''Today''' folder on the external drive to a format that identifies the date of the backups it contains (using the '''yyyy-mm-dd''' format) as shown below | ||
[[file:BackupsOfflineFolder.png|link=|alt=Offline Project Backups folder]] | [[file:BackupsOfflineFolder.png|link=|alt=Offline Project Backups folder]] | ||
*copy this renamed folder to a second external detachable drive (if you have one) in its '''Project Backups''' folder | *copy this renamed folder to a second external detachable drive (if you have one) in its '''Project Backups''' folder | ||
− | *when starting work the next day, delete the contents of the '''Today''' folder on your main drive to | + | *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> | + | |
+ | <table cellpadding="4" bgcolor=#bbffff> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file: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. The use of a large capacity external storage device would be the ideal solution for a complex project that may involve months or even years of work and hundreds or thousands of backup files. Once the project has been completed then these files may be deleted. | ||
+ | If a decision is later made to restart work on the project then it would be considered to be a brand new project with a set of starting assets (the route and sessions) and the backup procedure can be restarted from that point.</td> | ||
+ | </tr> | ||
+ | </table></td> | ||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 13:26, 21 January 2020
The information in this Wiki Page applies to TANE, TRS19 and Trainz Plus. This guide will explain automatic and manual backups in Trainz.
Main Points: | |
Trainz will automatically backup your current route and session 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 |
Contents |
Automatic Backups vs Manual Backups
Notes: | |||||||||
|
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:
|
||||||||||
|
Notes: | ||||
|
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.
|
|
Step 1: Open the Backups Folder
|
|
|
Step 2: Identify the Backup Folder
|
|
|
Step 3: 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:- |
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.