09-18-2014 02:35 PM
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.
Solved! Go to Solution.
09-18-2014 08:00 PM
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 ***
09-18-2014 08:00 PM
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 ***
09-19-2014 09:34 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide