This article is out of date, and relates to Codebook version 3! For new documentation for Codebook 4, please visit this page.
The easiest way to restore your data to an instance of Codebook (say a fresh install on a new device) is to sync the data over from another copy of Codebook where you had previously updated or synced your data. Alternatively, one can restore data by performing a restore sync against Dropbox or Google Drive, assuming you have previously used Codebookās Sync feature with either service. In addition, Codebook for Windows and macOS have a built-in backups feature that saves a backup whenever you sync or change your password.
If restoring your data with Codebookās Sync feature is not an option for you and you are using an iOS device, Apple has excellent instructions for restoring your data from iCloud and iTunes backups.
To restore Codebook data on iPhone, iPad and Android via Desktop WiFi:
Leave Codebook on your desktop running and signed in
Launch Codebook on your mobile device and sign in
Select the Sync tab
Tap on Operation and set the mode to Overwrite
Ensure Mode is set to Desktop WiFi
Tap on Computer to choose your computer on the network
Tap Start Sync
To restore Codebook on an Android, iPad or iPhone device from Google Drive or Dropbox:
Launch Codebook on your mobile device and sign in
Select the Sync tab
Tap on Operation and set the mode to Restore
Ensure Mode is set to either Dropbox or Google Drive
If prompted, sign in to Dropbox / Google Drive
Tap Start Sync
To restore Codebook for Windows or Codebook for macOS from Dropbox or Google Drive:
Launch Codebook and sign in
Open File -> Preferences (Codebook menu -> Preferences on the Mac) and check that sync is enabled and either Dropbox or Google Drive is selected
Close Preferences window
From the Sync menu choose Restore from Dropbox/Google Drive
To restore Codebook from Codebook Backups on Windows:
Open Windows Explorer
Paste the following path into the location bar to go directly to this folder: %APPDATA%\Zetetic LLC\Strip\backups
Copy the backup file you are looking to restore
Paste the following path into the location bar: %APPDATA%\Zetetic LLC\Strip\
Remove or rename the file strip.db in that folder
Paste your backup file
Rename the file to strip.db
To restore Codebook from Codebook Backups on macOS:
Switch to Finder
Go to the Go menu, selecting āGo to Folderā¦ā and pasting the following path: ~/Library/Containers/net.zetetic.Strip.mac/Data/Library/Application Support/Strip
Go into the Backups folder in the folder that opens
Choose a backup .db file to restore and select Copy from the Edit menu
Go back to the parent āStripā folder
Right-click (or control-click) on default.strip and select Show Package Contents
Rename or remove the file strip.db
Select Paste from the Edit menu and rename the backup file to strip.db
Plug iPad into computer via the USB cable. iTunes will launch, if not, manually open it on your computer.
Click āFile > Device > Restore from Backupā at the upper right corner of the iTunes window. Or right-click the name of your iPad which shows in the left sidebar. Then choose the iPad backup you have created on this computer.
iTunes will start restoring your iPhone. Sometimes it will need your Apple ID to start working.
Long dead thread, but I have a question that is not truly answered here: when the iphone is synced/backed up to itunes or the icloud, is the Codebook data included in the backup set? And just a point: saying āApple has excellent instructions for restoring dataā (when, frankly, they donāt) is a bit of a snarky comment to the perspective of someone who comes looking for a method to recover their database.
The issue that likely brings someone to this thread is that they restored an iphone backup only to find it restored Codebook, but not the data. This could be normal behavior, if Codebook data is not included in the set. My son just replaced his iPhone with one of the new ones. They restored from icloud, Codebook came back, but with no data. Unfortunately, he never availed himself of Codebookās sync, nor had he synced his iphone to a PC. Only icloud, which is one of Appleās horrid prison cells for data.
So, if the data set is not backed up when an iphone syncs to icloud or itunes, just tell me so that I can end this quest. Else, I have some avenues for retrieving that data from Appleās evil clutches yet to exploreā¦
Thanks for posting and sorry to hear about the missing data on your sonās iPhone. This does happen sometimes, where an iCloud Restore doesnāt completely restore all data for every app, or takes a long time restoring all the deviceās data, a process that continues after the user has access to the device. So itās possible to fire up Codebook and have no data there at first, and cause it to go into setup mode.
The fix should be really simple: perform an additional iCloud Restore on that device. It almost always resolves the problem, as iCloud Backup does backup data stored in apps.
Please let us know if that helps. Weāve provided that advice a lot over the years, but it seems to have been worked out of the documentation here. It probably should be a highlighted topic here or in a linked piece of documentation.
It is! My apologies that that isnāt clearer. Weāll look at amending the documentation in that regard.
Our apologies again, itās not our intent to insult! We used to attempt to include all the different steps for restoring iPhones, iPads, and iPod Touch devices from either iTunes backups or iCloud backup, and to keep that documentation up-to-date, but we thought Apple did a better job of covering all the options and differences and wanted to provide the best directions possible. In the case of someone who is experiencing your issue, I agree it would be better to have the pertinent information available all in one place.
Thanks for the follow-on. Iāve let him know that yāall believe redoing the restore is the best approach. The good bit: he now understands the importance of not relying on iCloud for backups - which is sound advice for anyone. Backing up your iThing to a pc gives you access to the files, and there are many pieces of software out in the wild that you can use to extract data from that backup. But on iCloud? Like I said: itās one of Appleās horrid prison cells for dataā¦
And when your app has a facility to back up its own data? Use it!
iTunes and iCloud is the backup of iDevice, when we lost data in iDevice, we can turn to backup files to restore lost. But when we canāt use iTunes or iCloud directly, we can also download data from iCloud/iTunes to iPhone directly via third-part tool.