aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-11-27 23:54:58 +1000
committerDavid Walter Seikel2016-11-27 23:54:58 +1000
commitb644b7167d3e6e537131bdd4c71fb2f99b536eb2 (patch)
tree6e5d806e8d38595ee7cf45afd8784dc821f80ca0
parentSleep between backups based on size of the backup file. Poor mans "wait for ... (diff)
downloadopensim-SC_OLD-b644b7167d3e6e537131bdd4c71fb2f99b536eb2.zip
opensim-SC_OLD-b644b7167d3e6e537131bdd4c71fb2f99b536eb2.tar.gz
opensim-SC_OLD-b644b7167d3e6e537131bdd4c71fb2f99b536eb2.tar.bz2
opensim-SC_OLD-b644b7167d3e6e537131bdd4c71fb2f99b536eb2.tar.xz
Backup one more level.
Diffstat (limited to '')
-rwxr-xr-xscripts/backup-inventories.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/backup-inventories.sh b/scripts/backup-inventories.sh
index ef74385..2187f1f 100755
--- a/scripts/backup-inventories.sh
+++ b/scripts/backup-inventories.sh
@@ -13,8 +13,8 @@ done < <(grep ConnectionString ${PRGDIR}/../config/config.ini | cut -d '"' -f 2)
13# The above seems the best way to get bash to let the creds assignments survive outside the loop. 13# The above seems the best way to get bash to let the creds assignments survive outside the loop.
14 14
15# Only backup those that have not logged on since their last backup, but returning prims from sims will bypass this check. 15# Only backup those that have not logged on since their last backup, but returning prims from sims will bypass this check.
16timestamp=$(ls -o --time-style="+%s" ${PRGDIR}/../backups/.keep | cut -d ' ' -f 5) 16timestamp=$(ls -o --time-style="+%s" ${PRGDIR}/../../backups/.keep | cut -d ' ' -f 5)
17touch ${PRGDIR}/../backups/.keep 17touch ${PRGDIR}/../../backups/.keep
18# Well it was good in theory, but looks like they broke it in 8.2, no logging in or out updates to GridUser. 18# Well it was good in theory, but looks like they broke it in 8.2, no logging in or out updates to GridUser.
19 19
20# Get the user names, and back 'em up. 20# Get the user names, and back 'em up.