How to recover PDFs and books from iBooks on macOS

Some PDF files in iBooks.

Apple iBooks generally does a good job of managing your collections of books and PDF. But, you know, sometimes shit happens and your contents are gone. This happened to me a few days ago. Where should you look in your filesystem and in your backups to restore your books and your PDFs?

First of all, don’t worry for the books you bought on the iBooks Store: they can be re-downloaded from the store at any time. You can even choose not to have a local copy and to fetch them on demand.

The real problem here are the PDFs that you manually loaded on iBooks and can be synchronized with iCloud.

Some PDF files in iBooks.
Some PDF files in iBooks.

So, where are the files stored?

The e-books you bought on the iBooks Store and all the local contents (those books not in iCloud) are stored in:

~/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books

Instead, the books that are in iCloud and are synced with all your devices are in:

~/Library/Mobile Documents/iCloud~com~apple~iBooks/Documents

(that’s an hidden folder, you can reach that using the Terminal).

This information is useful if you have a backup and can restore the files in these folders. This will not restore your collections, but at least you will have your files back.

I haven’t still found a reliable way to backup or restore the entire iBooks database (books and collections) if iCloud fails. This problem is open for further research. 🙂

Check iCloud settings

Another thing worth mentioning is to check whether iCloud is syncing or not your books. This settings is hidden in the iCloud preferences in macOS, and can cause some headaches, specifically partial or incorrect synchronization.

iCloud preferences
First, go to System Preferences, iCloud; then click on the options button of iCloud Drive.
iCloud Drive preferences
…then, check that the iBooks sync is correctly set to your preferences. If the checkbox is selected, your books will be synchronized among your devices.

Also, there is an option in the preferences of the iBooks app to synchronize your collections. Make sure it’s enabled if you want to sync:

Option for syncing iBooks collection, in the iBooks preferences.
Option for syncing iBooks collection, in the iBooks preferences.

Autore: pietrodn

Sono nato nel 1993 e studio Ingegneria Informatica al Politecnico di Milano. Amo leggere, programmare, costruire cose. Nella mia vita sono stato un Wikipediano e ho fatto parte del Consiglio di Istituto della mia scuola che è il Liceo Scientifico "Albert Einstein" di Milano. I miei interessi spaziano dall'informatica nelle sue diverse espressioni fino alla politica universitaria e a tutte le cose che possono definirsi geek.

Commenta

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...