summary refs log tree commit diff homepage
path: root/snapshot.sh
blob: 536e289a0dc261865b07d37adf89bdf74165d6db (plain) (blame)
1
2
3
4
5
#!/bin/sh
set -e -u

ts=$(date +'%Y.%m.%d.%H.%M')
gzip -c -9 < "$1/torus.dat" > "$2/torus.dat.$ts.gz"