Bacula-users

Re: [Bacula-users] Multiple pools in a single tape?

2008-08-04 15:54:51
Subject: Re: [Bacula-users] Multiple pools in a single tape?
From: Ryan Novosielski <novosirj AT umdnj DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 04 Aug 2008 15:54:42 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rodrigo Rosenfeld Rosas wrote:
> Hi, I'm new to bacula and trying to set it up for our environment.
> 
> We are a small office with not too data to backup. I mean, a single 200 
> GB tape would do the job perfectly, as today.

A single 200 GB tape is never a perfect backup. You really should have a
minimum of 3 tapes in most situations. In your case, it sounds like 6.
Consider the tape can fail while writing to it. You may lose your only
backup while this is happening. The tape could fail on the shelf as
well, even if you have two tapes... you are therefore vulnerable while
the tape is being written to, if some reason the tape on the shelf
should not be readable. I realize one can plan this out ad-nauseum, but
I think that 3 is a good balance. You may not need 600 GB, so if you can
get smaller tapes, that works, but considering especially that you
cannot recycle part of a volume, I don't think 1 tape is a good idea.

> But I have a problem and couldn't find the solution reading Bacula's 
> manuals.
> 
> There is a folder I need to backup containing mbox files, among other 
> folders. I need to retain the mail folder (about 5GB currently) for two 
> days only, one full backup per day, while I need to retain the other 
> folders for about 5 months.
> 
> Reading the manuals, I found out that setting the file retention or job 
> retetion doesn't delete the files on media, as I wanted.

Nothing will. The whole media is recycled at once, so everything on the
tape will need to be erased at the same time.

> So it seems to me that if I wanted the desired result, I would need to 
> define 2 pools using the same tape, so that I can configure different 
> Volume Retentions.

It would be best in this case, yeah.

> Is that right? It doesn't seem logic to me, as a pool is supposed to 
> support multiple volumes or tapes and this configuration would give me a 
> tape containing 2 pools...

Pools are just pools of storage. You'd have your tapes for mail, and
your tapes for the other files. You could then use those tapes for a
rotation within those pools.

> Please, tell me what would be the better approach to my problem...

You've almost got it, but you cannot use the same tape. I think that is
what is confusing you.

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj AT umdnj DOT edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFIl16Cmb+gadEcsb4RAqwaAKDJ5SlmMnmAqToQRCxLPjnvmqynYACWNgs7
WhwdUXVwcIJURq8iZEJ2Ww==
=rYIv
-----END PGP SIGNATURE-----

Attachment: novosirj.vcf
Description: Vcard

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users