X-Git-Url: https://hackdaworld.org/gitweb/?p=scripts%2Fscripts.git;a=blobdiff_plain;f=backup.sh;h=857dcae175a83ec24cd011f8642fe002391fd302;hp=d7bce9a36bc064a0065b292cb8fc5626914ad269;hb=8727fb3de34a33d5955b17c43b09e534e49d4e47;hpb=9510447e56f49f8495b0328b56beacafe1f25074 diff --git a/backup.sh b/backup.sh index d7bce9a..857dcae 100755 --- a/backup.sh +++ b/backup.sh @@ -24,7 +24,7 @@ elif [ "$host" = "hackstation" ] ; then elif [ "$host" = "hdw" ] ; then mount -tnfs hackstation:/mnt/lfs/backup /mnt/nfs backup_dir="/mnt/nfs" -elif [ "$host" = "left-hand" ] ; then +elif [ "$host" = "compaq" ] ; then mount -tnfs hackstation:/mnt/lfs/backup /mnt/nfs backup_dir="/mnt/nfs" else @@ -147,7 +147,7 @@ if [ "$host" = "right-hand" ] ; then for i in www cvs hdw; do if [ -d /chroot/$i ] ; then echo "copying /chroot/$i" - tar .cf ./chroot/$i.tar /chroot/$i + tar -cf ./chroot/$i.tar /chroot/$i fi done fi