S
S
susnake2014-05-07 11:14:52
Backup
susnake, 2014-05-07 11:14:52

Setting up bareos on windows7

Good afternoon.
Installing bareos on a Windows7 machine. Everything seemed to be set up fine. I found an article on Habré on configuring bareos. Changed configuration files for myself.
Here is an example bareos-dir file:

FileSet {
  Name = "Windows All Drives"
  Enable VSS = yes
  Include {
    Options {
      Signature = MD5
      Drive Type = fixed
      IgnoreCase = yes
     WildFile = "[A-Z]:/pagefile.sys"
     WildDir = "[A-Z]:/RECYCLER"
     WildDir = "[A-Z]:/$RECYCLE.BIN"
     WildDir = "[A-Z]:/System Volume Information"
      Exclude = yes
    }
    File = "C:\\Intel"
  File = "C:\\PerfLogs"
  File = "C:\\Program Files"
  File = "C:\\Program Files (x86)"
  File = "C:\\Windows"
  File = "C:\\Users"
  }
}

I correctly understood that in the File section I must specify the folders that I want to backup, right?
And when I create a job and specify the launch, for example, 05/07/2014 14:40:00, then in the "Job run" section of the Job subsection I see the inscription in red "terminated with errors"
mypc-03-dir Job BackupCatalog.2014-05-07_14.39.58_09 waiting 2 seconds for scheduled start time.
sogznout-03-dir shell command: run BeforeJob "C:/Program Files/Bareos/make_catalog_backup.pl MyCatalog"
 BeforeJob: "C:/Program" �� ����� ����७��� ��� ���譥�
 BeforeJob: ��������, �ᯮ��塞�� �ணࠬ��� ��� �������� 䠩���.
 
Error: Runscript: BeforeJob returned non-zero status=1. ERR=Unknown error
 
Error: Bareos sogznout-03-dir 14.1.0 (03Feb14):
  Build OS:               Linux Cross-compile Win64
  JobId:                  27
  Job:                    BackupCatalog.2014-05-07_14.39.58_09
  Backup Level:           Full
  Client:                 "sogznout-03-fd" 14.1.0 (03Feb14) Microsoft Windows 7 Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64
  FileSet:                "Windows All Drives" 2014-05-07 14:09:42
  Pool:                   "Full" (From command line)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "File" (From command line)
  Scheduled time:         07-May-2014 14:40:00
  Start time:             07-May-2014 14:40:02
  End time:               07-May-2014 14:40:02
  Elapsed time:           0 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:      0
  Volume Session Time:    0
  Last Volume Bytes:      0 (0 B)
  Non-fatal FD errors:    1
  SD Errors:              0
  FD termination status:  
  SD termination status:  
  Termination:            *** Backup Error ***

And I just can't figure out what I'm doing wrong...
I didn't post the configuration files here so as not to create a sheet:
pastebin.com/0cYy3bWd - bareos-dir
pastebin.com/VJkbWWnW - bareos-fd
pastebin.com/zhswaHHF - bareos-sd
pastebin.com/0zERkDRt - BAT
pastebin.com/t05mUBhU - bconsole
pastebin.com/HFkFpDjK - tray-monitor

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Romanenko, 2014-05-08
@susnake

See what's wrong with the script running before the job
Error: Runscript: BeforeJob returned non-zero status=1. ERR=Unknown error
Try to run it manually, see if there are any errors.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question