Backup and restore - does not backup call records and does not restore root owner files

Hello guys,
I have two problems with Backup&Restore module and be grateful for any help.

At first I would like to backup all call records files (stored at /var/spool/asterisk/monitor)
and I assumed that is done due to Call Recording and CDR Reports modules. But obviously not, cause I didn’t see them even in *.tar archive.
So how can I achive that?

And second qouestion is about restore:
I backup some separated files like /etc/hosts , /etc/hostname , /etc/resolv.conf and they are stored in backup *.tar archive.
But when I try to restore them, in restore log is written:

Restoring custom file to /etc/hosts
copy(/etc/hosts): failed to open stream: Permission denied
Restoring custom file to /etc/hostname
copy(/etc/hostname): failed to open stream: Permission denied
Restoring custom file to /etc/resolv.conf
copy(/etc/resolv.conf): failed to open stream: Permission denied
Restoring custom file to /etc/asterisk/extensions_custom.conf
Reloading… DONE

So there is a probably problem with owner: extensions_custom.conf has owner Asterisk and other files (hosts, hostname, resolv) has owner root.

So how could I restore root files?
Many thanks for advices

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.