Re: [Bacula-users] How best to back up VMs in KVM on Debian9

2017-09-14 Thread Josh Fisher


On 9/13/2017 11:33 PM, Thing wrote:

Hi,

I have a handful of small VMs I'd like to backup.  These can be 
stopped while the backup happens.  So what is the alternatoves to do this?


Get bacula to send shutdown command(s) and then back the image(s) up?



That really depends on what needs to be restored and when. If you don't 
anticipate a need for restoring files and folders on a running VM, then 
the VM's backing storage can be backed up from the host. Rather than 
shutting down the VM, this can be done with LVM snapshots in many cases. 
If you do anticipate a need to restore files and folders to a running 
VM, then install the Bacula client on the VM and back up the VM's files 
as you would a physical server.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fw: Re: Renamed and moved files are backed up again

2017-09-14 Thread Fabian Brod


Ich habe die Schritte aus dem Handbuch benutzt.FileSet option. "This option 
works like the verify= one, that is described in the FileSetFileSetResource 
chapter. "
FileSet {
  Name = Full
  Include = {
    Options {
   BaseJob  = pmugcs5
   Accurate = mcs
   Verify   = pin5
    }
    File = /
  }
}
 Job {
    Name = USR
    Level = Base
    FileSet = BaseFS
    ...
  }
  Job {
    Name = Full
    FileSet = FullFS
    Base = USR
    ...
  }
  FileSet {
    Name = BaseFS
    Include {
  Options {
    Signature = MD5
  }
  File = /usr
    }
  }
  FileSet {
    Name = FullFS
    Include {
  Options {
    Accurate = Ms  # check for mtime/ctime and Size
    Signature = MD5
  }
  File = /home
  File = /usr
    }
  }
Das sagt mir das ich auch MD5 benutzen kann.
Die MD5 Summe wird ja auch in der Datenbank hinterlegt aber beim nächsten 
Backup irgend wie ignoriert.
Eine andere Lösung wäre für mich ja auch OK.
Deduplication Optimized Volumes zum Beispiel.
Ich möchte nur nicht verschobene oder umbenannte Daten immer wieder neu Sichern 
wenn es nicht nötig ist.
Die Enterprise Variante ist leider zu Teuer auch wenn Sie gut funktioniert.
 
http://www.bacula.org/9.0.x-manuals/en/main/File_Deduplication_using_Ba.html
 

Gesendet: Montag, 11. September 2017 um 17:05 Uhr
Von: "Radosław Korzeniewski" 
An: "Roberts, Ben" , "Fabian Brod" 

Cc: "Bacula Support" 
Betreff: Re: [Bacula-users] Fw: Aw: Re: Renamed and moved files are backed up 
again

Hello,
 
2017-09-06 10:01 GMT+02:00 Roberts, Ben 
:

Hi Fabian,
 
Others on the list may correct me if I’m wrong, but fundamentally Bacula treats 
different filenames as different entities to be backed up, regardless of 
content being shared across multiple files. The flags you have been changing 
only relax the checks for a given filename to see whether it should be backed 
up or not based on changes to content or metadata. Renaming or moving a file 
will cause the object to be backed up under the new filename again.

 
To correct all misleading statements someone can spread across internet: Bacula 
will always backup the file on Incremental or Differential backups which 
fullname (path+filename) does not exist at previous backups (some additional 
restrictions/conditions apply). It is a true for both Bacula Community and 
Bacula Enterprise and I believe it is a true for virtually every backup system 
you have in the wild. No exceptions. This is a fundamental backup functionality.
The main difference you can get using different backup software (i.e. BC vs. 
BEE+Deduplication) is the content size stored in archive. Some software can 
compress (as a deduplication is a kind of data compression) the file content to 
achieve smaller data archive. This is what Bacula Enterprise with GED or 
Aligned volumes (*) try to do.
*) To be correct Aligned volumes does not make deduplication but allow third 
party external deduplication software/hardware to makes the best.
 
best regards--
Radosław Korzeniewski
rados...@korzeniewski.net[mailto:rados...@korzeniewski.net]

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Non-DoD Source] Re: Configuring Bacula-web 9.0.3 API error

2017-09-14 Thread Hicks, Daniel CTR OSD DMEA
Thanks Marcin, 

After looking at your comments I was not able to find the 
"/usr/share/baculum/htdocs/protected/API/Config/api.conf" file or the 
"/usr/share/baculum/htdocs/protected/API/Logs/baculum-api.log" file

I think that something was missing out of the make process. 

As for the baculum users file symbolic I thought the user file was supposed to 
be in /etc/baculum while the httpd config file looks at the baculum/htdocs area 
for users.

I will wipe out the install and re-do it.  

Daniel Hicks | 916-999-2711 | DMEA 


-Original Message-
From: Marcin Haba [mailto:ganius...@gmail.com] 
Sent: Thursday, September 14, 2017 10:54 AM
To: Hicks, Daniel CTR OSD DMEA 
Cc: Bacula-users@lists.sourceforge.net
Subject: [Non-DoD Source] Re: [Bacula-users] Configuring Bacula-web 9.0.3 API 
error

Hello Daniel,

Could you tell me what you see when you load http://localhost:9096 ?
Does the Apache listen on 9096?

Could you look at:

/var/log/httpd/baculum-api-access.log
/var/log/httpd/baculum-api-error.log

If the Apache listens on 9096 and you see the request in access log and you 
don't see anything wrong in error log then you can enable debug logging in the 
API file:

/usr/share/baculum/htdocs/protected/API/Config/api.conf

by switching in [api] section option debug to "1"

The log should be here:

/usr/share/baculum/htdocs/protected/API/Logs/baculum-api.log

I have also question why you needed to do symbolic links? These users are fully 
managed by Baculum API and Baculum Web interfaces.

Best regards.
Marcin Haba (gani)

On 14 September 2017 at 19:27, Hicks, Daniel CTR OSD DMEA 
 wrote:
> Hello
>
>
>
> I am trying to configure the web interface for Bacula 9.0.3. I have my 
> server side running and using the GUI interface works. I have 
> installed from bin for Centos7. I am using apache, I can access the 
> site localhost:9095 but not localhost:9096
>
>
>
> I have looked at the /etc/httpd/conf.d/baculum-api.conf and the 
> /etc/httpd/conf.d/baculum-web.conf they look good.
>
>
>
> I have updated the user file in 
> /etc/baculum/Config-api-apache/baculum.users
> and created a link in the baculum/htdocs/API/Config
>
> I have updated the user file in 
> /etc/baculum/Config-web-apache/baculum.users
> and created a link in the baculum/htdocs/Web/Config
>
>
>
> I have turned off the firewalld and SElinux is not running.
>
>
>
> When I go through the configuration on localhost:9095 I cannot 
> authenticate with the API
>
>
>
> Thanks
>
>
>
> Daniel Hicks
>
> Senior Systems Analyst
>
> DMEA IT Support
>
>
>
>
> --
>  Check out the vibrant tech community on one of the world's 
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



--
"Greater love hath no man than this, that a man lay down his life for his 
friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za 
przyjaciół swoich." Jezus Chrystus


smime.p7s
Description: S/MIME cryptographic signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Configuring Bacula-web 9.0.3 API error

2017-09-14 Thread Marcin Haba
Hello Daniel,

Could you tell me what you see when you load http://localhost:9096 ?
Does the Apache listen on 9096?

Could you look at:

/var/log/httpd/baculum-api-access.log
/var/log/httpd/baculum-api-error.log

If the Apache listens on 9096 and you see the request in access log
and you don't see anything wrong in error log then you can enable
debug logging in the API file:

/usr/share/baculum/htdocs/protected/API/Config/api.conf

by switching in [api] section option debug to "1"

The log should be here:

/usr/share/baculum/htdocs/protected/API/Logs/baculum-api.log

I have also question why you needed to do symbolic links? These users
are fully managed by Baculum API and Baculum Web interfaces.

Best regards.
Marcin Haba (gani)

On 14 September 2017 at 19:27, Hicks, Daniel CTR OSD DMEA
 wrote:
> Hello
>
>
>
> I am trying to configure the web interface for Bacula 9.0.3. I have my
> server side running and using the GUI interface works. I have installed from
> bin for Centos7. I am using apache, I can access the site localhost:9095 but
> not localhost:9096
>
>
>
> I have looked at the /etc/httpd/conf.d/baculum-api.conf and the
> /etc/httpd/conf.d/baculum-web.conf they look good.
>
>
>
> I have updated the user file in /etc/baculum/Config-api-apache/baculum.users
> and created a link in the baculum/htdocs/API/Config
>
> I have updated the user file in /etc/baculum/Config-web-apache/baculum.users
> and created a link in the baculum/htdocs/Web/Config
>
>
>
> I have turned off the firewalld and SElinux is not running.
>
>
>
> When I go through the configuration on localhost:9095 I cannot authenticate
> with the API
>
>
>
> Thanks
>
>
>
> Daniel Hicks
>
> Senior Systems Analyst
>
> DMEA IT Support
>
>
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



-- 
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Configuring Bacula-web 9.0.3 API error

2017-09-14 Thread Hicks, Daniel CTR OSD DMEA
Hello

I am trying to configure the web interface for Bacula 9.0.3. I have my server 
side running and using the GUI interface works. I have installed from bin for 
Centos7. I am using apache, I can access the site localhost:9095 but not 
localhost:9096

I have looked at the /etc/httpd/conf.d/baculum-api.conf and the 
/etc/httpd/conf.d/baculum-web.conf they look good.

I have updated the user file in /etc/baculum/Config-api-apache/baculum.users 
and created a link in the baculum/htdocs/API/Config
I have updated the user file in /etc/baculum/Config-web-apache/baculum.users 
and created a link in the baculum/htdocs/Web/Config

I have turned off the firewalld and SElinux is not running.

When I go through the configuration on localhost:9095 I cannot authenticate 
with the API

Thanks

Daniel Hicks
Senior Systems Analyst
DMEA IT Support

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users