1. windows client
         wget http://nchc.dl.sourceforge.net/sourceforge/bacula/winbacula-1.38.10.exe

2. windows client
notepad C:aculainacula-fd.conf

Director {
   Name = lab100-dir
   Password = "smocpassword"
}

FileDaemon {
   Name = media-fd
   FDport = 9102

   WorkingDirectory = /bacula/working
   Pid Directory = /bacula/working
}

Messages {
   Name = Standard
   director = lab100-dir = all, !skipped
}

notepad c:windowssystem32driversetchosts

192.168.1.100   lab100

3. director server
vi /usr/local/bacula/etc/bacula-dir.conf

## [ media ]
Job {
  Name = "bac-media"
  Type = "Backup"
  Level = Incremental
  Client = "media-fd"
  FileSet = "fileset-media"
  Schedule = "WeeklyCycle"
  Storage = "bac-file-media"
  Messages = "Standard"
  Pool = "Default"
  Write Bootstrap = "/usr/local/bacula/var/bacula/working/media.bsr"
  Priority = 12
}

FileSet {
  Name = "fileset-media"
  Include {
               Options {
                             compression=GZIP
                             signature = MD5
               }
               File = "C:/Inetpub"
  }
}

Client {
  Name = "media-fd"
  Address = "192.168.1.150"
  FDPort = "9102"
  Catalog = MyCatalog
  Password = "smocpassword"
  File Retention = 30 days
  Job Retention = 6 months
  AutoPrune = yes
}

Storage {
  Name = bac-file-media
  Address = lab100
  SDPort = 9103
  Password = "smocpassword"
  Device = FileStorage
  Media Type = File
}
## [ media ] END

備回 windows平台上,預設存放路徑 C:usrlocalacula mpacula-restores

把 windows上的東西備回到 linux平台上,會因 GZIP的因素失敗

Related posts 相關文章
備份 VSCode 設定
More...
Linux 救援光碟 SystemRescueCd,支援Windows,也可以遠端備份還原
More...
使用 mondo 線上備份linux centos 系統
More...
linux 的 dd + nc 線上備份主機硬碟
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。