Bacula-users

Re: [Bacula-users] problem of disk space - 80 GB backup catalog...

2011-09-19 03:47:43
Subject: Re: [Bacula-users] problem of disk space - 80 GB backup catalog...
From: "Pieter (NL)" <pietersnld AT users.sourceforge DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 19 Sep 2011 00:45:07 -0700 (PDT)

LAZARO Bruno wrote:
> 
> Hello,
> 
>  
> 
> Attached is the job history "BackupCatalog »:
> 
>  
> 
> 16-Sep 15:07 tis002-dir JobId 4631: shell command: run BeforeJob
> ""F:\Serveur_Sauvegarde\Bacula\bin\make_catalog_backup""
> 16-Sep 15:07 tis002-dir JobId 4631: BeforeJob: 
> 16-Sep 15:07 tis002-dir JobId 4631: BeforeJob: C:\WINDOWS\system32>DEL /f
> "C:\Documents and Settings\All Users\Application
> Data\Bacula\Work\trustbacula.sql"  2>nul 16-Sep 15:07 tis002-dir JobId
> 4631: BeforeJob: 
> 16-Sep 15:07 tis002-dir JobId 4631: BeforeJob: C:\WINDOWS\system32>set
> path=F:\Serveur_Sauvegarde\wamp\bin\mysql\mysql5.1.36\bin;F:\Serveur_Sauvegarde\wamp\bin\mysql\mysql5.1.36\bin
> 
> 16-Sep 15:07 tis002-dir JobId 4631: BeforeJob: 
> 
> 16-Sep 15:07 tis002-dir JobId 4631: BeforeJob:
> C:\WINDOWS\system32>"F:\Serveur_Sauvegarde\wamp\bin\mysql\mysql5.1.36\bin\mysqldump"
> -u bacula --password=trustbacula bacula  1>"C:\Documents and Settings\All
> Users\Application Data\Bacula\Work\trustbacula.sql" 
> 
> 16-Sep 15:11 tis002-dir JobId 4631: Start Backup JobId 4631,
> Job=BackupCatalog.2011-09-15_23.55.02_25
> 
> 16-Sep 15:11 tis002-dir JobId 4631: Using Device "FileStorage"
> 
> 16-Sep 15:11 tis002-sd JobId 4631: Volume "VolLocalN1" previously written,
> moving to end of data.
> 
> 16-Sep 15:11 tis002-sd JobId 4631: Ready to append to end of Volume
> "VolLocalN1" size=85616645910 16-Sep 15:11 tis002-fd JobId 4631: Generate
> VSS snapshots. Driver="VSS Win 2003", Drive(s)="C"
> 
> 16-Sep 15:14 tis002-fd JobId 4631: VSS Writer (BackupComplete):
> "SqlServerWriter", State: 0x1 (VSS_WS_STABLE) 16-Sep 15:14 tis002-fd JobId
> 4631: VSS Writer (BackupComplete): "System Writer", State: 0x1
> (VSS_WS_STABLE) 16-Sep 15:14 tis002-fd JobId 4631: VSS Writer
> (BackupComplete): "WMI Writer", State: 0x1 (VSS_WS_STABLE) 16-Sep 15:14
> tis002-fd JobId 4631: VSS Writer (BackupComplete): "FRS Writer", State:
> 0x1 (VSS_WS_STABLE) 16-Sep 15:14 tis002-fd JobId 4631: VSS Writer
> (BackupComplete): "NTDS", State: 0x1 (VSS_WS_STABLE) 16-Sep 15:14
> tis002-sd JobId 4631: Job write elapsed time = 00:03:21, Transfer rate =
> 1.510 M bytes/second 16-Sep 15:14 tis002-fd JobId 4631: VSS Writer
> (BackupComplete): "Event Log Writer", State: 0x1 (VSS_WS_STABLE) 16-Sep
> 15:14 tis002-fd JobId 4631: VSS Writer (BackupComplete): "MSDEWriter",
> State: 0x1 (VSS_WS_STABLE) 16-Sep 15:14 tis002-fd JobId 4631: VSS Writer
> (BackupComplete): "Registry Writer", State: 0x1 (VSS_WS_STABLE) 16-Sep
> 15:14 tis002-fd JobId 4631: VSS Writer (BackupComplete): "COM+ REGDB
> Writer", State: 0x1 (VSS_WS_STABLE) 16-Sep 15:14 tis002-fd JobId 4631: VSS
> Writer (BackupComplete): "IIS Metabase Writer", State: 0x1 (VSS_WS_STABLE)
> 16-Sep 15:14 tis002-dir JobId 4631: Bacula tis002-dir 3.0.3a (06Dec09):
> 16-Sep-2011 15:14:51
> 
>   Build OS:               Linux Cross-compile Win32
> 
>   JobId:                  4631
> 
>   Job:                    BackupCatalog.2011-09-15_23.55.02_25
> 
>   Backup Level:           Full
> 
>   Client:                 "tis002-fd" 3.0.3a (06Dec09)
> Linux,Cross-compile,Win32
> 
>   FileSet:                "Catalog" 2009-11-19 23:55:00
> 
>   Pool:                   "Default" (From Run pool override)
> 
>   Catalog:                "MyCatalog" (From Client resource)
> 
>   Storage:                "File" (From Job resource)
> 
>   Scheduled time:         15-Sep-2011 23:55:02
> 
>   Start time:             16-Sep-2011 15:11:29
> 
>   End time:               16-Sep-2011 15:14:51
> 
>   Elapsed time:           3 mins 22 secs
> 
>   Priority:               12
> 
>   FD Files Written:       1
> 
>   SD Files Written:       1
> 
>   FD Bytes Written:       303,681,022 (303.6 MB)
> 
>   SD Bytes Written:       303,681,220 (303.6 MB)
> 
>   Rate:                   1503.4 KB/s
> 
>   Software Compression:   None
> 
>   VSS:                    yes
> 
>   Encryption:             no
> 
>   Accurate:               no
> 
>   Volume name(s):         VolLocalN1
> 
>   Volume Session Id:      133
> 
>   Volume Session Time:    1314373648
> 
>   Last Volume Bytes:      85,920,552,714 (85.92 GB)
> 
>   Non-fatal FD errors:    0
> 
>   SD Errors:              0
> 
>   FD termination status:  OK
> 
>   SD termination status:  OK
> 
>   Termination:            Backup OK
> 
>  
> 
> 16-Sep 15:14 tis002-dir JobId 4631: Begin pruning Jobs.
> 
> 16-Sep 15:14 tis002-dir JobId 4631: No Jobs found to prune.
> 
> 16-Sep 15:14 tis002-dir JobId 4631: Begin pruning Files.
> 
> 16-Sep 15:14 tis002-dir JobId 4631: No Files found to prune.
> 
> 16-Sep 15:14 tis002-dir JobId 4631: End auto prune.
> 
>  
> 
> 16-Sep 15:14 tis002-dir JobId 4631: shell command: run AfterJob
> ""F:\Serveur_Sauvegarde\Bacula\bin\delete_catalog_backup""
> 
> 16-Sep 15:14 tis002-dir JobId 4631: AfterJob: 
> 
> 16-Sep 15:14 tis002-dir JobId 4631: AfterJob: C:\WINDOWS\system32>DEL /f
> "C:\Documents and Settings\All Users\Application
> Data\Bacula\Work\trustbacula.sql" 
> 
>  
> 
>  
> 
> Sincerely,Trust-informatique
> 
>  
> 
>  
> 
> De : LAZARO Bruno 
> Envoyé : vendredi 16 septembre 2011 15:07
> À : 'bacula-users AT lists.sourceforge DOT net'
> Cc : exploit
> Objet : problem of disk space - 80 GB backup catalog...
> 
>  
> 
> Hello,
> 
> Server configuration:
> 
> Windows 2003
> 
> MYSQL (5.1.36)
> 
> BACULA (3.0.3A)
> 
> 
> 
> On the server disk is full F (100%), that is a 135 GB disk.
> On this record, at the following location:
> 
> F:\serveur_sauvegarde\bacula\savegardes
> 
> 
> There is a "file" which is called "VOLLOCALN1" that which is 80GB in a
> Bacula backup job called "Backupcatalog."
> Y is there a way to "bleed" or reduce the size of this "file"?
> 
> 
> Thanking you in advance ...
> 
> 
> Sincerely,Trust-informatique.
> 

Looks like your using the same volume and append the data.

16-Sep 15:11 tis002-sd JobId 4631: Volume "VolLocalN1" previously written,
moving to end of data.
16-Sep 15:11 tis002-sd JobId 4631: Ready to append to end of Volume
"VolLocalN1"

After enough days this will fill up your disk. Adjust some settings in your
pool definition for this job. (Applies to the pool so also for other backup
jobs using the same pool. I use the following

Pool {
        Name = Backup-Default
#
        Pool Type = Backup
        Recycle = yes
        AutoPrune = yes
        Maximum Volume Jobs = 1
        Maximum Volume Bytes = 4294967296
#
        Volume Retention = 7 days
        LabelFormat = Back-Filevol-
}

1 catalog backup per volume
max 4 Gb in a volume (only for moving volumes around)
Delete and reuse volume after 7 days.

Since I only use this pool for backing up the catalog and the backup server
it's no problem for me backups are disappearing after 7 days. (Other jobs
use different pools)

Pieter
-- 
View this message in context: 
http://old.nabble.com/problem-of-disk-space---80-GB-backup-catalog...-tp32478769p32493009.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users