Hello,
i am new to bookpedia: I can not find out if is possible to sync my database between my iMac and my Macbook.
any help would be appriciated
Detlev
Sync between Macs
Re: Sync between Macs
Hi Detlev,
To share the database between Macs you can use any shared location. Most users use Dropbox or iCloud, but it can also be a local server or mourning the hard drive from one computer on the other. Then both computers are reading the same data folder.
You would move your data folder from ~/Library/Application Support/Bookpedia to this shared location and then launch Bookpedia holding down option to select the new location. I personally use Dropbox and can recommend it, but you can replace iCloud for Dropbox in the instructions below. I mention only Bookpedia as you asked but the steps are the same for the other pedias should others read this post.
If you don't already have Dropbox, it a convenient program that automatically keeps a folder in sync across a number of computers via the Cloud. It's a free service up to 2 gigabytes (much more than you would need for all 4 Pedias). If you are signing up for the first time use this link, I get a 500 megabyte bonus on my own account.
1. Place the pedia data folder in Dropbox or iCloud.
2. Read the same data on the other Mac.
Dropbox also has the advantage of keeping version of the file automatically, so it's in essence doing a backup of your file as you go. But you are correct that with that much work put into the cataloging, you should have another external backup. Every once in a while simply make a copy of these data folders now in dropbox to your USB drive or external hard drive.
Word of caution, Bookpedia does a lot of caching so when not in use it's best to quit Bookpedia, so that next time you open it it reads the file anew. Since you won't be in two places at once, Bookpedia will not have to deal with merging data coming in from two computers.
Hope that makes sense and you are able to get sync setup and going. If you have any questions don't hesitate to ask. And if you want to take another route let me know and I can describe steps for that.
To share the database between Macs you can use any shared location. Most users use Dropbox or iCloud, but it can also be a local server or mourning the hard drive from one computer on the other. Then both computers are reading the same data folder.
You would move your data folder from ~/Library/Application Support/Bookpedia to this shared location and then launch Bookpedia holding down option to select the new location. I personally use Dropbox and can recommend it, but you can replace iCloud for Dropbox in the instructions below. I mention only Bookpedia as you asked but the steps are the same for the other pedias should others read this post.
If you don't already have Dropbox, it a convenient program that automatically keeps a folder in sync across a number of computers via the Cloud. It's a free service up to 2 gigabytes (much more than you would need for all 4 Pedias). If you are signing up for the first time use this link, I get a 500 megabyte bonus on my own account.
1. Place the pedia data folder in Dropbox or iCloud.
- • On the first Mac
• Quit Bookpedia on both Macs.
• Hold down the option (alt) key and click on the "Go" menu in the Finder. Select "Library" menu command. (Only appears as the option is held down).
• Open the folder named "Application Support"
• Look for "Bookpedia" folder.
• Move it over to "Dropbox" folder in your home folder.
2. Read the same data on the other Mac.
- • Open the computer and automatically Dropbox should start downloading the latest changes. Give it a few minutes until it also says up to date or the "Bookpedia" folder inside Dropbox folder has a green check mark.
• Hold down the option key and start up Bookpedia on your other Mac.
• Click the 'Choose database' button, navigate to the new data folder location in Dropbox and select the Database.bookpd file.
• You need only do this once, after that opening up Bookpedia will read the data from that location.
Dropbox also has the advantage of keeping version of the file automatically, so it's in essence doing a backup of your file as you go. But you are correct that with that much work put into the cataloging, you should have another external backup. Every once in a while simply make a copy of these data folders now in dropbox to your USB drive or external hard drive.
Word of caution, Bookpedia does a lot of caching so when not in use it's best to quit Bookpedia, so that next time you open it it reads the file anew. Since you won't be in two places at once, Bookpedia will not have to deal with merging data coming in from two computers.
Hope that makes sense and you are able to get sync setup and going. If you have any questions don't hesitate to ask. And if you want to take another route let me know and I can describe steps for that.
Re: Sync between Macs
I did not realize one could successfully relocate the bookpedia database to Dropbox - that is great! One thing you mentioned at the end, though - "since you won't be in 2 places at once..."....well, what if I am?
Would a user on computer 1 be able to add books to the database while a different user on computer 2 updates book entries?
Would a user on computer 1 be able to add books to the database while a different user on computer 2 updates book entries?
Re: Sync between Macs
For the most part.Would a user on computer 1 be able to add books to the database while a different user on computer 2 updates book entries?
When changes happen at both sides Dropbox tries to merge them. For this to work the changes have to be far away from each other, adding entries, editing entries (not the same one). Once you start changing collections, likely hood that the changes will collide is big. When that happens, the last one to make changes overwrites the changes from the other computer.
But because the answer is not a definite, "of course it's okay", I leave it not recommended – for now. With the next version that is 10.12 only I will then be a able to poll Dropbox and iCloud for changes reliably and update within seconds, making the possibility of a simultaneous edit so slim that the answer will then be, "of course it's okay".
Re: Sync between Macs
Thanks, Conor! I look forward to the next version! It could be possible that 2 users would be working on books in the same collection [one editing an entry, adding sales data to it, and one adding an entry to the collection].
I keep multiple backups of the Bookpedia database, but even so, I'd rather not chance it until the answer is, "of course it's okay"
Is the next version that is 10.12 only, version 6.0, or something beyond that?
I keep multiple backups of the Bookpedia database, but even so, I'd rather not chance it until the answer is, "of course it's okay"
Is the next version that is 10.12 only, version 6.0, or something beyond that?
Re: Sync between Macs
The 10.12 and above requirement is coming with the 6.0 version.
Re: Sync between Macs
That sounds great, looking forward to it. Will this capability (specifically, being able to poll cloud services (DropBox, iCloud)) in the upcoming v6.0 release enable simultaneous access/editing only between two (or more?) Mac computers, or will it also enable iOS devices to simultaneously (and safely) read/write the Bookpedia database? Or is Bookpedia on iOS a separate matter?Conor wrote:The 10.12 and above requirement is coming with the 6.0 version.
Re: Sync between Macs
First step is to enable enable simultaneous access/editing between Macs. If that goes well and no errors are report after a long trial, then extend it to iOS as well. Although there more work is required as changes are tracked differently in the iOS database for faster WiFi syncs.
Re: Sync between Macs
Has this better (safer) sync between 2 Macs been implemented by now? We are at v6.2.1
Re: Sync between Macs
I'd love to know this too, as I am having major data loss using Dropbox [Bookpedia being used on the same Dropbox database on 2 Macs in different physical locations, but Bookpedia is never running on both Macs at the same time, yet data loss is consistent].moses wrote:Has this better (safer) sync between 2 Macs been implemented by now? We are at v6.2.1
I just wrote a more detailed post about this at Cloud Sync between mac apps, PocketPedia on iPhone and on TV as I am hoping that migrating to iCloud Drive will be more reliable.
Last edited by FineWine on Mon Aug 21, 2023 8:26 pm, edited 1 time in total.
Reason: Improved on link
Reason: Improved on link