← Mac User Guide
Restoring backups

Restoring backups

So you’ve launched the app and your data is missing.  As hard as we try to eliminate bugs, there may be unexpected situations that we cannot adequately test for or control.  If you’ve purchased from the App Store, this may be related to a known bug in Apple’s implementation of the Sandboxing security feature.  Don’t fret, Portfolio mobile makes backups every time you exit the app.

To restore a backup follow these steps:

Before proceeding, ensure that Portfolio mobile is not running.

1. Locate the directory where Portfolio mobile stores your data files (and backups).

If you purchased from the App Store, you are looking for the directory

/Users/MY-USERNAME/Library/Containers/com.barereef.PortfolioMobileMac/Data/Documents/

If you have downloaded the application from our website, you are looking for the directory

/Users/MY-USERNAME/Library/Application Support/Portfolio mobile

* In both cases, MY-USERNAME should be your own user name for your Mac account.

** If you cannot find the Library directory it is likely because Apple hides it by default.  Follow the steps outlined here to show the directory and then proceed.

2. Now that you have found the appropriate directory, you should see something similar to the following screenshot.

Portfolio mobile looks for your database file in this directory.  The app also creates backups every time you exit the app and appends today’s date to the file name.

In a fresh install, the app always opens the file Portfolio mobile.sqlite.  If you have been using one of our sync methods however, then your current database file name will begin with Portfolio mobile-Sync.  To locate the most recent file, simply open the app and quit immediately.  Next, look at each file and observe what the modification date says in the last column (or use the Get Info command to inspect file details).  Make sure you haven’t identified a backup file as the current file.

3. Now that you know what the current database file name is.  Copy that name and rename the file to something different.  Now locate the backup file you want to restore and give it the file name you just copied.  The result should be that your target backup file now has the name of the previously current database file.

4. Launch the app and verify that the data is what you are looking for.  Repeat the process, restoring the various backups if necessary until you locate your target data.  Backups are created every time you exit the app but only one is kept per day – You may have to go back an additional day to find the data you are looking for.

 

 Latest Blog Items