Bacula-users

Re: [Bacula-users] Antwort: Re: Antwort: Re: Large scale disk based backups

2009-04-29 10:22:32
Subject: Re: [Bacula-users] Antwort: Re: Antwort: Re: Large scale disk based backups
From: John Drescher <drescherjm AT gmail DOT com>
To: Bernd Plagge <bplagge AT choicenet.ne DOT jp>
Date: Wed, 29 Apr 2009 10:17:45 -0400
>> Bacula *can* back up to hard disks, but it is a bit kludgy. For hard
>> disk backups, Bacula uses one file per volume, and your USB drive is
>> treated like a tape drive. Now you and I know that you can't take a
>> single file out of a hard disk the way you can remove a tape from a tape
>> drive. Bacula doesn't know that, and you may at times get a message to
>> insert and mount a particular file that bacula wants.

> this is not quite correct.
> In bacula-dir.conf you can define:
>
> Pool {
>  Name = Default
>  Pool Type = Backup
>  Label Format = "ABC-"
>  Maximum Volumes = 10000
>  Maximum Volume Bytes = 1GB
>  Use Volume Once = yes
>  Recycle = yes                       # Bacula can automatically recycle 
> Volumes
>  AutoPrune = yes                     # Prune expired volumes
>  Volume Retention = 60 days        # bp let's start with 2 months
> }
>
>
> This will create multiple files each of a max. size of 1 GB. All file names 
> will start with 'ABC-' followed by a number.
>
> A USB stick or a USB connected harddisk (they are becoming very popular right 
> now) is a removable device. As such you want to make sure that it has been 
> mounted before using it.
>
> For that purpose I created a file named 'bkdisk' on the USB device.
>  - not mounted:   /mnt/hdd/    -> empty
>  - mounted:       /mnt/hdd/bkdisk -> does exist
>
> Now you define a job starting before the backup which will check for the file 
> 'bkdisk'. If it's not found we try to mount the device and check again.
> Obviously, you could do that with different devices as well. 'bkdisk1', 
> 'bkdisk2' etc.
>

I recommend this with all non tape based volumes.  I generally use 2
to 10GB for disk volumes but this is about user preference. 4.5GB is
also a good choice as you can offload volumes to dvd if you want..

John

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
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>