[Sysinfo] Cron <root at lyre> /root/bin/backup-servers.sh

Cron Daemon root at lyre.localdomain
Sun Oct 23 22:30:01 EDT 2011


rm: cannot remove `/mnt/backup1/servers/lofty': Is a directory
rm: cannot remove `/mnt/backup1/servers/lofty/.cache': Is a directory
rm: cannot remove `/mnt/backup1/servers/lofty/.ssh': Is a directory
++ date +%s
+ start_time=1319423401
+ usage='/usr/local/bin/host_backup.sh, a backup helper.  Michael J. Baysek, Sep 2005 \n\n This should be run from the backupserver listed in the $backupserver variable defined in this script. \n \n   usage: /usr/local/bin/host_backup.sh -z (b | z | rb | rz) -e excluder.file hostname  \n\n      -h --help           print this message \n\n   
      -z                  specify how to compress \n\t      			  b = locally with bzip \n\t			  z = locally wth gzip \n\t			  rb = remotely with bzip \n\t			  rg = remotely with gzip \n\t			  l  = locally with lzma (level2)
\n      -e		  specify excluder file
'
+ username=backups
+ backupserver=lyre
+ remotepath=/
+ localpath=/mnt/backup1/servers
+ verbose=
+ getopts :z:e:r:v options
+ case $options in
+ host=lofty
+ getopts :z:e:r:v options
+ case $options in
+ zip_parm=l
+ case $zip_parm in
+ ok=1
+ getopts :z:e:r:v options
+ '[' -r == '' ']'
+ username=backups
+ ping -c1 lofty
+ '[' 0 '!=' 0 ']'
++ excludegen /etc/backups/lofty.excluder
++ sed 's/\$//g'
++ '[' '!' -f /etc/backups/lofty.excluder ']'
++ echo '/etc/backups/lofty.excluder is not a file! Bailing!'
++ exit 2
+ excludelist='/etc/backups/lofty.excluder is not a file! Bailing!'
+ case $zip_parm in
++ date +%U
+ remotecmd='tar -c /etc/backups/lofty.excluder is not a file! Bailing! / | ssh -c blowfish backups at lyre "cat | lzma -2 > /mnt/backup1/servers/lofty/lofty-week-43.tar.lzma"'
+ ssh -c blowfish root at lofty 'tar -c /etc/backups/lofty.excluder is not a file! Bailing! / | ssh -c blowfish backups at lyre "cat | lzma -2 > /mnt/backup1/servers/lofty/lofty-week-43.tar.lzma"'
tar: Removing leading `/' from member names
tar: /etc/backups/lofty.excluder: Cannot stat: No such file or directory
tar: is: Cannot stat: No such file or directory
tar: not: Cannot stat: No such file or directory
tar: a: Cannot stat: No such file or directory
tar: file!: Cannot stat: No such file or directory
tar: Bailing!: Cannot stat: No such file or directory
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
rm: cannot remove `/mnt/backup1/servers/lots': Is a directory
rm: cannot remove `/mnt/backup1/servers/lots/.cache': Is a directory
rm: cannot remove `/mnt/backup1/servers/lots/.ssh': Is a directory
++ date +%s
+ start_time=1319423402
+ usage='/usr/local/bin/host_backup.sh, a backup helper.  Michael J. Baysek, Sep 2005 \n\n This should be run from the backupserver listed in the $backupserver variable defined in this script. \n \n   usage: /usr/local/bin/host_backup.sh -z (b | z | rb | rz) -e excluder.file hostname  \n\n      -h --help           print this message \n\n   
      -z                  specify how to compress \n\t      			  b = locally with bzip \n\t			  z = locally wth gzip \n\t			  rb = remotely with bzip \n\t			  rg = remotely with gzip \n\t			  l  = locally with lzma (level2)
\n      -e		  specify excluder file
'
+ username=backups
+ backupserver=lyre
+ remotepath=/
+ localpath=/mnt/backup1/servers
+ verbose=
+ getopts :z:e:r:v options
+ case $options in
+ host=lots
+ getopts :z:e:r:v options
+ case $options in
+ zip_parm=l
+ case $zip_parm in
+ ok=1
+ getopts :z:e:r:v options
+ '[' -r == '' ']'
+ username=backups
+ ping -c1 lots
+ '[' 0 '!=' 0 ']'
++ excludegen /etc/backups/lots.excluder
++ '[' '!' -f /etc/backups/lots.excluder ']'
++ echo '/etc/backups/lots.excluder is not a file! Bailing!'
++ sed 's/\$//g'
++ exit 2
+ excludelist='/etc/backups/lots.excluder is not a file! Bailing!'
+ case $zip_parm in
++ date +%U
+ remotecmd='tar -c /etc/backups/lots.excluder is not a file! Bailing! / | ssh -c blowfish backups at lyre "cat | lzma -2 > /mnt/backup1/servers/lots/lots-week-43.tar.lzma"'
+ ssh -c blowfish root at lots 'tar -c /etc/backups/lots.excluder is not a file! Bailing! / | ssh -c blowfish backups at lyre "cat | lzma -2 > /mnt/backup1/servers/lots/lots-week-43.tar.lzma"'
tar: Removing leading `/' from member names
tar: /etc/backups/lots.excluder: Cannot stat: No such file or directory
tar: is: Cannot stat: No such file or directory
tar: not: Cannot stat: No such file or directory
tar: a: Cannot stat: No such file or directory
tar: file!: Cannot stat: No such file or directory
tar: Bailing!: Cannot stat: No such file or directory
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
rm: cannot remove `/mnt/backup1/servers/loud': Is a directory
rm: cannot remove `/mnt/backup1/servers/loud/.cache': Is a directory
rm: cannot remove `/mnt/backup1/servers/loud/.ssh': Is a directory
++ date +%s
+ start_time=1319423404
+ usage='/usr/local/bin/host_backup.sh, a backup helper.  Michael J. Baysek, Sep 2005 \n\n This should be run from the backupserver listed in the $backupserver variable defined in this script. \n \n   usage: /usr/local/bin/host_backup.sh -z (b | z | rb | rz) -e excluder.file hostname  \n\n      -h --help           print this message \n\n   
      -z                  specify how to compress \n\t      			  b = locally with bzip \n\t			  z = locally wth gzip \n\t			  rb = remotely with bzip \n\t			  rg = remotely with gzip \n\t			  l  = locally with lzma (level2)
\n      -e		  specify excluder file
'
+ username=backups
+ backupserver=lyre
+ remotepath=/
+ localpath=/mnt/backup1/servers
+ verbose=
+ getopts :z:e:r:v options
+ case $options in
+ host=loud
+ getopts :z:e:r:v options
+ case $options in
+ zip_parm=l
+ case $zip_parm in
+ ok=1
+ getopts :z:e:r:v options
+ '[' -r == '' ']'
+ username=backups
+ ping -c1 loud
+ '[' 0 '!=' 0 ']'
++ excludegen /etc/backups/loud.excluder
++ '[' '!' -f /etc/backups/loud.excluder ']'
++ echo '/etc/backups/loud.excluder is not a file! Bailing!'
++ exit 2
++ sed 's/\$//g'
+ excludelist='/etc/backups/loud.excluder is not a file! Bailing!'
+ case $zip_parm in
++ date +%U
+ remotecmd='tar -c /etc/backups/loud.excluder is not a file! Bailing! / | ssh -c blowfish backups at lyre "cat | lzma -2 > /mnt/backup1/servers/loud/loud-week-43.tar.lzma"'
+ ssh -c blowfish root at loud 'tar -c /etc/backups/loud.excluder is not a file! Bailing! / | ssh -c blowfish backups at lyre "cat | lzma -2 > /mnt/backup1/servers/loud/loud-week-43.tar.lzma"'
bash: /mnt/backup1/servers/loud/loud-week-43.tar.lzma: Permission denied
tar: Removing leading `/' from member names
tar: /etc/backups/loud.excluder: Cannot stat: No such file or directory
tar: is: Cannot stat: No such file or directory
tar: not: Cannot stat: No such file or directory
tar: a: Cannot stat: No such file or directory
tar: file!: Cannot stat: No such file or directory
tar: Bailing!: Cannot stat: No such file or directory
rm: cannot remove `/mnt/backup1/servers/lmon': Is a directory
rm: cannot remove `/mnt/backup1/servers/lmon/.cache': Is a directory
rm: cannot remove `/mnt/backup1/servers/lmon/.ssh': Is a directory
++ date +%s
+ start_time=1319423407
+ usage='/usr/local/bin/host_backup.sh, a backup helper.  Michael J. Baysek, Sep 2005 \n\n This should be run from the backupserver listed in the $backupserver variable defined in this script. \n \n   usage: /usr/local/bin/host_backup.sh -z (b | z | rb | rz) -e excluder.file hostname  \n\n      -h --help           print this message \n\n   
      -z                  specify how to compress \n\t      			  b = locally with bzip \n\t			  z = locally wth gzip \n\t			  rb = remotely with bzip \n\t			  rg = remotely with gzip \n\t			  l  = locally with lzma (level2)
\n      -e		  specify excluder file
'
+ username=backups
+ backupserver=lyre
+ remotepath=/
+ localpath=/mnt/backup1/servers
+ verbose=
+ getopts :z:e:r:v options
+ case $options in
+ host=lmon
+ getopts :z:e:r:v options
+ case $options in
+ zip_parm=l
+ case $zip_parm in
+ ok=1
+ getopts :z:e:r:v options
+ '[' -r == '' ']'
+ username=backups
+ ping -c1 lmon
+ '[' 0 '!=' 0 ']'
++ excludegen /etc/backups/lmon.excluder
++ sed 's/\$//g'
++ '[' '!' -f /etc/backups/lmon.excluder ']'
++ echo '/etc/backups/lmon.excluder is not a file! Bailing!'
++ exit 2
+ excludelist='/etc/backups/lmon.excluder is not a file! Bailing!'
+ case $zip_parm in
++ date +%U
+ remotecmd='tar -c /etc/backups/lmon.excluder is not a file! Bailing! / | ssh -c blowfish backups at lyre "cat | lzma -2 > /mnt/backup1/servers/lmon/lmon-week-43.tar.lzma"'
+ ssh -c blowfish root at lmon 'tar -c /etc/backups/lmon.excluder is not a file! Bailing! / | ssh -c blowfish backups at lyre "cat | lzma -2 > /mnt/backup1/servers/lmon/lmon-week-43.tar.lzma"'
tar: Removing leading `/' from member names
tar: /etc/backups/lmon.excluder: Cannot stat: No such file or directory
tar: is: Cannot stat: No such file or directory
tar: not: Cannot stat: No such file or directory
tar: a: Cannot stat: No such file or directory
tar: file!: Cannot stat: No such file or directory
tar: Bailing!: Cannot stat: No such file or directory
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
rm: cannot remove `/mnt/backup1/servers/lock': Is a directory
rm: cannot remove `/mnt/backup1/servers/lock/.cache': Is a directory
rm: cannot remove `/mnt/backup1/servers/lock/.ssh': Is a directory
++ date +%s
+ start_time=1319423409
+ usage='/usr/local/bin/host_backup.sh, a backup helper.  Michael J. Baysek, Sep 2005 \n\n This should be run from the backupserver listed in the $backupserver variable defined in this script. \n \n   usage: /usr/local/bin/host_backup.sh -z (b | z | rb | rz) -e excluder.file hostname  \n\n      -h --help           print this message \n\n   
      -z                  specify how to compress \n\t      			  b = locally with bzip \n\t			  z = locally wth gzip \n\t			  rb = remotely with bzip \n\t			  rg = remotely with gzip \n\t			  l  = locally with lzma (level2)
\n      -e		  specify excluder file
'
+ username=backups
+ backupserver=lyre
+ remotepath=/
+ localpath=/mnt/backup1/servers
+ verbose=
+ getopts :z:e:r:v options
+ case $options in
+ host=lock
+ getopts :z:e:r:v options
+ case $options in
+ zip_parm=l
+ case $zip_parm in
+ ok=1
+ getopts :z:e:r:v options
+ '[' -r == '' ']'
+ username=backups
+ ping -c1 lock
+ '[' 0 '!=' 0 ']'
++ excludegen /etc/backups/lock.excluder
++ '[' '!' -f /etc/backups/lock.excluder ']'
++ echo '/etc/backups/lock.excluder is not a file! Bailing!'
++ sed 's/\$//g'
++ exit 2
+ excludelist='/etc/backups/lock.excluder is not a file! Bailing!'
+ case $zip_parm in
++ date +%U
+ remotecmd='tar -c /etc/backups/lock.excluder is not a file! Bailing! / | ssh -c blowfish backups at lyre "cat | lzma -2 > /mnt/backup1/servers/lock/lock-week-43.tar.lzma"'
+ ssh -c blowfish root at lock 'tar -c /etc/backups/lock.excluder is not a file! Bailing! / | ssh -c blowfish backups at lyre "cat | lzma -2 > /mnt/backup1/servers/lock/lock-week-43.tar.lzma"'
tar: Removing leading `/' from member names
tar: /etc/backups/lock.excluder: Cannot stat: No such file or directory
tar: is: Cannot stat: No such file or directory
tar: not: Cannot stat: No such file or directory
tar: a: Cannot stat: No such file or directory
tar: file!: Cannot stat: No such file or directory
tar: Bailing!: Cannot stat: No such file or directory
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
rm: cannot remove `/mnt/backup1/servers/sdss': Is a directory
++ date +%s
+ start_time=1319423410
+ usage='/usr/local/bin/host_backup.sh, a backup helper.  Michael J. Baysek, Sep 2005 \n\n This should be run from the backupserver listed in the $backupserver variable defined in this script. \n \n   usage: /usr/local/bin/host_backup.sh -z (b | z | rb | rz) -e excluder.file hostname  \n\n      -h --help           print this message \n\n   
      -z                  specify how to compress \n\t      			  b = locally with bzip \n\t			  z = locally wth gzip \n\t			  rb = remotely with bzip \n\t			  rg = remotely with gzip \n\t			  l  = locally with lzma (level2)
\n      -e		  specify excluder file
'
+ username=backups
+ backupserver=lyre
+ remotepath=/
+ localpath=/mnt/backup1/servers
+ verbose=
+ getopts :z:e:r:v options
+ case $options in
+ host=sdss
+ getopts :z:e:r:v options
+ case $options in
+ zip_parm=l
+ case $zip_parm in
+ ok=1
+ getopts :z:e:r:v options
+ '[' -r == '' ']'
+ username=backups
+ ping -c1 sdss
+ '[' 0 '!=' 0 ']'
++ excludegen /etc/backups/sdss.excluder
++ '[' '!' -f /etc/backups/sdss.excluder ']'
++ echo '/etc/backups/sdss.excluder is not a file! Bailing!'
++ sed 's/\$//g'
++ exit 2
+ excludelist='/etc/backups/sdss.excluder is not a file! Bailing!'
+ case $zip_parm in
++ date +%U
+ remotecmd='tar -c /etc/backups/sdss.excluder is not a file! Bailing! / | ssh -c blowfish backups at lyre "cat | lzma -2 > /mnt/backup1/servers/sdss/sdss-week-43.tar.lzma"'
+ ssh -c blowfish root at sdss 'tar -c /etc/backups/sdss.excluder is not a file! Bailing! / | ssh -c blowfish backups at lyre "cat | lzma -2 > /mnt/backup1/servers/sdss/sdss-week-43.tar.lzma"'
tar: Removing leading `/' from member names
tar: /etc/backups/sdss.excluder: Cannot stat: No such file or directory
tar: is: Cannot stat: No such file or directory
tar: not: Cannot stat: No such file or directory
tar: a: Cannot stat: No such file or directory
tar: file!: Cannot stat: No such file or directory
tar: Bailing!: Cannot stat: No such file or directory
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).



More information about the Autonlab-sysinfo mailing list