LINUX.ORG.RU
ФорумAdmin

Проблема с Bacula


0

1

Неожиданно перестали идти бэкапы в логах на сервере

05-May 08:03 backup-dir JobId 2833: Start Backup JobId 2833, Job=BackupLotos.2014-05-05_08.03.47_05
05-May 08:05 backup-dir JobId 2833: There are no more Jobs associated with Volume "Full". Marking it purged.
05-May 08:05 backup-dir JobId 2833: All records pruned from Volume "Full"; marking it "Purged"
05-May 08:05 backup-dir JobId 2833: Recycled volume "Full"
05-May 08:05 backup-dir JobId 2833: Using Device "FileStorage"
05-May 08:05 backup-sd JobId 2833: Recycled volume "Full" on device "FileStorage" (/home/backup), all previous data lost.
05-May 08:11 andrey-fd JobId 2833: Generate VSS snapshots. Driver="Win32 VSS", Drive(s)="CD"
05-May 08:06 backup-dir JobId 2833: Fatal error: Network error with FD during Backup: ERR=Interrupted system call
05-May 08:06 backup-dir JobId 2833: Fatal error: No Job status returned from FD.
05-May 08:06 backup-dir JobId 2833: Bacula backup-dir 5.2.6 (21Feb12):
  Build OS:               x86_64-pc-linux-gnu debian 7.0
  JobId:                  2833
  Job:                    BackupLotos.2014-05-05_08.03.47_05
  Backup Level:           Full
  Client:                 "andrey-fd" 5.2.6 (21Feb12) Microsoft Windows XP Professional Service Pack 2 (build 2600),Cross-compile,Win32
  FileSet:                "WinSet" 2013-04-29 12:00:00
  Pool:                   "Full-Pool" (From Job FullPool override)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "Win" (From command line)
  Scheduled time:         05-May-2014 08:03:43
  Start time:             05-May-2014 08:05:51
  End time:               05-May-2014 08:06:12
  Elapsed time:           21 secs
  Priority:               10
  FD Files Written:       0
  SD Files Written:       0
  FD Bytes Written:       0 (0 B)
  SD Bytes Written:       0 (0 B)
  Rate:                   0.0 KB/s
  Software Compression:   None
  VSS:                    no
  Encryption:             no
  Accurate:               no
  Volume name(s):         Full
  Volume Session Id:      2
  Volume Session Time:    1399262413
  Last Volume Bytes:      193 (193 B)
  Non-fatal FD errors:    1
  SD Errors:              0
  FD termination status:  Error
  SD termination status:  Error
  Termination:            Backup Canceled

В чем может быть проблема ?

★★
05-May 08:11 andrey-fd JobId 2833: Generate VSS snapshots. Driver="Win32 VSS", Drive(s)="CD"
05-May 08:06 backup-dir JobId 2833: Fatal error: Network error with FD during Backup: ERR=Interrupted system call

Ждёт тебя, добрый молодец, дорога дальная, да харчи казённые. Со стороны винды смотри, почему она не может сделать VSS.

anonymous
()
Ответ на: комментарий от anonymous

Вродебы все нормаль на винде в логах ошибок нет в ручную через бат бэкап запускается , потом я его остановил

05-May 11:09 backup-dir JobId 2836: Start Backup JobId 2836, Job=BackupLotos.2014-05-05_11.09.29_19
05-May 11:09 backup-dir JobId 2836: Using Device "FileStorage"
05-May 11:09 backup-sd JobId 2836: Volume "Full" previously written, moving to end of data.
05-May 11:09 backup-sd JobId 2836: Warning: For Volume "Full":
The sizes do not match! Volume=5741761 Catalog=193
Correcting Catalog
05-May 11:15 andrey-fd JobId 2836: Generate VSS snapshots. Driver="Win32 VSS", Drive(s)="CD"




cancel jobid=2836 
2001 Job BackupLotos.2014-05-05_11.09.29_19 marked to be canceled.
3000 JobId=2836 Job="BackupLotos.2014-05-05_11.09.29_19" marked to be canceled.
05-May 11:10 backup-dir JobId 2836: Fatal error: Network error with FD during Backup: ERR=Interrupted system call
.messages 
05-May 11:10 backup-dir JobId 2836: Fatal error: No Job status returned from FD.
05-May 11:10 backup-dir JobId 2836: Bacula backup-dir 5.2.6 (21Feb12):
  Build OS:               x86_64-pc-linux-gnu debian 7.0
  JobId:                  2836
  Job:                    BackupLotos.2014-05-05_11.09.29_19
  Backup Level:           Full
  Client:                 "andrey-fd" 5.2.6 (21Feb12) Microsoft Windows XP Professional Service Pack 2 (build 2600),Cross-compile,Win32
  FileSet:                "WinSet" 2013-04-29 12:00:00
  Pool:                   "Full-Pool" (From Job FullPool override)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "Win" (From command line)
  Scheduled time:         05-May-2014 11:09:27
  Start time:             05-May-2014 11:09:33
  End time:               05-May-2014 11:10:25
  Elapsed time:           52 secs
  Priority:               10
  FD Files Written:       0
  SD Files Written:       0
  FD Bytes Written:       0 (0 B)
  SD Bytes Written:       0 (0 B)
  Rate:                   0.0 KB/s
  Software Compression:   None
  VSS:                    no
  Encryption:             no
  Accurate:               no
  Volume name(s):         
  Volume Session Id:      5
  Volume Session Time:    1399262413
  Last Volume Bytes:      5,741,761 (5.741 MB)
  Non-fatal FD errors:    1
  SD Errors:              0
  FD termination status:  Error
  SD termination status:  Running
  Termination:            Backup Canceled

drac753 ★★
() автор топика
Последнее исправление: drac753 (всего исправлений: 1)
Ответ на: комментарий от drac753

Вроде бы пофиксил проблему. Причина один томов в одном из pool был переполнен ,в порол косяка при изначальной настройке так как пишется туда очень по малу а размер его 50 ГБ проблема вылезла только щас.

было
# File Pool definition
Pool {
  Name = File
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 365 days         # one year
  Maximum Volume Bytes = 50G # Limit Volume size to something  #reasonable
  Maximum Volumes = 10      # Limit number of Volumes in Pool
  
}
сделал
# File Pool definition
Pool {
  Name = File
  Pool Type = Backup
  Recycle = yes                       # Bacula can #automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 365 days         # one year
  Maximum Volume Bytes = 50G          # Limit Volume size to #something reasonable
  Maximum Volumes = 10               # Limit number of Volumes #in Pool
  Label Format = "Sys-"
}

сам поол используется для

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = backup-fd
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = File
  Priority = 10
  Write Bootstrap = "/var/lib/bacula/%c.bsr"
}


# List of files to be backed up
FileSet {
  Name = "Full Set"
  Include {
    Options {
      signature = MD5
    }

#    
#  Put your list of files here, preceded by 'File =', one per line
#    or include an external list with:
#
#    File = <file-name
#
#  Note: / backs up everything on the root partition.
#    if you have other partitions such as /usr or /home
#    you will probably want to add them too.
#
#  By default this is defined to point to the Bacula binary
#    directory to give a reasonable FileSet to backup to
#    disk storage during initial testing.
#
    File = /usr/sbin
  }

#
# If you backup the root directory, the following two excluded
#   files can be useful
#
  Exclude {
    File = /var/lib/bacula
    File = /nonexistant/path/to/file/archive/dir
    File = /proc
    File = /tmp
    File = /.journal
    File = /.fsck
  }
}



drac753 ★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.