Currently Being ModeratedJul 22, 2011 9:25 AM (in response to jaydisc)
Calendar and AddressBook have been combined under the hood into a single service which lives in /Library/Server/Calendar and Contacts/ . When you upgrade/migrate your Snow data will get imported into the system Postgres the first time you start either the Calendar or AddressBook services.
Currently Being ModeratedJul 22, 2011 6:59 PM (in response to ~morgen)
Thanks for that.
Any idea how to do a migration after the first launch?
Or instead, any idea how to completely reset it to it will re-attempt the "first launch"? My guess would be to delete that folder (/Library/Server/Contacts and Calendars), restore the 10.6 folders, as well as somehow obliterate the existing Postgres database. Or do you think it could be as simple as restoring /Library/AddressBook and restarting the new service?
Currently Being ModeratedJul 25, 2011 11:16 AM (in response to jaydisc)
If you want to migrate addressbook data after the fact, copy your old addressbooks folder to /Library/Server/Calendar and Contacts/Documents/addressbooks and restart the addressbook service. The server will notice the existence of that folder and import the data into Postgres.
Currently Being ModeratedJul 25, 2011 11:04 PM (in response to ~morgen)
Awesome. Thanks again. One more... The import worked. I see the addressbooks folder was renamed to addressbooks_migrated, but alas, the user isn't seeing them. I suspect it's due to an ID mismatch. Any idea how to get access to the database, specifically what credentials can use? I can plow my way through using psql, I just know where to begin with credentials.
Currently Being ModeratedJul 25, 2011 11:25 PM (in response to jaydisc)
Actually, I've got in using psql as such:
> sudo -u _postgres psql
Might drop the database and start again with my newfound knowledge.
Currently Being ModeratedSep 4, 2011 5:16 AM (in response to ~morgen)
Are you sure there is only one place where address book and calendars are stored and that is /Library/Server/Calendar and Contacts?
I stopped the ical and address book services, replaced the sqlite files with a backup one week old, restarted the server and resetted the calendar and address book clients.
I was expected clients would load these calendar and address book data (one week old). But to my surprise clients loaded again the TODAY calendar and address book (from where?).
What am I doing wrong?
Currently Being ModeratedSep 4, 2011 3:15 PM (in response to Evian)
Hi Evian, I think you have misunderstood. While the data STARTS there, it is imported into PostgreSQL, the database server in Lion Server. So backing up and restoring that folder will not affect your data at all.
You need to do routine backups of the PostgreSQL databases, and then you could restore those as necessary. That's probably beyond the scope of this thread though.