[CalendarServer-dev] Correct location for .xml and .sqlite files

Rahul Amaram amaramrahul at users.sourceforge.net
Thu Jun 7 09:40:38 PDT 2012


Ok. Where are accounts.xml and servertoserver.xml stored? The more 
relevant point for me is who maintains these files. For ex, 
accounts.xml, sudoers.plist and caldavd.plist are managed by the 
administrator. So they are treated as config files and stored in 
/etc/caldavd/. What about all the other files? Are they edited by the 
administrator (in which case their directory should be ConfigRoot) or 
are they modified by the caldavd daemon (in which case directory should 
be DataRoot)?

On Thursday 07 June 2012 09:22 PM, Morgen Sagen wrote:
> On Jun 7, 2012, at 7:38 AM, Rahul Amaram<amaramrahul at users.sourceforge.net>  wrote:
>
>> Hi,
>> I am almost done with packaging calendarserver 3.2 for Debain. I am slightly confused with the location of various files though.
>>
>> I am assuming that for all .xml files (including augments.xml, proxies.xml and resources.xml), ConfigRoot is the appropriate directory for them. Am I right? Also where should augments.sqlite and proxies.sqlite supposedly be stored? I think even these should be stored in $ConfigRoot.
> On an OS X Server, our directory layout is:
>
> /Library/Server/Calendar and Contacts/    [aka ServerRoot]
> 	Config/	[aka ConfigRoot]
> 		caldavd.plist
> 	Data/   	[aka DataRoot]
> 		Attachments/		[aka AttachmentsRoot]
> 		Documents/		[aka DocumentRoot]
> 			.calendarserver_version
> 		augments.xml
> 		mailgatewaytokens.sqlite
> 		memberships_cache
> 		proxies.sqlite
> 		resources.xml

-- 
http://rahul.amaram.name



More information about the calendarserver-dev mailing list