Date: Wed, 29 Sep 2010 09:12:35 -0400 From: John Drescher <drescherjm@gmail.com> To: Albin Vega <albinv4616@gmail.com> Cc: FreeBSD Mailingliste <freebsd-questions@freebsd.org>, Bacula Mailingliste <bacula-users@lists.sourceforge.net> Subject: Re: [Bacula-users] Recycling of volumes in Bacula Message-ID: <AANLkTimifWUsaZ6u9HY-UjTmnsHpmPAOiwqMjF8wXGyk@mail.gmail.com> In-Reply-To: <AANLkTinD%2B3LAQod%2BYAqWS=fbxRmDgWq0km16p9WYcNjz@mail.gmail.com> References: <AANLkTinD%2B3LAQod%2BYAqWS=fbxRmDgWq0km16p9WYcNjz@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/9/29 Albin Vega <albinv4616@gmail.com>: > Hello > > I have now set up my first couple of backup jobs, both local and over > internet and it seems to bee working fine!! Quite happy about this since = its > my first time using Bacula! However=A0I have a=A0couple of=A0questions=A0= about > version control an recycling of volumes. > First a little info. I have 5 jobs running, each with its ovn fd/sd and p= ool > so they can run at the same time. I use incremental backup. Here is the > config of the pool and client for one of the jobs. > > } > # File Pool definition > Pool { > =A0 Name =3D buzzy-pool > =A0 Pool Type =3D Backup > #=A0 Accept Any Volume =3D yes=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 # write on any volume in the pool > =A0 LabelFormat =3D "buzzy-" > =A0 Recycle =3D yes=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # Bacula can automatically > recycle Volumes > =A0 AutoPrune =3D yes=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0# Prune expired volumes > =A0 Volume Retention =3D 1 year=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 # 1 year > =A0 Maximum Volume Bytes =3D 50G=A0=A0=A0=A0=A0=A0=A0=A0=A0 # Limit Volum= e size to something > reasonable > =A0 Maximum Volumes =3D 10=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 =A0# Limit number of Volumes in Pool > } > > Question: When a volume gets recycled, are all the files on that volume j= ust > deleted, When a volume gets recycled the volume gets overwritten in the next backup that uses it. I think now you can have it automatically truncate if you want. >or is it just files that has been deleted on the server being > backed up that is deleted? No definitely not that. > client { > =A0 Name =3D buzzy-fd > =A0 Address =3D buzzy.client.net > =A0 FDPort =3D 9102 > =A0 Catalog =3D MyCatalog > =A0 Password =3D "Password"=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # p= assword for FileDaemon 2 > =A0 File Retention =3D=A06 months=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 #=A06 mon= ths > =A0 Job Retention =3D 6 months=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # six mon= ths > =A0 AutoPrune =3D yes=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 =A0# Prune expired Jobs/Files > > > What I would really like is this: > 1. When a deleted file gets older than 6 months (a file that is deleted i= n > the original server beeing backed up) I would like it to=A0be deleted=A0i= n the > Bacula system. But I dont want files that in general is older than 6 mont= hs > (and not deleted from the original server beeing backed up) to be deleted > from the Bacula system. Bacula does not have that feature. Also remember that recycling is an entire volume at once not parts of the volume get deleted over time. Bacula volumes are append only then delete the entire volume to recycle. The reason for this is bacula supports tape and other formats not just disk and all formats work the same way. > 2. When sombody changes a file, the file gets backed up again by Bacula, = and > every time its chaned it get backed up. Is there a way to configure that > Bacula only keeps the 4 -5 last versions of this file, and delete the old= er > ones? > Bacula does not work this way. And because of my answers above I am not sure you could force it do do what you want. John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimifWUsaZ6u9HY-UjTmnsHpmPAOiwqMjF8wXGyk>