How-to: Disable the Loading of Snapshots

Practical instruction and advice on how to take advantage of TeamDrive's features.

How-to: Disable the Loading of Snapshots

Postby Kenneth » 15 Jan 2016, 17:59

TeamDrive uses a snapshots feature which allows snapshots of Spaces to be periodically created. This features enables users to join Spaces, with large amounts of events, much faster. In some cases, snapshots can become broken. When a snapshot is broken, TeamDrive will be unable to join the Space, while reading from the snapshot. In this case, loading of snapshots will need to be disabled in order to join the Space. The loading of snapshots can be disabled in the "teamdrive.settings file.

The 'teamdrive.settings' file is located in the default location of the TeamDrive database (data directory). Even if the TeamDrive database location has been changed, the 'teamdrive.settings' file will still be in the original location (it will not be moved along with database).

To locate the database on:

Windows
Open Windows Explorer > Enter "%appdata%" > Open the folder "TeamDrive3"

OS X
Open Finder > Click on the house icon (the home directory) > Press CMD (apple key) + CTRL + G (or select "Go" > "Go to Folder..." from the menu) > Go to folder ".teamdrive"

Linux
The database is located in "/home/*username*/.teamdrive"
You can also get to the home directory be entering "$HOME"


Once you have found the 'teamdrive.settings' file, please do the following:

- Quit TeamDrive
- Open the "teamdrive.settings" file with a text editor.
- In the section '[Settings]' enter "enable-load-snapshot=false".
- Save your changes, close the file and start TeamDrive.
- Start or restart the recovery of the Space.
- Once events begin to be processed/downloaded, quit TeamDrive, open the "teamdrive.settings" file and remove the enable-load-snapshot=false entry.
- Start TeamDrive and allow the join to finish
Kenneth
 
Posts: 902
Joined: 29 Aug 2012, 15:11

Return to How-to's

Who is online

Users browsing this forum: No registered users and 1 guest

cron