Bacula-users

[Bacula-users] Purged, recycled and could not connect to client

2009-03-23 10:00:34
Subject: [Bacula-users] Purged, recycled and could not connect to client
From: Personal Técnico <tecnicos AT caos.uab DOT es>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 23 Mar 2009 13:54:39 +0100
Hi,

I'm getting a big problem (for me...) during a client backup. Problem is detailed here:
  1. Bacula detects pararemeters pool and decide to purge and prune volume
  2. After purge and prune, it tries to start backup, but client is not available, so backup fails
  3. Backup is not done, but volume has been purged, pruned and marked as recycled, so user ("owner" of the pool) has lost his previosly backup (or more than one)

This is the email received from bacula:
23-Mar 13:01 aosnap JobId 5436: Start Backup JobId 5436, Job=Backup-User.2009-03-23_13.00.35
23-Mar 13:01 aosnap JobId 5436: Max configured use duration exceeded. Marking Volume "Backup-User0258" as Used.
23-Mar 13:01 aosnap JobId 5436: There are no more Jobs associated with Volume "Backup-User0242". Marking it purged.
23-Mar 13:01 aosnap JobId 5436: All records pruned from Volume "Backup-User0242"; marking it "Purged"
23-Mar 13:01 aosnap JobId 5436: Recycled volume "Backup-User0242"
23-Mar 13:01 aosnap JobId 5436: Using Device "BaculaBackups"
23-Mar 13:01 aosnap JobId 5436: Warning: bsock.c:123 Could not connect to Client: client-fd on xxx.xxx.xxx.xxx:9102. ERR=No route to host
Retrying ...
23-Mar 13:08 aosnap JobId 5436: Warning: bsock.c:123 Could not connect to Client: client-fd on xxx.xxx.xxx.xxx:9102. ERR=No route to host
Retrying ...
23-Mar 13:15 aosnap JobId 5436: Warning: bsock.c:123 Could not connect to Client: client-fd on xxx.xxx.xxx.xxx:9102. ERR=No route to host
Retrying ...
23-Mar 13:16 aosnap JobId 5436: Fatal error: bsock.c:129 Unable to connect to Client: client-fd on xxx.xxx.xxx.xxx:9102. ERR=Interrupted system call
23-Mar 13:16 aosnap JobId 5436: Error: Bacula aosnap 2.4.3 (10Oct08): 23-Mar-2009 13:16:28
  Build OS:               x86_64-unknown-linux-gnu suse 10
  JobId:                  5436
  Job:                    Backup-User.2009-03-23_13.00.35
  Backup Level:           Incremental, since=2009-03-20 13:32:44
  Client:                 "client-fd" 2.4.3 (10Oct08) Linux,Cross-compile,Win32
  FileSet:                "Usuario-Windows" 2008-11-24 12:34:05
  Pool:                   "User" (From Job resource)
  Storage:                "BackupRAID5" (From Pool resource)
  Scheduled time:         23-Mar-2009 13:00:00
  Start time:             23-Mar-2009 13:01:16
  End time:               23-Mar-2009 13:16:28
  Elapsed time:           15 mins 12 secs
  Priority:               12
  FD Files Written:       0
  SD Files Written:       0
  FD Bytes Written:       0 (0 B)
  SD Bytes Written:       0 (0 B)
  Rate:                   0.0 KB/s
  Software Compression:   None
  VSS:                    no
  Storage Encryption:     no
  Volume name(s):        
  Volume Session Id:      236
  Volume Session Time:    1236851433
  Last Volume Bytes:      1 (1 B)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status: 
  SD termination status:  Waiting on FD
  Termination:            *** Backup Error ***

Now, after backups has failed, this is bacula status:
*list media pool=User
+-------+-------------------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+-----------------+
| MediaId | VolumeName              | VolStatus | Enabled | VolBytes            | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten                 |
+-------+-------------------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+-----------------+
|     242 | Backup-User0242         | Recycle  |            1 |                        1 |            0 |        604,800 |         1  |      0 |               0 |        File      | 2009-02-20 13:51:34 |
|     258 | Backup-User0258         | Used       |            1 | 13,361,641,192 |            3 |        604,800 |          1 |     0  |               0 |        File      | 2009-03-20 13:53:09 |
+------+-------------------------+----------+---------+-----------------+---------+-------------+--------+-----+-----------+------------+-----------------------+

Pool definition is:
Pool {
        Name = User
        Label Format = "Backup-User"
        Use Volume _Once_ = no
        Pool Type = Backup
        Recycle = yes
        AutoPrune = yes
        Storage = BackupRAID5
        Volume Use Duration = 1 months
        Volume Retention = 7 days
        Maximum Volume Jobs = 0
        Maximum Volumes = 2
        Recycle Oldest Volume = yes
        Purge Oldest Volume = yes
        Maximum Volume Bytes = 15GB
}


How can I configure bacula for avoiding a previous purging, prunning and recycling pool if client is not accessible?

Thanks.
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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>