cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
543
Views
0
Helpful
2
Replies

cisco lms - backup out of the box

Ignacio Freyre
Level 1
Level 1

when using cisco lms 4.2.5 linux version, what would be the best way to backup the config files out of the box?

what i'm lookin for is a way to take the shadow folder to another box for disaster recovery.

1 Accepted Solution

Accepted Solutions

AFROJ AHMAD
Cisco Employee
Cisco Employee

you can use the cwcli export command to export the config ,check the below link::

http://www.cisco.com/c/en/us/td/docs/net_mgmt/ciscoworks_lan_management_solution/4-2/user/guide/configuration/config/cwcli.html#wp1145101

**** all configurations are saved under /var/adm/CSCOpx/files/rme/dcma/shadow on linux

you can also create some kind of script to backup this folder.

 

Thanks-

Afroz

***Ratings Encourages Contributors ***

 

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

View solution in original post

2 Replies 2

AFROJ AHMAD
Cisco Employee
Cisco Employee

you can use the cwcli export command to export the config ,check the below link::

http://www.cisco.com/c/en/us/td/docs/net_mgmt/ciscoworks_lan_management_solution/4-2/user/guide/configuration/config/cwcli.html#wp1145101

**** all configurations are saved under /var/adm/CSCOpx/files/rme/dcma/shadow on linux

you can also create some kind of script to backup this folder.

 

Thanks-

Afroz

***Ratings Encourages Contributors ***

 

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Hi, i found this solution to work very well for exporting files out of the box:

As user root:

1) on cisco-lms install sshfs, which lets you mount a folder on a remote box through sftp:
install in the following order:
rpm -ivh fuse-libs-2.7.4-8.el5.x86_64.rpm
rpm -ivh fuse-2.7.4-8.el5.x86_64.rpm
rpm -ivh fuse-sshfs-2.5-1.el5.rf.x86_64.rpm

2) mount 
mkdir /mnt/backup
sshfs root@<remote-linux-box-ip>:<remote-folder> /mnt/backup -o allow_other

3) rsync with cron
00 1 * * * rsync -r -v /var/adm/CSCOpx/files/rme/dcma/shadow/* /mnt/backup/ >> /root/rsync.log 2>&1

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: