[CalendarServer-dev] Error with Files backend in Debian Jessie
Rahul Amaram
amaramrahul at users.sourceforge.net
Wed Mar 5 12:13:55 PST 2014
On Thursday 06 March 2014 01:13 AM, Andre LaBranche wrote:
>
> On Mar 5, 2014, at 11:34 AM, Rahul Amaram
> <amaramrahul at users.sourceforge.net
> <mailto:amaramrahul at users.sourceforge.net>> wrote:
>
>> How do we perform database schema upgrade? Currently I am doing it
>> manually by calling each of the upgrade_from_<from>_to_<to>.sql
>> version files. Does calendarserver_upgrade take care of it? If not,
>> is there an easier way of doing it?
>
> Yes, calendarserver_upgrade has one job: to apply any necessary schema
> and data version upgrades. It is intended to be used immediately after
> upgrading to a newer version, before the service is started.
>
>> Currently for upgrading from 3.2 files to 5.1 db backend, I am just
>> creating a new db. And the migration from 3.2 files backend to 5.1 db
>> seems to work fine. Is there anything else that I should take care?
>
> That sounds like a workable strategy for this upgrade delta. Going
> forward, calendarserver_upgrade should be all that is needed.
>
> -dre
Thanks Andre. So, calendarserver_bootstrap_database is run for the first
time to setup db. And calendarserver_upgrade should be run for any
subsequent upgrades. Also, let me know if you think that there is
anything in calendarserver_upgrade which might make it to break in linux?
Regards,
Rahul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-dev/attachments/20140306/52abc84e/attachment.html>
More information about the calendarserver-dev
mailing list