From owner-freebsd-questions@FreeBSD.ORG Wed Sep 29 12:52:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4961106566C for ; Wed, 29 Sep 2010 12:52:38 +0000 (UTC) (envelope-from albinv4616@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 705838FC19 for ; Wed, 29 Sep 2010 12:52:38 +0000 (UTC) Received: by wwb17 with SMTP id 17so938061wwb.31 for ; Wed, 29 Sep 2010 05:52:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=2W/yST2vI4elhGtmmA8ybn6uRDfFz/qV16VxAdEG6V0=; b=LgO+BlIwfgQNvjzTD7DgluCseOr9bwvdmsBnBEl82WZ/HCPQegRyZjuO3OFVJEG2IM WrpJEwB6Lt4PuW833dmPgv76KIq/soDd1ZQK24x9KvvczbzQOPoA5/o0K0d6tuxjDiUG pV8Ga67zSkVQVSa24mFQcOlyhYt76s/cJ0clE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=N4DK7SQgsvw8hFSg3Omb4u/ZM3kXLlQvcZQXScd2I2ZzZDADjNWfWk855Isk1+muXR c+a0KVSp37oSsLlkaizcq5gu9bYY1h8/ILiEyyEE1T+B78CHcceeucqPQuWCQeKPfROI tLPo9Nr59I+xgSVReR9fWKKohyfsUDOh2ywn4= MIME-Version: 1.0 Received: by 10.216.71.85 with SMTP id q63mr1366492wed.53.1285764756843; Wed, 29 Sep 2010 05:52:36 -0700 (PDT) Received: by 10.216.233.148 with HTTP; Wed, 29 Sep 2010 05:52:36 -0700 (PDT) Date: Wed, 29 Sep 2010 14:52:36 +0200 Message-ID: From: Albin Vega To: FreeBSD Mailingliste , Bacula Mailingliste Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Recycling of volumes in Bacula X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 12:52:39 -0000 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 I have a couple of questions about version control an recycling of volumes. First a little info. I have 5 jobs running, each with its ovn fd/sd and pool 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 { Name = buzzy-pool Pool Type = Backup # Accept Any Volume = yes # write on any volume in the pool LabelFormat = "buzzy-" Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 1 year # 1 year Maximum Volume Bytes = 50G # Limit Volume size to something reasonable Maximum Volumes = 10 # Limit number of Volumes in Pool } Question: When a volume gets recycled, are all the files on that volume just deleted, or is it just files that has been deleted on the server being backed up that is deleted? client { Name = buzzy-fd Address = buzzy.client.net FDPort = 9102 Catalog = MyCatalog Password = "Password" # password for FileDaemon 2 File Retention = 6 months # 6 months Job Retention = 6 months # six months AutoPrune = yes # 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 in the original server beeing backed up) I would like it to be deleted in the Bacula system. But I dont want files that in general is older than 6 months (and not deleted from the original server beeing backed up) to be deleted from the Bacula system. 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 older ones? I have looked in the manual but not found any good explanations on this. Google it didnt turn up anything either.. Hope someone could give me som feedback on this. Best regards Albin