Cisco Cisco StadiumVision Mobile Streamer Manual De Mantenimiento
© 2011 Cisco Systems, Inc. All rights reserved.
Page 17 of 21
/usr/bin/find /var/sv/RESTORE -mtime +30 -exec rm {} \;
Renaming Backup and Restore Files
By default, the files in the backup and restore directories use the following naming
convention:
convention:
sv
-<software version>
-
<date time>-<time zone>
.chksum
where:
software version
= current software version (with a dash) and build number. For
example: 2-2.0.30
date time
= YYYY/MMDDHHMMSS. For example: the entry 20100731152417 is
July 31 2010 at 15:24:17
Time zone
= the assigned value for the time zone.
For example:
If <version> = “2.2.0.25”
If <date time > = “20100721105831
If <time zone> = “0700”
then the format would be:
sv-2.2.0.25-20100721105831-0700.chksum
sv-2.2.0.25-20100721105831-0700.tar
You can change the directory name to add a meaningful description, and change
the date, time, and time zone. However, this needs to be done in a very specific
location in order for restore to work.
the date, time, and time zone. However, this needs to be done in a very specific
location in order for restore to work.
Below is an example of how to add the description ‘AfterGiantsGame’ to the default
restore file name:
restore file name:
mv sv-2.2.0.30-20100721152417-0400.chksum sv-2.2.0.30AfterGiantsGame-20100721152417-004.chksum
mv sv-2.2.0.30-20100721152417-0400.tar sv-2.2.0.30AfterGiantsGame-20100721152417-004.tar
You must reload the Dashboard to make the rename take effect.
Important! If you add a description after the version, you must remove the dash.
Scheduling a RestoreTask to Run Ad-Hoc
You can configure the secondary server to periodically restore the backup copied
into its /var/sv/RESTORE directory as follows:
into its /var/sv/RESTORE directory as follows:
1. On the secondary server, open the Dashboard and select Tools > Advanced >
Scheduled Tasks.
2. Select Add Row and enter RestoreTask for the Task Type.
3. Click Apply.