Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
en:jobs:opennebula [2015/04/10 17:22]
admin [Introduction.]
en:jobs:opennebula [2015/04/13 14:07]
admin [BACKUP]
Line 980: Line 980:
   if test -z "​$snapcurchk"​   if test -z "​$snapcurchk"​
    then    then
-    echo "​current snapshot exist" 
-   else 
     /​usr/​bin/​rbd snap create --snap $currdate one/$i     /​usr/​bin/​rbd snap create --snap $currdate one/$i
     /​usr/​bin/​rbd export one/​$i@$currdate /​rbdback/​$i-$currdate     /​usr/​bin/​rbd export one/​$i@$currdate /​rbdback/​$i-$currdate
-  ​fi+   ​else 
 +    echo "​current snapshot exist"  
 + fi
   if test -z "​$snapoldchk"​   if test -z "​$snapoldchk"​
     then     then
en/jobs/opennebula.txt · Last modified: 2015/04/15 19:15 by admin
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki