summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/docker/backup.sh
blob: b533c3ef0a151b505591569bf28f0e8ce7b4a7d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# Pull in AAF Env Variables from AAF install
if [ -e ../../docker/d.props ]; then
  . ../../docker/d.props
fi
DOCKER=${DOCKER:-docker}

$DOCKER container exec -it aaf_cass bash -e '/opt/app/aaf/cass_init/pull.sh'
$DOCKER container cp aaf_cass:/opt/app/aaf/cass_init/dat.gz "dat$(date +%Y%m%d).gz"