Hi,

I set up Bacula with the following configuration:
Linux (Director, Storage ...) (BLNX02)
Windows 2000 (client) (BBERLIN)

Backup of the windows client is working fine:
+-------+-----------------+---------------------+------+-------+----------+-----------------+-----------+
| JobId | Name            | StartTime           | Type | Level | JobFiles | JobBytes        | JobStatus |
+-------+-----------------+---------------------+------+-------+----------+-----------------+-----------+
|     3 | BBERLIN         | 2005-05-22 21:18:06 | B    | F     |  301,770 | 102,098,760,649 | T         |
|     2 | BBERLIN         | 2005-05-22 23:06:45 | B    | F     |    3,604 |     129,196,135 | A         |
|     4 | BBERLIN         | 2005-05-23 01:05:02 | B    | I     |        7 |       3,755,825 | T         |
|     6 | BBERLIN         | 2005-05-24 08:44:40 | B    | I     |    1,217 |   8,647,679,632 | T         |
|    12 | BBERLIN         | 2005-05-25 01:05:02 | B    | I     |      897 |   2,461,562,284 | T         |
|    27 | BBERLIN         | 2005-05-26 01:05:02 | B    | I     |    1,729 |   1,683,246,896 | T         |
|    28 | BBERLIN         | 2005-05-27 01:05:02 | B    | I     |    2,018 |   2,262,000,087 | T         |
|    29 | BBERLIN         | 2005-05-28 01:05:02 | B    | I     |    2,610 |   2,841,004,918 | T         |
|    30 | BBERLIN         | 2005-05-29 01:05:02 | B    | D     |    7,751 |  15,596,826,196 | T         |
|    31 | BBERLIN         | 2005-05-30 01:05:02 | B    | I     |       10 |         389,092 | T         |
|    32 | BBERLIN         | 2005-05-31 01:05:02 | B    | I     |    3,392 |   3,292,384,862 | T         |
|    33 | BBERLIN         | 2005-06-01 01:05:02 | B    | I     |    2,367 |   1,225,682,323 | T         |
|    34 | BBERLIN         | 2005-06-02 01:05:02 | B    | I     |    2,775 |   3,944,720,248 | T         |
|    35 | BBERLIN         | 2005-06-03 01:05:02 | B    | I     |    1,014 |   1,502,028,201 | T         |
|    36 | BBERLIN         | 2005-06-04 01:05:02 | B    | I     |    1,664 |   1,041,867,971 | T         |
|    37 | BBERLIN         | 2005-06-05 01:05:02 | B    | F     |  544,307 | 171,248,392,712 | T         |
+-------+-----------------+---------------------+------+-------+----------+-----------------+-----------+



If I try to restore a file which was stored in Job 3, I'm getting this error:

05-Jun 15:19 blnx02-dir: Start Restore Job BBERLIN_RESTORE.2005-06-05_15.19.48
05-Jun 15:19 blnx02-sd: Ready to read from volume "BLNX02-BBERLIN" on device /backup.
05-Jun 15:19 blnx02-dir: Bacula 1.36.3 (22Apr05): 05-Jun-2005 15:19:54
  JobId:                  38
  Job:                    BBERLIN_RESTORE.2005-06-05_15.19.48
  Client:                 bberlin-fd
  Start time:             05-Jun-2005 15:19:50
  End time:               05-Jun-2005 15:19:54
  Files Expected:         1
  Files Restored:         0
  Bytes Restored:         0
  Rate:                   0.0 KB/s
  FD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Restore OK -- warning file count mismatch



These are parts of my config:
bacula-dir.conf:
FileSet {
  Name = "BBERLIN_D"
  Include {
    Options {
      signature = MD5
      IgnoreCase = yes
    }
    File = "D:/"
  }
}


Job {
    Name = "BBERLIN"
    Type = Backup
    Client = bberlin-fd
    FileSet = "BBERLIN_D"
    Schedule = "WeeklyCycle"
    Storage = File
    Messages = Standard
    Pool = Default
}


Job {
    Name = "BBERLIN_RESTORE"
    Type = Restore
    Client= bberlin-fd
    FileSet="BBERLIN_D"
    Storage = File
    Messages = Standard
    Pool = Default
}

# Definiton of file storage device
Storage {
  Name = File
# Do not use "localhost" here
  Address = blnx02                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "xxxxx"
  Device = BLNX02-FILESTORAGE
  Media Type = File
}

bacula-sd.conf:
Device {
  Name = BLNX02-FILESTORAGE
  Media Type = File
  Archive Device = /backup
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}


Hope somebody can help.
Thanks in advance,
Marko

------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to