Bacula-users

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

2009-04-29 09:09:55
Subject: Re: [Bacula-users] Antwort: Re: Antwort: Re: Large scale disk based backups
From: Bernd Plagge <bplagge AT choicenet.ne DOT jp>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 29 Apr 2009 21:58:45 +0900
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

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.

Cheers,
Bernd


On Wed, 29 Apr 2009 10:45:13 +0000
bacula-users-request AT lists.sourceforge DOT net wrote:

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

- -- 
Bernd Plagge - プラゲ ベェアント 
First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkn4TwYACgkQpYU8M8PbPV6uugCgqfjKjfTnbChG+KDC+5J9LIqp
fK4AnAjPYfQHHlvqD7JhU2d2208XSY5T
=ZMgd
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
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>