ResetCDR: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
(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...")
Tag: 2017 source edit
 
m (Administrator moved page R2D2 - ResetCDR to ResetCDR without leaving a redirect)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
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.
This command resets (purges) CDR, GSM Authentication log and Data log files.  
 
Backup files for GSM Authentication log and Data log are created by suffixing specified file name with _DATA and _RDR suffixes.


'''COMMAND:'''
'''COMMAND:'''
Line 9: Line 7:
!Returns
!Returns
|-
|-
|BackupCDR
|ResetCDR
|Backup Filename
|None.
|[[R2D2 Error Codes|Error Code]] in case of error.
|None.
|}
|}
'''EXAMPLE'''
'''EXAMPLE'''


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

Latest revision as of 10:47, 27 March 2025

This command resets (purges) CDR, GSM Authentication log and Data log files.

COMMAND:

Command Line Arguments Returns
ResetCDR None. None.

EXAMPLE

~# ResetCDR