Peripherals
Q: What about other services that depends on PostgreSQL?
How do I export and import caldav please?
Posted on Apr 15, 2013 8:31 AM
by Matthew Jason,Solvedanswer
Peripherals
This is what calendarserver_backup does to backup...
sudo pg_dump -h "/Library/Server/PostgreSQL For Server Services/Socket" --username=caldav --clean --no-privileges --file=/path/to/your_dump_file caldav
...and restore...
sudo psql -h "/Library/Server/PostgreSQL For Server Services/Socket" --username=caldav --file=/path/to/your_dump_file
By user: ~morgen
Posted on Apr 15, 2013 9:42 PM