zfs-backup/zb-snap
2014-04-08 18:41:52 +02:00

9 lines
135 B
Bash
Executable file

#!/bin/sh
if [ -z "$1" ] ; then
echo "usage: $0 <zfs_volume>" >&2
exit 1
fi
exec zfs snapshot "${1}@zb-`date '+%F %T %z' |tr + p`"