User Tools

Site Tools


snapshot_backup

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
Previous revision
Next revision Both sides next revision
snapshot_backup [2011/09/23 15:25]
k2patel [Check Snapshot status]
snapshot_backup [2011/09/23 15:29]
k2patel [backup.sh]
Line 38: Line 38:
 # instance<​serial number must be unique> = <Volume ID> <​Retention Freq.> <total Retention>​ # instance<​serial number must be unique> = <Volume ID> <​Retention Freq.> <total Retention>​
  
-#instance1="​vol-2222pqrs 7 2" +instance1="​vol-2222pqrs 7 2" 
-#instance2="​vol-1111abcd 1 1"+instance2="​vol-1111abcd 1 1"
 </​code>​ </​code>​
  
Line 123: Line 123:
 #####################################​ #####################################​
  
-source config_bash 
  
-BASE=$(pwd) 
 BASE="​$( cd "$( dirname "​$0"​ )" && pwd )" BASE="​$( cd "$( dirname "​$0"​ )" && pwd )"
 cd $BASE cd $BASE
 +
 +source config_bash
 +
 DATE=$(date +%Y%m%d) DATE=$(date +%Y%m%d)
 perl=$(which perl) perl=$(which perl)
snapshot_backup.txt · Last modified: 2020/08/10 02:35 (external edit)