[Bacula-users] Backup filesystem crashed - job error afterwards.
2012-05-18 10:04:00
Hi all.
I am new to bacula. We are using: bacula-mysql-3.0.3-1.2.el5 on CentOS5.6 2.6.18-238.19.1.el5
In my log file I have an error: 18-May 00:11 bacula-dir JobId 4785: shell command: run AfterJob "/usr/lib/bacula/delete_catalog_backup"
18-May 02:05 bacula-dir JobId 4786: Start Backup JobId 4786, Job=Backup_baz_danych_sourcehost.2012-05-18_02.05.00_10 18-May 02:05 bacula-dir JobId 4786: Using Device "FileStorage" 18-May 02:05 sourcehost-fd JobId 4786: shell command: run ClientRunBeforeJob "/scripts/mysql_snap_backup.sh"
18-May 02:05 sourcehost-fd JobId 4786: ClientRunBeforeJob: Stopping MySQL: [ OK ] 18-May 02:05 sourcehost-fd JobId 4786: ClientRunBeforeJob: Stopping MySQL: [FAILED] 18-May 02:05 sourcehost-fd JobId 4786: ClientRunBeforeJob: Logical volume "mysql1snap" created
18-May 02:05 sourcehost-fd JobId 4786: ClientRunBeforeJob: Logical volume "mysql2snap" created 18-May 02:05 sourcehost-fd JobId 4786: ClientRunBeforeJob: Starting MySQL: [ OK ] 18-May 02:05 sourcehost-fd JobId 4786: ClientRunBeforeJob: Starting MySQL: [ OK ]
18-May 02:05 bacula-sd JobId 4786: Warning: label.c:330 Open device "FileStorage" (/backups) Volume "Vol-Full-sourcehost-0029" failed: ERR=dev.c:532 Could not open: /backups/Vol-Full-sourcehost-0029, ERR=Permission denied
Two days ago filesystem on /backups crashed and all it was remade (fdisk, mkfs) and mounted empty.
In my bacula-sd.conf I have: Device { Name = FileStorage Media Type = File Archive Device = /backups
LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no;
}
In my bacula-dir.conf:
Pool { Name = "Full-sourcehost" Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes
Volume Retention = 4 days # one year LabelFormat = "Vol-Full-sourcehost-" Volume Use Duration = 20 h Maximum Volumes = 5 }
In /backups/: ls -al /backups/ total 55780956
drwxr-xr-x 3 root root 4096 May 18 15:24 . drwxr-xr-x 23 root root 4096 May 16 13:49 .. drwx------ 2 root root 16384 May 16 11:18 lost+found -rw-r----- 1 bacula disk 2713525787 May 18 00:11 Vol0033
-rw-r----- 1 bacula disk 0 May 16 03:13 Vol-Full-sourcehost-0028 -rw-r----- 1 bacula disk 54350352384 May 16 02:48 Vol-Full-sourcehost-0032
I think that my "backup history" is lost because of mentioned filesystem problem and I should "re-initialize" my backup volume/pool.
How to do it correctly so that the backup job could start "fresh" without any history?
I am very new to bacula, so please excuse me if the question fairly simple. I have read some solutions on google but do not want to delete/purge to much.
Best regards, Rafal Radecki.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Bacula-users] Backup filesystem crashed - job error afterwards.,
Rafał Radecki <=
|
|
|