Configure Scheduled Log and Support Info Backups

This task explains how to establish an automatic, timed backup of your Log and Support Info output and send it to a push-receiver.

Push receiver configurations establish a connection to the SFTP server to which the SBC pushes records. You can configure the SBC to include copies of your log and show support-info output backup within these records.

To configure scheduled log file and show support-info output backups:

  1. Access the schedule-backup configuration element.
    ORACLE# configure terminal
    ORACLE(configure)# system
    ORACLE(system)# system-config 
    ORACLE(system-config)# select
    ORACLE(system-config)# schedule-backup 
    ORACLE(schedule-backup)# 
  2. logs-backup—Access the logs-backup sub-element.
    ORACLE (schedule-backup)# logs-backup
    ORACLE(logs-backup)#
  3. admin-state—Enable or disable this backup feature. This parameter is disabled by default.
    • disabled(default)
    • enabled
  4. retry-interval—Specify the interval the system uses to determine when it tries to resend a configuration backup after an attempt fails. The range is 5 to 10 minutes and the default is 5 minutes.
  5. retry-count—Specify the maximum number of times the system tries to resend a configuration backup after prior attempts fail. The range is 1 to 3 retries and the default is 3 retries.
  6. push-failure-alarm—Enable or disable the generation of alarms and traps in case of any push-receiver failures. This alarm is of severity type Warning.
    • enabled (default)
    • disabled
  7. support-info-interval—Specify the number of hours between each stored show support-info output.
    • 3 (default)
    • Range is 1 to 48 hours
  8. all-logs-interval—Specify the number of hours after which the system creates another log package.
    • 12 (default)
    • Range is 1 to 48 hours
  9. include-all-logs—Enable or disable the system to include all logs in each log package in addition to the support-info output. When disabled, the system only backs up the support-info output.
  10. local-backups-count—Specify the number of packaged “show support-info” files to be maintained for rotation.
    • 5 (default)
    • Range is 1 to 24
  11. local-logs-backup-count—Specify the number of packaged “all logs” files to be maintained for rotation.
    • 5 (default)
    • Range is 1 to 12
  12. local-logs-dir-size—Specify the desired size (in KB) of the “/opt/archives/logs” folder to be maintained for storage.
    • 1024 MB (default)
    • Range is 512 to 2048 MB
  13. push-receiver—Access the push-receiver sub-element.
    ORACLE(push-receiver)#
  14. address—Enter the IPv4 address of the push receiver to which you want records sent.
    • Default: 0.0.0.0
  15. username—Enter the username that the SBC uses when it sends records to this server.
  16. password—Enter the password that the SBC uses when it sends records to this server.
    ORACLE(push-receiver)# password 
    Enter password: 
    Retype password: 
    Password updated
    ORACLE(push-receiver)#
  17. data-store—Enter the absolute path on the remote server where you want the collected data placed.
  18. protocol—Enter the protocol used to push configuration data to the server.
    • sftp (default)

    Note:

    For SFTP to work, you must import the public key of the SFTP server into the SBC. See the "Manage SSH Keys" in the ACLI Configuration Guide.