Administration

Log

The log of each components can be found in the /var/log/xivocc directory. Currently (it may change) the structure looks like this :

/var/log/xivocc :
├── purge-reporting-database.log
├── specific-stats.log
├── xivo-db-replication.log
├── xivo-full-stats.log
    ├── recording-server
│   ├── dowloads.log
│   ├── downloads.log
│   └── recording-server.log
├── xuc
│   └── xuc.log
└── xucmgt
    └── xucmgt.log

Backup

You may backup your statistic database by using a similar command as below

docker  run --rm --link demo_pgxivocc_1:db -v $(pwd):/backup -e PGPASSWORD=xivocc postgres pg_dump -h db -U postgres --format=c -f /backup/xivo_stats_dump xivo_stats

Restore

You may restore a backup using a similar command (to be adapted)

docker run --rm -it --link pgxivoccdemo_pgxivocc_1:db -v $(pwd):/backup postgres pg_restore -h db -c -U postgres -d xivo_stats /backup/xivo_stats_dump