Bacula-users

Re: [Bacula-users] Problems with Migration

2009-02-16 10:32:17
Subject: Re: [Bacula-users] Problems with Migration
From: Jason Dixon <jdixon AT omniti DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 16 Feb 2009 10:27:56 -0500 (EST)
Can anyone lend a hand here?  Is there no one else using Migration in 
production?

Thanks,
Jason

----- Original Message -----
From: Jason Dixon <jdixon AT omniti DOT com>
To: bacula-users AT lists.sourceforge DOT net
Sent: Thu, 12 Feb 2009 16:34:02 -0500 (EST)
Subject: [Bacula-users] Problems with Migration

                                                                                
                    
We're trying to use Migration to stage our database WAL logs on disk and        
                    
then move them to tape once a day.  I have the first part working but it        
                    
won't move them to tape when I run my Migrate job.  I noticed some weird        
                    
"Cannot open FileSet" errors in the console and log, but this only              
                    
appeared on some of the later jobs.                                             
                    
                                                                                
                    
10-Feb 17:42 backup-va-1-dir JobId 9160: No Volumes found to migrate.
10-Feb 17:42 backup-va-1-dir JobId 9160: No JobIds found to migrate.
10-Feb 17:42 backup-va-1-dir JobId 9160: Bacula backup-va-1-dir 2.4.2
(26Jul08): 10-Feb-2009 17:42:03                                                 
                                                  
  Build OS:               sparc-sun-solaris2.10 solaris 5.10                    
                    
  Prev Backup JobId:      0                                                     
                    
  Build OS:               sparc-sun-solaris2.10 solaris 5.10                    
                    
  Prev Backup JobId:      0                                                     
                    
  New Backup JobId:       0                                                     
                    
  Migration JobId:        9160                                                  
                    
  Migration Job:          MigrateDatabaseArchives.2009-02-10_17.42.09           
                    
  Backup Level:           Full                                                  
                    
  Client:                 backup-va-1                                           
                    
  FileSet:                "FileSet_PgWal"                                       
                    
  Read Pool:              "Staging" (From Job resource)                         
                    
  Read Storage:           "File" (From Pool resource)                           
                    
  Write Pool:             "Staging" (From Job resource)                         
                    
  Write Storage:          "Sony SDX-700C" (From Storage from Pool's             
                    
NextPool resource)                                                              
                    
  Start time:             10-Feb-2009 17:42:03                                  
                    
  End time:               10-Feb-2009 17:42:03                                  
                    
  Elapsed time:           0 secs                                                
                    
  Priority:               10                                                    
                    
  SD Files Written:       0                                                     
                    
  SD Bytes Written:       0 (0 B)                                               
                    
  Rate:                   0.0 KB/s                                              
                    
  Volume name(s):                                                               
                    
  Volume Session Id:      0                                                     
                    
  Volume Session Time:    0                                                     
                    
  Last Volume Bytes:      0 (0 B)                                               
                    
  SD Errors:              0                                                     
                    
  SD termination status:                                                        
                    
  Termination:            Migration -- no files to migrate                      
                    
                                                                                
                    
10-Feb 17:42 backup-va-1-dir JobId 9160: Begin pruning Jobs.                    
                    
10-Feb 17:42 backup-va-1-dir JobId 9160: No Jobs found to prune.                
                    
10-Feb 17:42 backup-va-1-dir JobId 9160: Begin pruning Files.                   
                    
10-Feb 17:42 backup-va-1-dir JobId 9160: No Files found to prune.               
                    
10-Feb 17:42 backup-va-1-dir JobId 9160: End auto prune.                        
                    
                                                                                
                    
10-Feb 17:41 backup-va-1-dir: ERROR in getmsg.c:163 Malformed message:          
                    
Cannot open FileSet input file: not open FileSet input file: not open           
                    
FileSet input file: not open FileSet input file: not open FileSet input         
                    
file: not open FileSet input file: not open FileSet input file: not open        
                    
FileSet input file: not open FileSet input file: not open FileSet input         
                    
file: not open FileSet input file: not open FileSet input file: not open        
                    
FileSet input file: not open FileSet input file: not open FileSet input         
                    
file: not open FileSet input file: not open FileSet input file: not open        
                    
FileSe                                                                          
                    
                                                                                
                    
                                                                                
                    
And here are the relevant configuration blocks:                                 
                    
                                                                                
                    
Job {                                                                           
                    
  Name = "DatabaseArchives_crank-va-3"                                          
                    
  Type = Backup                                                                 
                    
  Level = Full                                                                  
                    
  Client = crank-va-3                                                           
                    
  FileSet = "FileSet_PgWal"                                                     
                    
  Messages = Standard                                                           
                    
  Pool = Staging                                                                
                    
  Storage = "Sony SDX-700C"                                                     
                    
  Maximum Concurrent Jobs = 10                                                  
                    
  Job Retention = 14 days                                                       
                    
  Priority = 10                                                                 
                    
  ClientRunAfterJob = "/usr/local/bin/pg_cleanup_wallogs.sh"                    
                    
  Schedule = "None"                                                             
                    
}                                                                               
                    
                                                                                
                    
Job {                                                                           
                    
  Name = "MigrateDatabaseArchives"                                              
                    
  Type = Migrate                                                                
                    
  Level = Full                                                                  
                    
  Client = backup-va-1                                                          
                    
  FileSet = "FileSet_PgWal"                                                     
                    
  Messages = Standard                                                           
                    
  Pool = Staging                                                                
                    
  Maximum Concurrent Jobs = 10                                                  
                    
  Selection Type = Volume                                                       
                    
  Selection Pattern = "Staging"                                                 
                    
  Schedule = "None"                                                             
                    
}                                                                               
                    
                                                                                
                    
Storage {                                                                       
                    
  Name = "Sony SDX-700C"                                                        
                    
  Address = backup-va-1                                                         
                    
  SDPort = 9103                                                                 
                    
  Password = "foobar"                                                           
                    
  Maximum Concurrent Jobs = 10                                                  
                    
  Device = "Sony SDX-700C"                                                      
                    
  Media Type = AIT-3                                                            
                    
  Autochanger = yes                                                             
                    
}                                                                               
                    
                                                                                
                    
Storage {                                                                       
                    
  Name = File                                                                   
                    
  Address = backup-va-1                                                         
                    
  SDPort = 9103                                                                 
                    
  Password = "foobaz"                                                           
                    
  Device = "File"                                                               
                    
  Media Type = File                                                             
                    
}                                                                               
                    
                                                                                
                    
Pool {                                                                          
                    
  Name = Database                                                               
                    
  Pool Type = Backup                                                            
                    
  Recycle = yes                                                                 
                    
  AutoPrune = yes                                                               
                    
  Storage = "Sony SDX-700C"                                                     
                    
  Volume Retention = 14 days                                                    
                    
}                                                                               
                    
                                                                                
                    
Pool {                                                                          
                    
  Name = Staging                                                                
                    
  Pool Type = Backup                                                            
                    
  Recycle = yes                                                                 
                    
  AutoPrune = yes                                                               
                    
  Next Pool = Database                                                          
                    
  Storage = File                                                                
                    
  Label Format = "Staging"                                                      
                    
}                                                                               
                    
                                                                                
                    
                                                                                
                    
Thanks,                                                                         
                    
                                                                                
                    
--                                                                              
                    
Jason Dixon                                                                     
                    
OmniTI Computer Consulting, Inc.                                                
                    
jdixon AT omniti DOT com                                                        
                           
443.325.1357 x.241                                                              
                    

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>