projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
made the output file nicer, and time stamped it.
[feisty_meow.git]
/
scripts
/
opensim
/
backup_osgrid.sh
diff --git
a/scripts/opensim/backup_osgrid.sh
b/scripts/opensim/backup_osgrid.sh
index 4e14399a91d43f9eec87690fc995bc0ba48c42ba..c77b3be5f14f7bddfd8c06d6b4187775923c7d7d 100644
(file)
--- a/
scripts/opensim/backup_osgrid.sh
+++ b/
scripts/opensim/backup_osgrid.sh
@@
-1,6
+1,8
@@
#!/bin/bash
# a simple script that backs up the opensim database assets.
#!/bin/bash
# a simple script that backs up the opensim database assets.
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+
host=$(echo $(hostname) | sed -e 's/\([^.]*\)\..*/\1/')
bkupname=osgrid_bkup_${host}_$(date_stringer).mysql_bkup
host=$(echo $(hostname) | sed -e 's/\([^.]*\)\..*/\1/')
bkupname=osgrid_bkup_${host}_$(date_stringer).mysql_bkup