Bacula-users

Re: [Bacula-users] Using removable SATA disks as media

2010-04-21 13:16:13
Subject: Re: [Bacula-users] Using removable SATA disks as media
From: Joseph Spenner <joseph85750 AT yahoo DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 21 Apr 2010 10:13:56 -0700 (PDT)
--- On Wed, 4/14/10, Joseph Spenner <joseph85750 AT yahoo DOT com> wrote:

> From: Joseph Spenner <joseph85750 AT yahoo DOT com>
> Subject: Re: [Bacula-users] Using removable SATA disks as media
> To: bacula-users AT lists.sourceforge DOT net
> Date: Wednesday, April 14, 2010, 7:04 PM
> --- On Wed, 4/14/10, John Drescher
> <drescherjm AT gmail DOT com>
> wrote:
> > >
> > >
> > > OK, my next backup ran and it used the next
> volume.
> >  Success!
> > > However.. it "appended".  Here's what my volumes
> look
> > like now:
> > >
> > > *list volumes
> > > Automatically selected Catalog: MyCatalog
> > > Using Catalog "MyCatalog"
> > > Pool: Default
> > > No results to list.
> > > Pool: File
> > >
> >
> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> > > | MediaId | VolumeName | VolStatus | Enabled |
> > VolBytes      | VolFiles | VolRetention | Recycle |
> Slot
> > | InChanger | MediaType | LastWritten         |
> > >
> >
> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> > > |      25 | disk_0001  | Purged    |    
>   1
> > |    37,353,382 |        0 |      777,600 |
>    
> >   1 |    0 |         0 | File      |
> 2010-04-08
> > 23:10:03 |
> > > |      26 | disk_0002  | Purged    |    
>   1
> > | 5,125,873,046 |        1 |      777,600 |  
>    
> > 1 |    0 |         0 | File      |
> 2010-04-13
> > 23:10:02 |
> > > |      27 | disk_0003  | Append    |    
>   1
> > | 7,009,019,184 |        1 |      777,600 |  
>    
> > 1 |    0 |         0 | File      |
> 2010-04-14
> > 23:21:34 |
> > > |      28 | disk_0004  | Purged    |    
>   1
> > |    51,194,220 |        0 |      777,600 |
>    
> >   1 |    0 |         0 | File      |
> 2010-04-07
> > 23:21:59 |
> > > |      29 | disk_0005  | Purged    |    
>   1
> > |        10,436 |        0 |      777,600 |
>    
> >   1 |    0 |         0 | File      |
> 2010-04-08
> > 23:05:03 |
> > > |      30 | disk_0006  | Purged    |    
>   1
> > |           561 |        0 |      777,600
> |  
> >     1 |    0 |         0 | File      |
> 2010-04-08
> > 23:07:14 |
> > >
> >
> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> > > Pool: Scratch
> > > No results to list.
> > > *
> > >
> > > Whatever was on disk_0003 was left in place, and
> the
> > new backup data appended to that volume.  Is there a
> way to
> > make it wipe the volume clean before writing?
> > >
> > 
> > It should have done that. Are you sure you did not
> backup
> > 7G of data?
> > 
> 
> Perhaps I should let it run a few days to know for
> sure.  I'll keep everyone posted.
> 
> Thanks!

Ok, my backups have been running for about a week and using a new file every 
night, so that part works.  I don't understand the behavior of append.  In my 
messages I see the following:

17-Apr 23:05 backula-dir JobId 175: Start Backup JobId 175, 
Job=DefaultBackupClient.2010-04-17_23.05.00_23
17-Apr 23:05 backula-dir JobId 175: Max configured use duration exceeded. 
Marking Volume "disk_0005" as Used.
17-Apr 23:05 backula-dir JobId 175: Recycled volume "disk_0006"
17-Apr 23:05 backula-dir JobId 175: Using Device "FileStorage"
17-Apr 23:05 backula-sd JobId 175: Recycled volume "disk_0006" on device 
"FileStorage" (/opt/bacula/volumes), all previous data lost.
17-Apr 23:05 backula-sd JobId 175: Job write elapsed time = 00:00:01, Transfer 
rate = 0  Bytes/second
17-Apr 23:05 backula-dir JobId 175: Bacula backula-dir 5.0.1 (24Feb10): 
17-Apr-2010 23:05:04
..
..
It mentions above "all previous data lost" on disk_0006
But later in the messages, I see:

17-Apr 23:05 backula-sd JobId 176: Volume "disk_0006" previously written, 
moving to end of data.
17-Apr 23:05 backula-sd JobId 176: Ready to append to end of Volume "disk_0006" 
size=621

I checked the file sizes of the files, and they continue to grow every night.  
I would expect an incremental file to be very small, but this is not what I'm 
seeing.

Or is this normal?

Thanks!



      

------------------------------------------------------------------------------
_______________________________________________
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>