diff options
author | David Walter Seikel | 2016-11-27 23:54:58 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-11-27 23:54:58 +1000 |
commit | b644b7167d3e6e537131bdd4c71fb2f99b536eb2 (patch) | |
tree | 6e5d806e8d38595ee7cf45afd8784dc821f80ca0 | |
parent | Sleep between backups based on size of the backup file. Poor mans "wait for ... (diff) | |
download | opensim-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.
-rwxr-xr-x | scripts/backup-inventories.sh | 4 |
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. |
16 | timestamp=$(ls -o --time-style="+%s" ${PRGDIR}/../backups/.keep | cut -d ' ' -f 5) | 16 | timestamp=$(ls -o --time-style="+%s" ${PRGDIR}/../../backups/.keep | cut -d ' ' -f 5) |
17 | touch ${PRGDIR}/../backups/.keep | 17 | touch ${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. |