BackupCDR: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
==DESCRIPTION==
DESCRIPTION
This command saves current CDR, GSM Authentication log and Data log files into specified files, and then if optional flag is present resets (purges) it. Backup files for GSM Authentication log and Data log are created by suffixing specified file name with _DATA and _RDR suffixes.
This command saves current CDR, GSM Authentication log and Data log files into specified files, and then if optional flag is present resets (purges) it. Backup files for GSM Authentication log and Data log are created by suffixing specified file name with _DATA and _RDR suffixes.
==COMMAND==
==COMMAND==
Line 7: Line 7:
{{:BackupCDR Synopsis}}
{{:BackupCDR Synopsis}}
|}
|}
== EXAMPLE ==
EXAMPLE
~# BackupCDR /var/cdr/backup-01-04-2012.cdr<br>
~# BackupCDR /var/cdr/backup-01-04-2012.cdr<br>
~#<br>
~#<br>

Revision as of 15:51, 12 May 2024

DESCRIPTION This command saves current CDR, GSM Authentication log and Data log files into specified files, and then if optional flag is present resets (purges) it. Backup files for GSM Authentication log and Data log are created by suffixing specified file name with _DATA and _RDR suffixes.

COMMAND

Command Input arguments Returns

BackupCDR Synopsis

EXAMPLE ~# BackupCDR /var/cdr/backup-01-04-2012.cdr
~#
~# ls -l /var/cdr/
-rw-r--r-- 1 administ root 164780 Jul 11 09:56 backup-01-04-2012.cdr
-rw-r--r-- 1 administ root 7574 Jul 11 09:56 backup-01-04-2012.cdr_DATA
-rw-r--r-- 1 administ root 30 Jul 11 09:56 backup-01-04-2012.cdr_RDR