Koozali.org: home of the SME Server

Backup to tape fails (backup failed - status: 256)

wires

Backup to tape fails (backup failed - status: 256)
« on: March 20, 2007, 05:17:02 PM »
** This may or may not have anything to do with an upgrade to 7.1.2 but the tape backup was working perfectly prior to the upgrade. **

This is what my daily email used to look like:

Quote
flexbackup version 1.2.1 (http://flexbackup.sourceforge.net)                                    
/etc/flexbackup.conf syntax OK                                                                  
                                                                                               
 $keyfile not found in config: default=00-index-key                                            
 $buffer_fill_pct not found in config: default=75                                              
 $buffer_pause_usec not found in config: default=100                                            
|------------------------------------------------------------                                  
| Checking 'buffer' on this machine... Ok                                                      
| Checking /bin/sh on this machine... bash1                                                    
|------------------------------------------------------------                                  
| Doing level 0 backup of set all using tar                                                    
| All sets = full (1 tapes)                                                                    
| Rewinding & erasing tape...                                                                  
| Creating index key 200703170200                                                              
| Backup set "full" (/)                                                                        
| Tape #0                                                                                      
|------------------------------------------------------------                                  
SCSI 2 tape drive:                                                                              
File number=1, block number=0, partition=0.                                                    
Tape block size 0 bytes. Density code 0x26 (DDS-4 or QIC-4GB).                                  
Soft error count since last status=0                                                            
General status bits on (81010000):                                                              
 EOF ONLINE IM_REP_EN                                                                          
|------------------------------------------------------------                                  
| File number 1, tape index 200703170200                                                        
| Backup of: /                                                                                  
| Date of this level 0 backup: Sat Mar 17 02:00:19 2007                                        
| Date of last level 0 backup: the epoch                                                        
|------------------------------------------------------------                                  
| cd "/" && /tmp/collectexit.31000.sh find . -depth -xdev ! -type s ! \                        
|   -regex "news/articles" ! -regex ".*~"$ -print0 | \                                          
|   /tmp/collectexit.31000.sh tar --create --null --files-from=- \                              
|   --ignore-failed-read --same-permissions --no-recursion --totals --label \                  
|   "level 0 / Sat Mar 17 02:00:19 2007 tar+gzip from r011" --sparse \                          
|   --atime-preserve -b 64 --file - | /tmp/collectexit.31000.sh gzip -4 | \                    
|   /tmp/collectexit.31000.sh buffer -m 20m -p 75 -s 32k -t -u 100 -B -o \                      
|   "/dev/nst0"                                                                                
| [ ! -e /tmp/exitstatus.31000 ]                                                                
|------------------------------------------------------------                                  
tar: ./tmp/clamav-6594b6790465aeed/nocomment.html: file changed as we read it                  
tar: ./tmp/clamav-6594b6790465aeed/comment.html: Warning: Cannot stat: No such file or directory
tar: ./tmp/clamav-6594b6790465aeed: Warning: Cannot stat: No such file or directory            
Total bytes written: 18298601472 (18GiB, 2.5MiB/s)                                              
Kilobytes Out 14057728                                                                          
|------------------------------------------------------------                                  
| Backup start: Sat Mar 17 02:00:19 2007                                                        
| Backup end:   Sat Mar 17 03:58:43 2007                                                        
|------------------------------------------------------------                                  
SCSI 2 tape drive:                                                                              
File number=2, block number=0, partition=0.                                                    
Tape block size 0 bytes. Density code 0x26 (DDS-4 or QIC-4GB).                                  
Soft error count since last status=0                                                            
General status bits on (81010000):                                                              
 EOF ONLINE IM_REP_EN                                                                          
|------------------------------------------------------------                                  
| Rewinding...                                                                                  
| Removing old level 0 log of all (dated 200703160200)                                          
| Compressing log (all.0.200703170200.gz)                                                      
| Linking all.latest.gz -> all.0.200703170200.gz                                                
|------------------------------------------------------------                                  
                                                                                               
File  Contents    (tape index 200703170200)                                                    
---------------------------------------------                                                  
0    <tape index key>                                                                          
1    level 0 / Sat Mar 17 02:00:19 2007 tar+gzip from r011    


Now I get this:

Quote
flexbackup version 1.2.1 (http://flexbackup.sourceforge.net)                  
/etc/flexbackup.conf syntax OK                                                
                                                                             
 $keyfile not found in config: default=00-index-key                          
 $buffer_fill_pct not found in config: default=75                            
 $buffer_pause_usec not found in config: default=100                          
|------------------------------------------------------------                
| Checking 'buffer' on this machine... Ok                                    
| Checking /bin/sh on this machine... bash1                                  
|------------------------------------------------------------                
| Doing level 0 backup of set all using tar                                  
| All sets = full (1 tapes)                                                  
| Rewinding & erasing tape...                                                
| Found index key 200703180200, next file is 2                                
| Deleting record for 200703180200 file 0                                    
| Deleting record for 200703180200 file 1                                    
|------------------------------------------------------------                
| Creating index key 200703190200                                            
| Backup set "full" (/)                                                      
| Tape #0                                                                    
|------------------------------------------------------------                
SCSI 2 tape drive:                                                            
File number=1, block number=0, partition=0.                                  
Tape block size 0 bytes. Density code 0x26 (DDS-4 or QIC-4GB).                
Soft error count since last status=0                                          
General status bits on (81010000):                                            
 EOF ONLINE IM_REP_EN                                                        
|------------------------------------------------------------                
| File number 1, tape index 200703190200                                      
| Backup of: /                                                                
| Date of this level 0 backup: Mon Mar 19 02:00:18 2007                      
| Date of last level 0 backup: the epoch                                      
|------------------------------------------------------------                
| cd "/" && /tmp/collectexit.8758.sh find . -depth -xdev ! -type s ! -regex \
|   "news/articles" ! -regex ".*~"$ -print0 | /tmp/collectexit.8758.sh tar \  
|   --create --null --files-from=- --ignore-failed-read --same-permissions \  
|   --no-recursion --totals --label "level 0 / Mon Mar 19 02:00:18 2007 \    
|   tar+gzip from r011" --sparse --atime-preserve -b 64 --file - | \          
|   /tmp/collectexit.8758.sh gzip -4 | /tmp/collectexit.8758.sh buffer -m \  
|   20m -p 75 -s 32k -t -u 100 -B -o "/dev/nst0"                              
| [ ! -e /tmp/exitstatus.8758 ]                                              
|------------------------------------------------------------                
find: ./tmp/clamav-069ddd6bdab7b6fcaeeda038016b9099: No such file or directory
Total bytes written: 18436128768 (18GiB, 2.6MiB/s)                            
Kilobytes Out 14078688                                                        
                                                                             
ERROR: non-zero exit from:                                                    
find . -depth -xdev ! -type s ! -regex news/articles ! -regex .*~$ -print0    
                                                                             
                                                                             
ERROR: exiting                                                                
|------------------------------------------------------------                
| Backup start: Mon Mar 19 02:00:18 2007                                      
| Backup end:   Mon Mar 19 03:55:22 2007                                      
|------------------------------------------------------------                
SCSI 2 tape drive:                                                            
File number=2, block number=0, partition=0.                                  
Tape block size 0 bytes. Density code 0x26 (DDS-4 or QIC-4GB).                
Soft error count since last status=0                                          
General status bits on (81010000):                                            
 EOF ONLINE IM_REP_EN                                                        
|------------------------------------------------------------                
| Rewinding...                                                                
| Compressing log (all.0.200703190200.gz)                                    
| Linking all.latest.gz -> all.0.200703190200.gz                              
|------------------------------------------------------------                
Backup terminated: backup failed - status: 256                                


To me it appears that the error is:

Quote
ERROR: non-zero exit from:                                                                 |------------------------------------------------------------                    
find . -depth -xdev ! -type s ! -regex news/articles ! -regex .*~$ -print0  


What does this mean?

Is the backup usable but just un-verified?

Should I report this to the bugtracker?

What is "status: 256"?


Thanks!

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Backup to tape fails (backup failed - status: 256)
« Reply #1 on: March 20, 2007, 06:38:42 PM »
Quote
Should I report this to the bugtracker?

Yes?  :D
"It should just work" if it doesn't report it. Thanks!