Created
January 4, 2013 02:32
-
-
Save wgzhao/4449429 to your computer and use it in GitHub Desktop.
create amand backup server device label
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -su-3.2$ for (( i=1;$i < =9;i++)); do amlable FileBackup FileBackup-0$i slot $i;done | |
| labeling tape in slot 1 (file://yourpath/FileBackup/slots): | |
| Reading label... | |
| Found an empty tape. | |
| Writing label FileBackup-01.. | |
| Checking label... | |
| Success! | |
| labeling tape in slot 2 (file://yourpath/FileBackup/slots): | |
| Reading label... | |
| Found an empty tape. | |
| Writing label FileBackup-02.. | |
| Checking label... | |
| Success! | |
| ....... | |
| -su-3.2$ for ((i=10;$i<=25;i++));do amlabel FileBackup FileBackup-$i slot $i;done | |
| labeling tape in slot 10 (file://yourpath/FileBackup/slots): | |
| Reading label... | |
| Found an empty tape. | |
| Writing label FileBackup-10.. | |
| Checking label... | |
| Success! | |
| labeling tape in slot 11 (file://yourpath/FileBackup/slots): | |
| Reading label... | |
| Found an empty tape. | |
| Writing label FileBackup-11.. | |
| Checking label... | |
| Success! | |
| ....... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment