Backing Up Your Data

ProfitTrain stores its files in two locations in your home directory:

  • /[HD]/Users/[you]/Library/Application Support/ProfitTrain/*
  • /[HD]/Users/[you]/Library/Preferences/com.clickablebliss.ProfitTrain.plist

If you ever want to backup/restore ProfitTrain these are the files you are interested in.

You may also notice a “Backup” folder in the “Application Support” folder. At launch ProfitTrain will optionally (see Preferences) make a copy of the main database file and store it here. Feel free to clean this out if you’d like to reclaim some hard drive space.

Using the backup sqlite files.

When ProfitTrain starts up it looks for a file called ProfitTrain.sqlite at this location:

/[HD]/Users/[you]/Library/Application Support/ProfitTrain/ProfitTrain.sqlite

There is also a preference that is on by default that says on launch, before you load the data make a backup of the database file. If this is turned on, ProfitTrain makes a timestamped copy of this file and puts in into:

/[HD]/Users/[you]/Library/Application Support/ProfitTrain/Backup/

Should you ever need to revert to an old backup simply take a recent backup, rename it to ProfitTrain.sqlite and put it in the main db path:

/[HD]/Users/[you]/Library/Application Support/ProfitTrain/ProfitTrain.sqlite