Using dnl_backup_tool
CDR Management
Assuming you are using the default installation path, then you can find the configuration in the following file:
/opt/denovo/dnl_backup_tool/conf/dnl_backup_tool.confThe following fields let you configure how many days you want to keep CDRs in local disk.
basepath /opt/denovo/dnl_softswitch/cdr/
# Compress CDR all data older than this value (in days)
# Default: 0 - do not compress .cdr files
keep_cdr 3
# Remove all archives older than this value (in days)
# Default: 0 - do not remove old archives
keep_archives 10
Within the same config file, you can setup Google cloud storage as follows:
### Gcloud configuration
# Authentication type (service, oauth2)
# Default: service
gcloud_type service
# (M) Bucket to use
gcloud_backup_bucket your_bucket_name
# (M) Authorization methods
#
# Service account:
# - set gcs_auth_type to SERVICE
# - provide path to JSON keyfile in *gcs_keyfile_path
#
# OAuth2:
# - set gcs_auth_type to OAUTH2
# - specify client email, secret and refresh token
#
gcloud_key_file /opt/denovo/dnl_backup_tool/conf/tokyo-bird-344444-7c1c6325c412.json
#gcloud_key_file /opt/denovo/dnl_backup_tool/conf/ytel-powersips.json
gcloud_email your_google_cloud_account
gcloud_secret RkLYIe3k5tfffhJbi96Kut
gcloud_token 1/7jrRTfff7ZFkTp9u4sA1f0595t7__SmLS7oXPIf you prefer to use FTP for your cold storage, then you can setup the following parameters:
After you make changes to this config file, you must restart the switch to make it effective. Here is the command to restart Class 4 backup tool:
When setup correctly, you should see CDRs being pushed to your Google Cloud bucket like below:

Last updated
Was this helpful?