[Sysinfo] Cron <root at lyre> /root/bin/backup-servers.sh
Cron Daemon
root at lyre.localdomain
Sun Dec 25 22:30:01 EST 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=1324870201
+ 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
++ '[' '!' -f /etc/backups/lofty.excluder ']'
++ sed 's/\$//g'
++ 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-52.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-52.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=1324870202
+ 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 ']'
++ sed 's/\$//g'
++ echo '/etc/backups/lots.excluder is not a file! Bailing!'
++ 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-52.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-52.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=1324870203
+ 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!'
++ sed 's/\$//g'
++ exit 2
+ 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-52.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-52.tar.lzma"'
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
bash: /mnt/backup1/servers/loud/loud-week-52.tar.lzma: Permission denied
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=1324870204
+ 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
+ '[' 1 '!=' 0 ']'
+ echo 'Host lmon seems to be down. Bailing!'
Host lmon seems to be down. Bailing!
+ exit 2
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=1324870207
+ 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-52.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-52.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=1324870207
+ 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-52.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-52.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