calendars and contacts how to locate backups files

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator

mojamoi

Well-Known Member
Jul 23, 2007
195
0
66
Hello

the data is to be moved from calendar apps that are php files when the "calendar and contact app" was not installed to the calendars app.

The step you mentioned works only for .ics files
/opt/cpanel-ccs/bin/calendarserver_import -i /path/to/your/file.ics

I want to copy calendar from .php to calendar app as I dont have old data in .ics format






[root@backup cpmove-wot]# ll ./homedir/cav.org.uk/cp/plugins/fields/calendar
total 24
drwxr-xr-x 4 1307 1309 4096 Oct 1 2019 ./
drwxr-xr-x 18 1307 1309 4096 Oct 1 2019 ../
-rw-r--r-- 1 1307 1309 1278 Sep 23 2019 calendar.php
-rw-r--r-- 1 1307 1309 869 Sep 23 2019 calendar.xml
drwxr-xr-x 2 1307 1309 4096 Oct 1 2019 params/
drwxr-xr-x 2 1307 1309 4096 Oct 1 2019 tmpl/
 
Last edited:

mojamoi

Well-Known Member
Jul 23, 2007
195
0
66
[root@backup cpmove-wot]# cat ./homedir/etc/domain.org.uk/@pwcache/calendar
passwd:$6$jme70iq7IlIizqdC$xHXgzdYrpF1F0fUmfM9hM7q2zyOg4nydPy.T56gC.pdxmH6h2NHIKceuY19X0Joq.q17HVgMO2t14mU0Op6B71
quota:1073741824
homedir:/home/wotccorg/mail/domain.org.uk/calendar
lastchanged:18658
 

mojamoi

Well-Known Member
Jul 23, 2007
195
0
66
]# ll ./homedir/mail/dom.org.uk/calendar
total 72
drwxr-x--x 11 1307 1309 4096 Jan 31 2021 ./
drwxr-x--x 11 1307 1309 4096 Jan 31 2021 ../
drwxr-x--x 5 1307 1309 4096 Jan 31 2021 .Archive/
drwxr-x--x 2 1307 1309 4096 Jan 31 2021 cur/
-rw-r----- 1 1307 1309 0 Jan 31 2021 dovecot-acl-list
-rw-r----- 1 1307 1309 236 Jan 31 2021 dovecot.index.log
-rw-r----- 1 1307 1309 2348 Jan 31 2021 dovecot.list.index.log
-rw-r----- 1 1307 1309 48 Jan 31 2021 dovecot.mailbox.log
-rw-r----- 1 1307 1309 51 Jan 31 2021 dovecot-uidlist
-rw-r----- 1 1307 1309 8 Jan 31 2021 dovecot-uidvalidity
-r--r--r-- 1 1307 1309 0 Jan 31 2021 dovecot-uidvalidity.6016b103
drwxr-x--x 5 1307 1309 4096 Jan 31 2021 .Drafts/
drwxr-x--x 5 1307 1309 4096 Jan 31 2021 .Junk/
-rw------- 1 1307 1309 19 Jan 31 2021 maildirsize
drwxr-x--x 2 1307 1309 4096 Jan 31 2021 new/
drwxr-x--x 5 1307 1309 4096 Jan 31 2021 .Sent/
drwxr-x--x 5 1307 1309 4096 Jan 31 2021 .spam/
-rw-r----- 1 1307 1309 18 Jan 31 2021 subscriptions
drwxr-x--x 2 1307 1309 4096 Jan 31 2021 tmp/
drwxr-x--x 5 1307 1309 4096 Jan 31 2021 .Trash/
 

mojamoi

Well-Known Member
Jul 23, 2007
195
0
66
[root@backup cpmove-wotccorg]# ll ./homedir/cav.org.uk/cp/plugins/fields/calendar
total 24
drwxr-xr-x 4 1307 1309 4096 Oct 1 2019 ./
drwxr-xr-x 18 1307 1309 4096 Oct 1 2019 ../
-rw-r--r-- 1 1307 1309 1278 Sep 23 2019 calendar.php
-rw-r--r-- 1 1307 1309 869 Sep 23 2019 calendar.xml
drwxr-xr-x 2 1307 1309 4096 Oct 1 2019 params/
drwxr-xr-x 2 1307 1309 4096 Oct 1 2019 tmpl/