This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
snapshot_backup [2011/09/23 15:26] k2patel [bash config] |
snapshot_backup [2011/09/23 15:32] k2patel [Requirement :] |
||
---|---|---|---|
Line 8: | Line 8: | ||
* perl | * perl | ||
* Net::Amazon::EC2 | * Net::Amazon::EC2 | ||
+ | * DBI:SQLite | ||
* bash | * bash | ||
Line 123: | Line 124: | ||
##################################### | ##################################### | ||
- | 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) |