[bareos-users] Re: Jobdefs and job

2021-01-25 Thread 'Frank Cherry' via bareos-users
OK, solution found myself. It comes from the JobDefs, the last 3 lines:

" Incremental Backup Pool Type:

The Incremental Backup Pool specifies a Pool to be used for Incremental 
backups.* It will override any Pool (Dir->Job) 
 
specification during an Incremental backup.*
"
The last night was too long  
Frank Cherry schrieb am Dienstag, 26. Januar 2021 um 07:51:21 UTC+1:

>
> Hi there,
>
> Why did bareos want's the volume "... Director wanted Volume 
> "Incremental-0027". "
> from the Incremental Pool and not from the " CRInc- " Pool like configured 
> in the job?
> I thought, parameters in the job overwrites parameters in jobdefs?
>
> Here are my configs:
>
> JobDefs {
>   Name = "DefaultJob"
>   Type = Backup
>   Level = Incremental
>   Client = bareos-fd
>   FileSet = "SelfTest" # selftest 
> fileset(#13)
>   Schedule = "WeeklyCycle"
>   Storage = File
>   Messages = Standard
>   Pool = Incremental
>   Priority = 10
>   Write Bootstrap = "/var/lib/bareos/%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)
> }
>
> Job {
>   Name = "BackupStorage1Data"
>   JobDefs = "DefaultJob"
>   Client = "Storage1"
>   Pool = CR-Inc-Pool
>   Type = Backup
>   Storage = Tape
>   Spool Data = yes
>   Schedule = "CR-WeeklyCycle"
>   FileSet = "Storage1Data"
>   
> Run Script {
> Console = ".bvfs_update jobid=%i"
> RunsWhen = After
> RunsOnClient = No
>   }
>   RunBeforeJob = "/etc/bareos/load_tape.sh"
>   RunAfterJob  = "/etc/bareos/eject_tape.sh"
> }
>

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/a94576b8-f983-43ee-b149-e36b0f340da0n%40googlegroups.com.


[bareos-users] Jobdefs and job

2021-01-25 Thread 'Frank Cherry' via bareos-users

Hi there,

Why did bareos want's the volume "... Director wanted Volume 
"Incremental-0027". "
from the Incremental Pool and not from the " CRInc- " Pool like configured 
in the job?
I thought, parameters in the job overwrites parameters in jobdefs?

Here are my configs:

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = bareos-fd
  FileSet = "SelfTest" # selftest 
fileset(#13)
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = Incremental
  Priority = 10
  Write Bootstrap = "/var/lib/bareos/%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)
}

Job {
  Name = "BackupStorage1Data"
  JobDefs = "DefaultJob"
  Client = "Storage1"
  Pool = CR-Inc-Pool
  Type = Backup
  Storage = Tape
  Spool Data = yes
  Schedule = "CR-WeeklyCycle"
  FileSet = "Storage1Data"
  
Run Script {
Console = ".bvfs_update jobid=%i"
RunsWhen = After
RunsOnClient = No
  }
  RunBeforeJob = "/etc/bareos/load_tape.sh"
  RunAfterJob  = "/etc/bareos/eject_tape.sh"
}

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/17b7d8b0-85cb-4da9-9754-dc64158745b7n%40googlegroups.com.


[bareos-users] Re: Very Newbie Linux Full Backup Size

2021-01-25 Thread 'Frank Cherry' via bareos-users
What's the output of "du -sch", executed at the VM's root: "/"

ric...@rogersuk.me.uk schrieb am Montag, 25. Januar 2021 um 09:32:29 UTC+1:

> Hi,
> I've just started looking into this app for backing up my Linux and 
> FreeBSD boxes.
> I've started by backing up one server, which is a pretty small one.
> However, the first full backup is huge (584GB).
> The server is an ESXi 6.5 VM with only a 200GB drive assigned.
> Obviously there is something I've configured wrong, so any advice 
> gratefully appreciated.
> This is what's listed in Bareos:
> [image: Bareos-Linux-Client.png]
> This is the client's file system:
> [image: Bareos-Linux-Client-Files-System.png]
> This the the FileSet:
>
> FileSet {
>   Name = "LinuxAll"
>   Description = "Backup all regular filesystems, determined by filesystem 
> type."
>   Include {
> Options {
>   Signature = MD5 # calculate md5 checksum per file
>   One FS = No # change into other filessytems
>   FS Type = btrfs
>   FS Type = ext2  # filesystems of given types will be backed up
>   FS Type = ext3  # others will be ignored
>   FS Type = ext4
>   FS Type = reiserfs
>   FS Type = jfs
>   FS Type = xfs
>   FS Type = zfs
> }
> File = /
>   }
>   # Things that usually have to be excluded
>   # You have to exclude /var/lib/bareos/storage
>   # on your bareos server
>   Exclude {
> File = /var/lib/bareos
> File = /var/lib/bareos/storage
> File = /proc
> File = /tmp
> File = /var/tmp
> File = /.journal
> File = /.fsck
>   }
> }
>
>
> JobDef:
>   GNU nano 4.8
>  /etc/bareos/bareos-dir.d/jobdefs/LinuxJob.conf
> JobDefs {
>   Name = "LinuxJob"
>   Type = Backup
>   Level = Incremental
>   Client = bareos-fd
>   FileSet = "LinuxAll"
>   Schedule = "WeeklyCycle"
>   Storage = File
>   Messages = Standard
>   Pool = Incremental
>   Priority = 10
>   Write Bootstrap = "/var/lib/bareos/%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)
> }
>
> Dir Config for Client:
> Job {
>   Name = "svrwebutil01"
>   Client = svrwebutil01-fd
>   JobDefs = "LinuxJob"
> }
>
>
> Client {
>   Name = svrwebutil01-fd
>   Address = svrwebutil01# the name has to be resolvable through DNS
>   Password = "REMOVED" # password for FileDaemon which has to be 
> the same like the password in the director ressource of the bareos-fd.conf 
> on the backup c>
>   File Retention = 30 days# 30 days
>   Job Retention = 6 months# six months
>   AutoPrune = yes  # Prune expired Jobs/Files
> }
>
> Thanks,
> Richie
>
>

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/ac84897e-2390-4e0e-9ddf-2238cb76b31an%40googlegroups.com.


[bareos-users] Bareos backup all databases MSSQL

2021-01-25 Thread Dmitry Lubencov
Configured a backup of the mssql database, connected the mssqlvdi plugin. 
Everything works with one database. The backup is done, but how to make a 
backup of all the databases that are created in MSSQL?

  Plugin = "mssqlvdi: serveraddress = 192.168.xxx.4: instance = default: 
database = TEST: username = bareos: password = bareos"

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/70f0a3c9-60ef-491a-a0c1-61f861467082n%40googlegroups.com.


Re: [bareos-users] Estimating usage for S3 storage plugin

2021-01-25 Thread Spadajspadaj



On 18/01/2021 13:04, Spadajspadaj wrote:

On 18/01/2021 11:28, Brock Palen wrote:
Disclaimer I have not used s3 with bareos but done many cloud 
calculations.


Few things to think about using cloud.
Are you running your SD in the cloud?
Are your backup clients in the cloud?
If not what’s your bandwidth? It will impact your backup and restore 
times significantly if you have modest WAN capacity for local 
 clients servers.


No, no. I was thinking about keeping an extra copy "off-site". I'm 
mostly cloud-free at the moment and I do not wish to change it 
significantly. I was thinking whether S3 could be an option for 
extending my home backup setup.


Of course I understand the impact of bandwidth on the backup/restore 
times. :-)



OK. I recalculated it using the AWS calculator and it turnes out that 
even with glacier tier I can live with costs for storing the data (some 
16$ per month for 4TB), but in case of disaster I'd have to pay 
something like 180$ for transfer. That's definitely not worth it. I'd 
rather buy another disk and keep it in rotation.


It turns out it's not very useful for me after all.

--
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/fdea87d9-2ae9-b35b-ce0e-be3e86851622%40gmail.com.


[bareos-users] Very Newbie Linux Full Backup Size

2021-01-25 Thread 'Richard Rogers' via bareos-users
Hi,
I've just started looking into this app for backing up my Linux and FreeBSD 
boxes.
I've started by backing up one server, which is a pretty small one.
However, the first full backup is huge (584GB).
The server is an ESXi 6.5 VM with only a 200GB drive assigned.
Obviously there is something I've configured wrong, so any advice 
gratefully appreciated.
This is what's listed in Bareos:
[image: Bareos-Linux-Client.png]
This is the client's file system:
[image: Bareos-Linux-Client-Files-System.png]
This the the FileSet:

FileSet {
  Name = "LinuxAll"
  Description = "Backup all regular filesystems, determined by filesystem 
type."
  Include {
Options {
  Signature = MD5 # calculate md5 checksum per file
  One FS = No # change into other filessytems
  FS Type = btrfs
  FS Type = ext2  # filesystems of given types will be backed up
  FS Type = ext3  # others will be ignored
  FS Type = ext4
  FS Type = reiserfs
  FS Type = jfs
  FS Type = xfs
  FS Type = zfs
}
File = /
  }
  # Things that usually have to be excluded
  # You have to exclude /var/lib/bareos/storage
  # on your bareos server
  Exclude {
File = /var/lib/bareos
File = /var/lib/bareos/storage
File = /proc
File = /tmp
File = /var/tmp
File = /.journal
File = /.fsck
  }
}


JobDef:
  GNU nano 4.8  
   /etc/bareos/bareos-dir.d/jobdefs/LinuxJob.conf
JobDefs {
  Name = "LinuxJob"
  Type = Backup
  Level = Incremental
  Client = bareos-fd
  FileSet = "LinuxAll"
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = Incremental
  Priority = 10
  Write Bootstrap = "/var/lib/bareos/%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)
}

Dir Config for Client:
Job {
  Name = "svrwebutil01"
  Client = svrwebutil01-fd
  JobDefs = "LinuxJob"
}


Client {
  Name = svrwebutil01-fd
  Address = svrwebutil01# the name has to be resolvable through DNS
  Password = "REMOVED" # password for FileDaemon which has to be 
the same like the password in the director ressource of the bareos-fd.conf 
on the backup c>
  File Retention = 30 days# 30 days
  Job Retention = 6 months# six months
  AutoPrune = yes  # Prune expired Jobs/Files
}

Thanks,
Richie

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/2bd95b75-0b61-460b-b6e7-ac06c83a90d4n%40googlegroups.com.