ResetCDR

From Ultiroam User Docs
Revision as of 19:58, 14 May 2024 by Administrator (talk | contribs) (Created page with "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:''' {| class="wikitable" !Command !Line Arguments !Returns |- |BackupCDR |Backup Filename |Error Code in case of error. |} '''EXAMPLE''' ~# BackupCDR /var/cdr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 Arguments Returns
BackupCDR Backup Filename Error Code in case of error.

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