Jon,

Thank you for getting me back on track looking at the logical place to 
assign that.

Rich

On Wednesday, September 30, 2020 at 12:25:27 PM UTC-6 Jon Schewe wrote:

> Rich,
>
> You want to specify the Storage in the Pool definition. That should do 
> what you want.
>
> *Jon Schewe*
>
> Research Scientist
>
>
> C: +1 612.263.2718 <(612)%20263-2718>
>
> O: +1 952.545.5720 <(952)%20545-5720>
>
> *[email protected]*
>
>
> *Raytheon Technologies*
>
> Raytheon Intelligence & Space
>
> 5775 Wayzata Blvd. Suite 630
>
> St. Louis Park, MN 55416 
>
>
> *RTX.com <https://www.rtx.com/>* | *LinkedIn 
> <https://www.linkedin.com/company/raytheontechnologies>* | *Twitter 
> <https://twitter.com/raytheontech>* | *Instagram 
> <https://www.instagram.com/raytheontechnologies>* 
>
> ------------------------------
> *From:* [email protected] <[email protected]> on behalf 
> of Rich Deeming <[email protected]>
> *Sent:* Wednesday, September 30, 2020 11:59
> *To:* bareos-users <[email protected]>
> *Subject:* [External] [bareos-users] Split Full, Diff, Incr Vols on 
> different file storage mount points 
>  
> I am trying to figure out a way to create a job/jobdef that will split the 
> volumes (pools) across three separate mount points on the storage server. 
>
> Think of it as writing only Full B/U to specific tapes designated just for 
> Full to be sent off site but keeping Differential on a different set of 
> tapes for alternative retention period etc.
>
> In my case, this is Full goes to /bareos/full mount point which is on one 
> USB attached drive.  /bareos/diff goes to a different USB attached drive. 
>  /bareos/incr goes to yet a different USB attached drive.
>
> The storage/pool configuration I am attempting to get a working job 
> schedule (Full once every 90 days, weekly differential, Incremental Daily,) 
>  is as follows.  Note: The Red "Storage = arc-sd" is just my current 
> config on the director using a single Device arc-sd which writes all 
> volumes to a same file location.
>
> I have read all the various docs and examples so much I think my strategy 
> must be flawed to the point I can't visualize the correct configuration. 
>  haha
>
> Thx in advance for any input or suggestions.
>
> *On the storage device*
>
> Storage {
>
>   Name = arc-sd
>   Maximum Concurrent Jobs = 6
> }
>
> Device {
>
>   Name = arc-full-sd
>
>   Media Type = File
>
>   Archive Device = /bareos/full
>
>   LabelMedia = yes;
>
>   Random Access = yes;
>
>   AutomaticMount = yes;
>
>   RemovableMedia = no;
>
>   AlwaysOpen = no;
>
>   Description = "Server arc B/U Full device"
>
> }
>
> Device {
>
>   Name = arc-diff-sd
>
>   Media Type = File
>
>   Archive Device = /bareos/diff
>
>   LabelMedia = yes;
>
>   Random Access = yes;
>
>   AutomaticMount = yes;
>
>   RemovableMedia = no;
>
>   AlwaysOpen = no;
>
>   Description = "Server arc B/U Differential device"
>
> }
>
> Device {
>
>   Name = arc-incr-sd
>
>   Media Type = File
>
>   Archive Device = /bareos/incr
>
>   LabelMedia = yes;
>
>   Random Access = yes;
>
>   AutomaticMount = yes;
>
>   RemovableMedia = no;
>
>   AlwaysOpen = no;
>
>   Description = "Server arc B/U incremental device"
>
> }
>
> *On the director*
>
> Storage {
>
>   Name = arc-diff-sd
>
>   Address = arc
>
>   Password =
>
>   Device = arc-diff-sd
>
>   Media Type = File
>
>   Maximum Concurrent Jobs = 2
>
> }
>
> Storage {
>
>   Name = arc-full-sd
>
>   Address = arc
>
>   Password =
>
>   Device = arc-full-sd
>
>   Media Type = File
>
>   Maximum Concurrent Jobs = 2
>
> }
>
> Storage {
>
>   Name = arc-incr-sd
>
>   Address = arc
>
>   Password =
>
>   Device = arc-incr-sd
>
>   Media Type = File
>
>   Maximum Concurrent Jobs = 2
>
> }
>
> Pool {
>
>   Name = Full
>
>   Pool Type = Backup
>
>   Recycle = yes                       # Bareos can automatically recycle 
> Volumes
>
>   Recycle Oldest Volume = yes         # RWD
>
>   Action On Purge = Truncate          # RWD
>
>   AutoPrune = yes                     # Prune expired volumes
>
>   Volume Retention = 1 years          # How long should the Full Backups 
> be kept? (#06)
>
>   Maximum Volume Bytes = 100G         # Limit Volume size to something 
> reasonable
>
> #  Maximum Volumes = 20                # Limit number of Volumes in Pool
>
>   Label Format = "Full-"              # Volumes will be labeled 
> "Full-<volume-id>"
>
> }
>
> Pool {
>
>   Name = Differential
>
>   Pool Type = Backup
>
>   Recycle = yes                       # Bareos can automatically recycle 
> Volumes
>
>   Recycle Oldest Volume = yes         # RWD
>
>   Action On Purge = Truncate          # RWD
>
>   AutoPrune = yes                     # Prune expired volumes
>
>   Volume Retention = 90 days          # How long should the Differential 
> Backups be kept? (#09)
>
>   Maximum Volume Bytes = 50G          # Limit Volume size to something 
> reasonable
>
> #  Maximum Volumes = 40                # Limit number of Volumes in Pool
>
>   Label Format = "Differential-"      # Volumes will be labeled 
> "Differential-<volume-id>"
>
> }
>
> Pool {
>
>   Name = Incremental
>
>   Pool Type = Backup
>
>   Recycle = yes                       # Bareos can automatically recycle 
> Volumes
>
>   Recycle Oldest Volume = yes         # RWD
>
>   Action On Purge = Truncate          # RWD
>
>   AutoPrune = yes                     # Prune expired volumes
>
>   Volume Retention = 30 days          # How long should the Incremental 
> Backups be kept?  (#12)
>
>   Maximum Volume Bytes = 25G          # Limit Volume size to something 
> reasonable
>
> #  Maximum Volumes = 20                # Limit number of Volumes in Pool
>
>   Label Format = "Incremental-"       # Volumes will be labeled 
> "Incremental-<volume-id>"
>
> }
>
> JobDefs {
>
>   Name = "DefaultJob-bareos"
>
>   Type = Backup
>
>   Level = Incremental
>
>   FileSet = "LinuxAll"
>
>   Schedule = "WeeklyCycle"
>
>   Max Full Interval = 90d     # Create a Full B/U every 90 days
>
>   Storage = arc-sd
>
>   Messages = Standard
>
>   Pool = Incremental
>
>   Priority = 10
>
>   Write Bootstrap = "/bareos/bu/%c.bsr"
>
>   Full Backup Pool = Full                  # write Full Backups into 
> "Full" Pool         (#05)
>
>   Differential Backup Pool = Differential  # write Diff Backups into 
> "Differential" Pool (#08)
>
>   Incremental Backup Pool = Incremental    # write Incr Backups into 
> "Incremental" Pool  (#11)
>
> }
>
> Schedule {
>
>   Name = "WeeklyCycle"
>
>   Run = Differential sat at 21:35               # (#07)
>
>   Run = Incremental mon-fri at 21:35            # (#10)
>
> }
>
> Job {
>
>   Name = "backup-samba-fd"
>
>   JobDefs = "DefaultJob-bareos"
>
>   Client = "samba-fd"
>
>   Storage = arc-sd
>
> }
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bareos-users/d0593be3-df1b-49dd-94d2-793f8dc70498n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/bareos-users/d0593be3-df1b-49dd-94d2-793f8dc70498n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/ecfb5ab4-1aca-4ca3-a233-8658d9030250n%40googlegroups.com.

Reply via email to