This is what you said Mark McCracken
> Hi guys -
>
> I'm new to bacula, but I've been reading the docs and trying different
> things to accomplish my goal here, and I'm stumped.  Maybe you can help
> me.
> I have 6 machines on my home network that I want to backup, all to a large
> drive mounted at /mnt/lacie on my storage daemon.  I want to have a
> separate
> subdirectory for each machine (/mnt/lacie/libby, /mnt/lacie/jazz, etc),
> and
> below that a separate subdirectory for each level (/mnt/lacie/libby/Full,
> /mnt/lacie/libby/Incremental).  I am doing Fulls and Incrementals only, no
> Differentials.  I do monthly full backups and weekly incremental backups,
> and I want to keep about 2 months worth of stuff on there at all times (a
> little slop one way or the other is fine).
>
> In a perfect world, my directories would look something like this after
> being completely filled by bacula over the course of 2-3 months:
>
> /mnt/lacie/
> ....libby/
> ........Full/
> ............Monthly0001
> ............Monthly0002
> ........Incremental/
> ............Weekly0001
> ............Weekly0002, 0003, etc up to 0008
> ....jazz/
> ........(just like libby's tree)
> ....(other machines just like libby and jazz)
>

I am a novice bacula user, so beware --

Here is an example of what I am doing.  Not exactly what you are doing,
but it should get you started.  Ignore all comments becuase they probably
do not make sense.  They are there because I cut and paste not because I
have gone back and edited them to make sense.

===========================bacula-sd.conf=================================
Device {
  Name = SD_FULL
  Media Type = File
  Archive Device = /BACKUPS/Full
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

Device {
  Name = SD_INCR
  Media Type = File
  Archive Device = /BACKUPS/Incremental
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

Device {
  Name = SD_DIFF
  Media Type = File
  Archive Device = /BACKUPS/Differential
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

Device {
  Name = SD_CTLG
  Media Type = File
  Archive Device = /BACKUPS/Catalog
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}


===========================bacula-dir.conf=================================
# Definition of file storage device
Storage {
  Name = FSD_FULL
# Do not use "localhost" here
  Address = MyBacula                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "........."
  Device = SD_FULL
  Media Type = File
}

Storage {
  Name = FSD_INCR
# Do not use "localhost" here
  Address = MyBacula                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "........."
  Device = SD_INCR
  Media Type = File
}


Storage {
  Name = FSD_DIFF
# Do not use "localhost" here
  Address = MyBacula                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "........."
  Device = SD_DIFF
  Media Type = File
}

Storage {
  Name = FSD_CTLG
# Do not use "localhost" here
  Address = MyBacula                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "........."
  Device = SD_CTLG
  Media Type = File
}

Pool {
  Name = FULL-Pool
  Pool Type = Backup
  Recycle = yes                         # Bacula can automatically recycle
Volumes
  Recycle Oldest Volume = yes           # Recycle Oldest Volume
  AutoPrune = yes                       # Prune expired volumes
  Volume Retention = 1 months           # 3 months
  Accept Any Volume = yes               # write on any volume in the pool
  Maximum Volume Jobs = 1
  Maximum Volumes = 10
  LabelFormat = "FULL-"
}

Pool {
  Name = DIFF-Pool
  Pool Type = Backup
  Recycle = yes                         # Bacula can automatically recycle
Volumes
  Recycle Oldest Volume = yes           # Recycle Oldest Volume
  AutoPrune = yes                       # Prune expired volumes
  Volume Retention = 2 months           # 32 days
  Accept Any Volume = yes               # write on any volume in the pool
  Maximum Volume Jobs = 2
  Maximum Volumes = 9
  LabelFormat = "DIFF-"
}

Pool
{
  Name = INCR-Pool
  Pool Type = Backup
  Recycle = yes                         # Bacula can automatically recycle
Volumes
  Recycle Oldest Volume = yes           # Recycle Oldest Volume
  AutoPrune = yes                       # Prune expired volumes
  Volume Retention = 1 months           # 7 days
  Accept Any Volume = yes               # write on any volume in the pool
  Maximum Volume Jobs = 12
  Maximum Volumes = 5
  LabelFormat = "INCR-"
}

Pool
{
  Name = CTLG-Pool
  Pool Type = Backup
  Recycle = yes                         # Bacula can automatically recycle
Volumes
  Recycle Oldest Volume = yes           # Recycle Oldest Volume
  AutoPrune = yes                       # Prune expired volumes
  Volume Retention = 1 months           # 7 days
  Accept Any Volume = yes               # write on any volume in the pool
  Maximum Volume Jobs = 7
  Maximum Volumes = 5
  LabelFormat = "CTLG-"
}


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to