1
|
#!/bin/bash -e
|
2
|
. "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"/../lib/runscripts/util.run
|
3
|
.rel ../lib/sh/db.sh
|
4
|
|
5
|
main() { begin_target; mysql_snapshot "$@"; }
|
6
|
|
7
|
# initial upload time, vegbiendev->jupiter:
|
8
|
# GBIF/raw_occurrence_record.MYD: 91 GB/7 h ("08:59:07" - "02:00:02") = 3.7 MB/s
|
9
|
# calculated using:
|
10
|
if false; then
|
11
|
ssh aaronmk@jupiter.nceas.ucsb.edu
|
12
|
stat --format=%z ~/Documents/BIEN/var/lib/mysql.bak/GBIF/rank.frm # start
|
13
|
stat --format=%z ~/Documents/BIEN/var/lib/mysql.bak/GBIF/raw_occurrence_record.MYD # end
|
14
|
fi
|