From 691b08034b7f0eb263df1c6cdf709b8cfef5565b Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Thu, 19 Jan 2017 16:51:07 -0500 Subject: [PATCH] Add a script to create a data snapshot of the DB. --- scripts/create_snapshot.shl | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 scripts/create_snapshot.shl diff --git a/scripts/create_snapshot.shl b/scripts/create_snapshot.shl new file mode 100755 index 0000000..2f07d1a --- /dev/null +++ b/scripts/create_snapshot.shl @@ -0,0 +1,28 @@ +#!/bin/bash + +# This script is used to create data snapshots that don't disclose any +# identifying player or server information. + +psql -U xonstat -h localhost xonstatdb < ${DATE}_xonstatdb_snapshot.dmp -- 2.39.2