X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=backup-nonpriv.sh;h=06e8e73aeeeec38b8860636cf421083edaba09aa;hb=733bb4c30f7dff4d58a75966ebfce37c95c7c6c9;hp=baba0f589e045565d67d2a773344ccacb9fd6150;hpb=f20bc47af938d2ba717feceb430d3a86282e48c8;p=backup.sh diff --git a/backup-nonpriv.sh b/backup-nonpriv.sh index baba0f5..06e8e73 100755 --- a/backup-nonpriv.sh +++ b/backup-nonpriv.sh @@ -35,6 +35,11 @@ umask 027 unixcomputers=`cat $confdir/computers.unix.nonpriv | grep -v ^# | grep -v ^$` ### +# Backup only one computer, from command line? +if [ $1 ] ; then + unixcomputers=$1 +fi + #disse bør kunne varieres fra fs til fs? maksantallfulle=3 #hvor mange fulle vi tar vare på (kan overstyres med conf) dagermellomfulle=30 #antall dager før det er på tide med ny full