[borg_partclone_backup] erreur arguments
This commit is contained in:
parent
253a764d8e
commit
2d5ddf3fa6
@ -1,11 +1,11 @@
|
||||
#!/usr/bin/bash
|
||||
# Usage: borg_partclone_backup.sh VGNAME LVNAME SNP_SZ SRV_HOST SRV_BORG_REPO
|
||||
VGNAME=`shift`
|
||||
LVNAME=`shift`
|
||||
VGNAME=$1
|
||||
LVNAME=$2
|
||||
SNP_NM=$LVNAME-`date +%Y%m%dT%H%M%S`
|
||||
SNP_SZ=`shift`
|
||||
SRV_HOST=`shift`
|
||||
SRV_BORG_REPO=`shift`
|
||||
SNP_SZ=$3
|
||||
SRV_HOST=$4
|
||||
SRV_BORG_REPO=$5
|
||||
|
||||
# Be root
|
||||
test `id -u` == "0" || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user