Skip to content

Commit

Permalink
fix: Optimised date part of snapshot name because it contained invali…
Browse files Browse the repository at this point in the history
…d characters
  • Loading branch information
dploeger committed Aug 5, 2022
1 parent 0aef814 commit e004178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ then
for DISK in ${MANAGED_DISKS}
do
DISKNAME=$(echo "${DISK}" | cut -d ":" -f 1)
NAME="${DISKNAME//disk/snap}-$(date +%F-%T)"
NAME="${DISKNAME//disk/snap}-$(date +%F-%H-%M-%S)"
DISKURI=$(echo "${DISK}" | cut -d ":" -f 2)
RESOURCEGROUP=$(echo "${DISK}" | cut -d ":" -f 3)
echo "Creating snapshot ${NAME}"
Expand Down

0 comments on commit e004178

Please sign in to comment.