Cisco Cisco StadiumVision Mobile Maintenance Manual
© 2011 Cisco Systems, Inc. All rights reserved.
Page 9 of 21
Manually Copying Backup Files from the Primary to the
Secondary
Secondary
1. On the primary server cd to the backup directory using “cd /var/sv/BACKUP” and
perform a “ls -lt" to locate the backup file you want to copy
[username@svd1 ~]$ cd /var/sv/BACKUP
[username@svd1 BACKUP]$ ls –lt
total 9395340
-rw-r--r-- 1
root root 85 Nov 11 05:36 sv-2.2.0.55-20101111053000+0000.chksum
-rw-r--r-- 1 root root 508692480 Nov 11 05:36 sv-2.2.0.55-20101111053000+0000.tar
2. Use “scp” to copy the “.tar” and “.chksum” file of the backup you want to copy
from the primary server to the secondary server:
[username@svd1 BACKUP]$ scp sv-2.2.0.55-20101030053134+0100.tar
username@172.16.52.10:/var/sv/RESTORE
sv-2.2.0.55-20101030053134+0100.tar 100% 452MB 11.3MB/s 00:40
[username@svd1 BACKUP]$ scp sv-2.2.0.55-20101030053134+0100.chksum
username@172.16.52.10:/var/sv/RESTORE
sv-2.2.0.55-20101030053134+0100.chksum 100% 85 0.1KB/s 00:00
In the above example replace ‘username’ with the username you will use
for the copy, sv-2.2.0.55-20101030053134+0100.tar and sv-2.2.0.55-
20101030053134+0100.chksum with the values pulled from step 1 and
172.16.52.10 with the IP address of the secondary server.
for the copy, sv-2.2.0.55-20101030053134+0100.tar and sv-2.2.0.55-
20101030053134+0100.chksum with the values pulled from step 1 and
172.16.52.10 with the IP address of the secondary server.
3. SSH into the secondary server and verify if the data is correctly copied with the
md5sum command on the .tar file copied and compare the results with the
.chksum file copied over:
.chksum file copied over:
[username@svd2 ~]$ cat /var/sv/RESTORE/sv-2.2.0.55-20101030053134+0100.chksum
77eab49b132ffd2a08644df3125768af /var/sv/BACKUP/sv-2.2.0.55-20101030053134+0100.tar
[username@svd2 ~]$md5sum /var/sv/RESTORE/sv-2.2.0.55-20101030053134+0100.tar
77eab49b132ffd2a08644df3125768af /var/sv/RESTORE/sv-2.2.0.55-20101030053134+0100.tar