[Bacula-users] Backup pf bacula database

2022-10-14 Thread Gina Costa
Hi,
I have bacula 11 installed in a Debian 10 server.
I want  to make a backup of the catalog database using  the script 
/opt/bacula/scripts/make_catalog_backup.pl
Can anyone explain me how  to use this script.

When I run the script doing:
./make_catalog_backup.pl

I receive the following instructions:
Usage: ./make_catalog_backup.pl [-m|--maintenance-only] catalogname at 
./make_catalog_backup.pl line 22.

If I do:
./make_catalog_backup.pl bacula

I got the message:
"Can't find your catalog (bacula) in director configuration"

Anyone 
Gina Costa

Universidade de Coimbra • Administração
SGSIIC-Serviço de Gestão de Sistemas e Infraestruturas de Informação e 
Comunicação
Divisão de Infraestruturas de TIC
Rua do Arco da Traição | 3000-056 COIMBRA • PORTUGAL 
Tel.: +351 239 242 870 
E-mail: gina.co...@uc.pt
www.uc.pt/administracao
 




Este e-mail pretende ser amigo do ambiente. Pondere antes de o imprimir! 
This e-mail is environment friendly. Please think twice before printing it!




smime.p7s
Description: S/MIME cryptographic signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backup Catalog

2022-10-19 Thread Gina Costa
Hi.

I’m using bacula 11, that has a default job “Backup Catalog”  to make backup of 
Bacula Catalog (database).
When I run the job I get the following message:

shell command: run BeforeJob "/opt/bacula/scripts/make_catalog_backup.pl 
MyCatalog"
BeforeJob: sh: 1: cannot create /opt/bacula/working/bacula.sql: Permission 
denied

The directory /opt/bacula/scripts/ is configured with this privileges:
drwxrwxrwx  3 bacula www-data 4096 Oct 19 11:02 working
Anyone can help me
Thanks

Gina Costa

Universidade de Coimbra • Administração
SGSIIC-Serviço de Gestão de Sistemas e Infraestruturas de Informação e 
Comunicação
Divisão de Infraestruturas de TIC
Rua do Arco da Traição | 3000-056 COIMBRA • PORTUGAL 
Tel.: +351 239 242 870 
E-mail: gina.co...@uc.pt
www.uc.pt/administracao
 




Este e-mail pretende ser amigo do ambiente. Pondere antes de o imprimir! 
This e-mail is environment friendly. Please think twice before printing it!




smime.p7s
Description: S/MIME cryptographic signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Notifications doesn't work

2022-11-21 Thread Gina Costa
Hi,

I’m using bacula 9 over CentOS. I need receive notifications about job failures 
but this notifications doesn’t work.
The configuration file bacula-dir.conf has the followup Messages directive:

***
Messages {
Name = Standard
mailcommand = "/usr/sbin/bsmtp -h 192.168.0.66 -f "(Bacula) <%r>" -s "Bacula: 
%t %e of %c %l" %r"
operatorcommand = "/usr/sbin/bsmtp -h 192.168.0.66 -f "(Bacula) <%r>" -s 
"Bacula: Intervention needed for %j" %r"
mail = gina.co...@uc.pt = all, !skipped
operator = gina.co...@uc.pt = mount
console = all, !skipped, !saved
append = "/var/log/bacula/bacula.log" = all, !skipped
catalog = all
}
***

To test whether the mail sending is working as it should, I do the following 
command, and this works fine, I receive the test message :

echo "This is test message." | /opt/bacula/bin/bsmtp -h 192.168.0.66 -f 
bac...@uc.pt -s "Test" gina.co...@uc.pt -d 50


Can anyone help me?



Gina Costa

Universidade de Coimbra • Administração
SGSIIC-Serviço de Gestão de Sistemas e Infraestruturas de Informação e 
Comunicação
Divisão de Infraestruturas de TIC
Rua do Arco da Traição | 3000-056 COIMBRA • PORTUGAL 
Tel.: +351 239 242 870 
E-mail: gina.co...@uc.pt
www.uc.pt/administracao
 




Este e-mail pretende ser amigo do ambiente. Pondere antes de o imprimir! 
This e-mail is environment friendly. Please think twice before printing it!




smime.p7s
Description: S/MIME cryptographic signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem running a Job: SD despooling Attributes

2023-02-24 Thread Gina Costa
Hi,

I'm using bacula 9.6 on CentOS.
When I run a job, I get the following error:
**
bacula-dir JobId 5821: Error: Bacula bacula-dir 9.6.5 (11Jun20):
  Build OS:   x86_64-redhat-linux-gnu-bacula redhat (Core)
  JobId:  5821
  Job:job_ls.uc.pt:linux.2023-02-24_13.59.10_01
  Backup Level:   Full
  Client: "ls.uc.pt:linux" 9.0.6 (20Nov17) 
x86_64-redhat-linux-gnu,redhat,(Core)
  FileSet:"SO Linux:COM_NFS" 2021-10-25 11:57:10
  Pool:   "FileSRV_5Gb" (From Command input)
  Catalog:"MyCatalog" (From Client resource)
  Storage:"storage-BP3_SRV" (From Command input)
  Scheduled time: 24-Feb-2023 13:59:10
  Start time: 24-Feb-2023 13:59:13
  End time:   24-Feb-2023 14:07:37
  Elapsed time:   8 mins 24 secs
  Priority:   10
  FD Files Written:   183,699
  SD Files Written:   0
  FD Bytes Written:   11,519,285,551 (11.51 GB)
  SD Bytes Written:   0 (0 B)
  Rate:   22855.7 KB/s
  Software Compression:   100.0% 1.0:1
  Comm Line Compression:  None
  Snapshot/VSS:   no
  Encryption: no
  Accurate:   no
  Volume name(s): bckSrv_3606|bckSrv_3608|bckSrv_3668|
  Volume Session Id:  9
  Volume Session Time:1677162603
  Last Volume Bytes:  819,229,026 (819.2 MB)
  Non-fatal FD errors:1
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  SD despooling Attributes
  Termination:*** Backup Error ***

bacula-dir JobId 5821: Fatal error: catreq.c:513 Attribute create error: ERR=
bacula-sd JobId 5821: Sending spooled attrs to the Director. Despooling 
35,629,022 bytes …
******

Can anyone help me???
Thanks

Gina Costa

Universidade de Coimbra • Administração
SGSIIC-Serviço de Gestão de Sistemas e Infraestruturas de Informação e 
Comunicação
Divisão de Infraestruturas de TIC
Rua do Arco da Traição | 3000-056 COIMBRA • PORTUGAL 
Tel.: +351 239 242 870 
E-mail: gina.co...@uc.pt
www.uc.pt/administracao
 




Este e-mail pretende ser amigo do ambiente. Pondere antes de o imprimir! 
This e-mail is environment friendly. Please think twice before printing it!




smime.p7s
Description: S/MIME cryptographic signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] SD despooling Attributes

2023-05-19 Thread Gina Costa
Hi,

I’m using Bacula 9 to backup multiple servers in my organizations
I have many backups running every day but there is one in particular (that is 
about 650 GB) , that give me the following error:


  SD Errors:  0
  FD termination status:  OK
  SD termination status:  SD despooling Attributes
  Termination:*** Backup Error ***
bacula-dir JobId 5689: Fatal error: catreq.c:513 Attribute create error: ERR=
bacula-sd JobId 5689: Sending spooled attrs to the Director. Despooling 
2,203,449,637 bytes ...
bacula-sd JobId 5689: Elapsed time=46:10:07, Transfer rate=3.770 M Bytes/second
*

Can anyone help me ?

Thanks

Gina Costa

Universidade de Coimbra • Administração
SGSIIC-Serviço de Gestão de Sistemas e Infraestruturas de Informação e 
Comunicação
Divisão de Infraestruturas de TIC
Rua do Arco da Traição | 3000-056 COIMBRA • PORTUGAL 
Tel.: +351 239 242 870 
E-mail: gina.co...@uc.pt
www.uc.pt/administracao
 




Este e-mail pretende ser amigo do ambiente. Pondere antes de o imprimir! 
This e-mail is environment friendly. Please think twice before printing it!




smime.p7s
Description: S/MIME cryptographic signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backup windows client fail

2023-07-03 Thread Gina Costa
Hi,

I have a windows client which backup always run fine. A few days ago, the 
backup doesn’t work.
The comunication between diretor and client is OK, as shown in this log message:


vsantoantao-fd Version: 5.2.10 (28 June 2012)  VSS Linux Cross-compile Win32
Daemon started 03-Jul-23 10:55. Jobs: run=0 running=0.
Microsoft Windows Server 2003 R2 Standard Edition Service Pack 2 (build 3790)
 Heap: heap=0 smbytes=32,299 max_bytes=34,815 bufs=65 max_bufs=91
 Sizeof: boffset_t=8 size_t=4 debug=0 trace=1
Running Jobs:
Director connected at: 03-Jul-23 11:56
No Jobs running.


When the backup job ran, the following error occurs:

==
03-Jul 11:27 vsantoantao-fd JobId 6989: Fatal error: lib/bsock.c:138 Unable to 
connect to Storage daemon on 192.168.0.164:9103. ERR=The operation completed 
successfully.
03-Jul 11:27 vsantoantao-fd JobId 6989: Fatal error: Failed to connect to 
Storage daemon: 192.168.0.164:9103
03-Jul 11:31 bacula-dir JobId 6989: Fatal error: Bad response to Storage 
command: wanted 2000 OK storage, got 2902 Bad storage
==

Can anyone help me?

Universidade de Coimbra • Administração
SGSIIC-Serviço de Gestão de Sistemas e Infraestruturas de Informação e 
Comunicação
Divisão de Infraestruturas de TIC
Rua do Arco da Traição | 3000-056 COIMBRA • PORTUGAL 
Tel.: +351 239 242 870 
E-mail: gina.co...@uc.pt
www.uc.pt/administracao
 




Este e-mail pretende ser amigo do ambiente. Pondere antes de o imprimir! 
This e-mail is environment friendly. Please think twice before printing it!




smime.p7s
Description: S/MIME cryptographic signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula Backup Problem

2025-01-15 Thread Gina Costa

Hi,

I´m using Bacula 9.6.5, and I ran a backup in a WIndows Client.

The client´s status is OK, the job ran wtihout any error (as shown in 
job´s log), but when I try to do a recover  the backup is empty.


I don´t understand what is happening?

I also attach a screnshot of the resotore.

Thanks


LOGS JOB:



bacula-dir JobId 12877: End auto prune.
bacula-dir JobId 12877: No Files found to prune.
bacula-dir JobId 12877: Begin pruning Files.
bacula-dir JobId 12877: No Jobs found to prune.
bacula-dir JobId 12877: Begin pruning Jobs older than 3 months .
bacula-dir JobId 12877: Bacula bacula-dir 9.6.5 (11Jun20):
  Build OS:   x86_64-redhat-linux-gnu-bacula redhat (Core)
  JobId:  12877
  Job: job_SAP-content-prod.2025-01-15_10.10.42_38
  Backup Level:   Full
  Client: "SAP-Content-prod:windows" 9.4.2 (04Feb19) 
Microsoft Standard Edition (build 9200), 64-bit,Cross-compile,Win64

  FileSet:    "SAP-Content-prod" 2025-01-15 10:10:42
  Pool:   "FileSRV_5Gb" (From Command input)
  Catalog:    "MyCatalog" (From Client resource)
  Storage:    "storage-BP3_SRV" (From Command input)
  Scheduled time: 15-Jan-2025 10:10:42
  Start time: 15-Jan-2025 10:10:46
  End time:   15-Jan-2025 10:12:00
  Elapsed time:   1 min 14 secs
  Priority:   10
  FD Files Written:   770
  SD Files Written:   770
  FD Bytes Written:   961,592,356 (961.5 MB)
  SD Bytes Written:   961,732,791 (961.7 MB)
  Rate:   12994.5 KB/s
  Software Compression:   None
  Comm Line Compression:  55.3% 2.2:1
  Snapshot/VSS:   yes
  Encryption: no
  Accurate:   no
  Volume name(s): bckSrv_5609
  Volume Session Id:  1455
  Volume Session Time:    1724409350
  Last Volume Bytes:  962,463,347 (962.4 MB)
  Non-fatal FD errors:    0
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:    Backup OK

bacula-sd JobId 12839: Sending spooled attrs to the Director. Despooling 
367,239 bytes ...
bacula-sd JobId 12839: Elapsed time=00:08:06, Transfer rate=11.46 M 
Bytes/second
space-fd JobId 12839: VSS Writer (BackupComplete): "WMI Writer", State: 
0x1 (VSS_WS_STABLE)
space-fd JobId 12839: VSS Writer (BackupComplete): "BITS Writer", State: 
0x1 (VSS_WS_STABLE)
space-fd JobId 12839: VSS Writer (BackupComplete): "Shadow Copy 
Optimization Writer", State: 0x1 (VSS_WS_STABLE)
space-fd JobId 12839: VSS Writer (BackupComplete): "Registry Writer", 
State: 0x1 (VSS_WS_STABLE)
space-fd JobId 12839: VSS Writer (BackupComplete): "COM+ REGDB Writer", 
State: 0x1 (VSS_WS_STABLE)
space-fd JobId 12839: VSS Writer (BackupComplete): "SqlServerWriter", 
State: 0x1 (VSS_WS_STABLE)
space-fd JobId 12839: VSS Writer (BackupComplete): "ASR Writer", State: 
0x1 (VSS_WS_STABLE)
space-fd JobId 12839: VSS Writer (BackupComplete): "System Writer", 
State: 0x1 (VSS_WS_STABLE)
space-fd JobId 12839: VSS Writer (BackupComplete): "Performance Counters 
Writer", State: 0x1 (VSS_WS_STABLE)
space-fd JobId 12839: VSS Writer (BackupComplete): "VSS Metadata Store 
Writer", State: 0x1 (VSS_WS_STABLE)
space-fd JobId 12839: VSS Writer (BackupComplete): "Task Scheduler 
Writer", State: 0x1 (VSS_WS_STABLE)
space-fd JobId 12839:  Could not stat "C:/Backup_SALTO_SPACE": 
ERR=The system cannot find the file specified.
bacula-sd JobId 12839: New volume "bckSrv_5549" mounted on device 
"storage-BP3_SRV" (/backupBP3) at 12-Jan-2025 03:32.
bacula-dir JobId 12839: Volume used once. Marking Volume "bckSrv_5549" 
as Used.
bacula-sd JobId 12839: Recycled volume "bckSrv_5549" on File device 
"storage-BP3_SRV" (/backupBP3), all previous data lost.

bacula-dir JobId 12839: Recycled volume "bckSrv_5549"
bacula-dir JobId 12839: All records pruned from Volume "bckSrv_5549"; 
marking it "Purged"
bacula-dir JobId 12839: There are no more Jobs associated with Volume 
"bckSrv_5549". Marking it purged.
bacula-sd JobId 12839: End of medium on Volume "bckSrv_5548" 
Bytes=4,999,974,812 Blocks=77,505 at 12-Jan-2025 03:32.
space-fd JobId 12839: Generate VSS snapshots. Driver="Win64 VSS", 
Drive(s)="EC"
acula-dir JobId 12877: Volume used once. Marking Volume "bckSrv_5609" as 
Used.
bacula-sd JobId 12877: Recycled volume "bckSrv_5609" on File device 
"storage-BP3_SRV" (/backupBP3), all previous data lost.

bacula-dir JobId 12877: Using Device "storage-BP3_SRV" to write.
bacula-dir JobId 12877: Recycled volume "bckSrv_5609"
bacula-dir JobId 12877: All records pruned from Volume "b