Skip to main content
ManualsDex
Cisco Original PDF 4 Pages100 KB

Cisco Backup and Restore ONP Database Software User Guide

Category:Backup and Restore ONP Database Software
Download PDF (100 KB)

Document viewer

4 Pages · 100 KB · Cisco official PDF

Manual overview & contents

Cisco · 4 Pages

Official 4-page Cisco documentation (100 KB PDF). Key sections include Backup and Restore Cisco ONP Database, Backup Database, Setup Backup, Perform Manual Backup, Schedule a Backup.

Based on the database backup configuration on the server, as set by the system admins, you can take the backup of the complete database on a daily, weekly, or monthly basis. Only system admins can access the backup folders and restore them. The following backup archives are available: - Archives for the last 7 days - Weekly archives for the last 4 weeks - Monthly archives for the last 6 months You can change the duration for monthly archives. Log into the Cisco ONP server, where you have installed Cisco ONP by using the tar archive. Create a folder for backup. Ideally it should be mounted on a reliable object storage (like NFS).

Sections inside this manual

Page numbers for quick lookup in the PDF
  1. Backup and Restore Cisco ONP Databasep. 1
  2. Backup Databasep. 1
  3. Setup Backupp. 1
  4. Perform Manual Backupp. 2
  5. Schedule a Backupp. 2
  6. Schedule a Backup Using Scriptp. 2
  7. Syntax to Schedule the Backup Using Crontabp. 3
  8. Restore Database Using Scriptp. 4

Extracted manual text

Backup and Restore Cisco ONP Database

Backup Database, on page 1
Restore Database Using Script, on page 4 Backup Database Based on the database backup configuration on the server, as set by the system admins, you can take the backup of the complete database on a daily, weekly, or monthly basis. Only system admins can access the backup folders and restore them. Backup archive is stored on highly durable NFS share. The following backup archives are available:
Archives for the last 7 days
Weekly archives for the last 4 weeks
Monthly archives for the last 6 months You can change the duration for monthly archives.

Note

Ensure that highly durable 2 TB NFS storage is available to store database archives.
Ensure that the storage is accessible from the Cisco ONP environment. Set up rules that are defined by the Cisco ONP network and appropriate ACL (Access Control List) to permit or deny access to the storage.

Step 1

Log into the Cisco ONP server, where you have installed Cisco ONP by using the tar archive.

Create a folder for backup. Ideally it should be mounted on a reliable object storage (like NFS).

Copy backup, rotation, and setup backup scripts from ONP/images folder to the new folder created in step 2.

Backup and Restore Cisco ONP Database

Ensure that all scripts have necessary permissions:

Perform the following steps for the backup operation:

Step 1

Browse to the location, where the backup_mongo.sh script is stored.

Execute the backup_mongo.sh script using the following command: Example: user@server:~/cnp_backups$ bash backup_mongo.sh The backup file gets stored in the daily backup folder (backup.daily) with the current time stamp.

Use this task to schedule the backup operation using script:

Step 1

Log in to the Cisco ONP server.

Execute the rotation.sh script using the following command: user@server:~/cnp_backups$ bash rotation.sh This command creates necessary folder structure.

Execute the setup_backup.sh script using the following command:

Backup and Restore Cisco ONP Database

Example: The backup file gets stored in the daily backup folder (backup.daily) with the current time stamp.

Enter the path in the user prompt to store the file.

Backup files are stored in your required file path as following:

Use this task to schedule the backup operation using Crontab:

Step 1

Log in to the Cisco ONP server.

Frequently asked questions

What topics are covered in the Cisco Backup and Restore ONP Database Software User Guide?

This 4-page manual covers: Backup and Restore Cisco ONP Database, Backup Database, Restore Database Using Script.

More manuals from Cisco

View all →
Download (100 KB)