[PC-BSD Commits] r18889 - pcbsd/current/src-sh/warden/scripts/backend

svn at pcbsd.org svn at pcbsd.org
Thu Sep 6 07:09:06 PDT 2012


Author: kris
Date: 2012-09-06 14:09:06 +0000 (Thu, 06 Sep 2012)
New Revision: 18889

Modified:
   pcbsd/current/src-sh/warden/scripts/backend/functions.sh
Log:

Improve warden snapshots with better naming



Modified: pcbsd/current/src-sh/warden/scripts/backend/functions.sh
===================================================================
--- pcbsd/current/src-sh/warden/scripts/backend/functions.sh	2012-09-06 12:58:35 UTC (rev 18888)
+++ pcbsd/current/src-sh/warden/scripts/backend/functions.sh	2012-09-06 14:09:06 UTC (rev 18889)
@@ -282,7 +282,7 @@
   isDirZFS "${1}" "1"
   if [ $? -ne 0 ] ; then printerror "Not a ZFS volume: ${1}" ; fi
   tank=`getZFSTank "$1"`
-  zdate=`date +%Y%m%d-%H%M%S`
+  zdate=`date +%Y-%m-%d-%H-%M-%S`
   zfs snapshot $tank${1}@$zdate
 }
 



More information about the Commits mailing list