avoid using a : in the tar filename, tar thinks it is an external hostname for
rmt, thanks to the #linux people on tildechat for clearing that up for me
This commit is contained in:
parent
ab127cc3e1
commit
4cbb477c8d
|
@ -20,7 +20,7 @@ OLDBACKUP=`ls -1 $BACKUP/ships-*.tar.gz 2>/dev/null|tail -1`
|
|||
|
||||
cd $SHIPS
|
||||
|
||||
TS=`date -u +%Y-%m-%dZ%H:%M`
|
||||
TS=`date -u +%Y-%m-%dZ%H%M`
|
||||
|
||||
TGZ="$BACKUP/ships-$TS.tar.gz"
|
||||
|
||||
|
|
Loading…
Reference in New Issue