How-to: Repairing Corrupt Databases

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

How-to: Repairing Corrupt Databases

Postby Kenneth » 19 Jan 2016, 11:49

In the event the TeamDrive database becomes corrupt, a database recovery can be attempted by entering the necessary setting into 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 "perform-db-recovery=true"
- Save your changes, close the file and start TeamDrive

If the database is not repaired, please uninstall and reinstall TeamDrive. If uninstalling and reinstalling TeamDrive does not remove the database, please follow the instructions posted here to manually remove the database. http://forum.teamdrive.net/viewtopic.php?f=22&t=3014
After uninstalling and reinstalling you will have to rejoin all of your Spaces. Here is a link to a post on how to rejoin all of your Spaces without downloading the data from the server http://forum.teamdrive.net/viewtopic.php?f=22&t=2562
Kenneth
 
Posts: 916
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