There's an easy way to make global changes to your database in Optivity... (you may have guessed from the last tip).<br>
<br>
Modify the plain text backup.<br>
<br>
For instance, instead of retopoligizing or making laborous individual changes to each device in a large network after making a network-wide community name change, you can simply edit the string in the backup file and restore it.<br>
<br>
Change done.<br>
<br>
Bonus tip:<br>
<br>
But I only have vi as an editor... Woe is me.<br>
<br>
You can still make global changes with vi as well. Take the previous example, we've changed all our read community strings from "public" to "twit". The syntax in vi for the global change would be:<br>
<br>
:g/public/s/public/twit/g :g/<string to search for>/<action><br>
actions ==> s/<what to replace>/<replacement string>/g<br>
(Substitute)<br>
(the "g" means change all ocurrences)<br>
d (Delete the line)
<br>
Modify the plain text backup.<br>
<br>
For instance, instead of retopoligizing or making laborous individual changes to each device in a large network after making a network-wide community name change, you can simply edit the string in the backup file and restore it.<br>
<br>
Change done.<br>
<br>
Bonus tip:<br>
<br>
But I only have vi as an editor... Woe is me.<br>
<br>
You can still make global changes with vi as well. Take the previous example, we've changed all our read community strings from "public" to "twit". The syntax in vi for the global change would be:<br>
<br>
:g/public/s/public/twit/g :g/<string to search for>/<action><br>
actions ==> s/<what to replace>/<replacement string>/g<br>
(Substitute)<br>
(the "g" means change all ocurrences)<br>
d (Delete the line)