免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1644 | 回复: 3
打印 上一主题 下一主题

[系统管理] ubuntu 下bacula 局域网备份 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-07-05 17:44 |只看该作者 |倒序浏览
请问各位大侠,ubuntu 下bacula 局域网备份,手动执行后出现这个问题。执行后一直显示正在等待存储。


Running Jobs:
Console connected at 05-Jul-13 17:21
JobId Level   Name                       Status
======================================================================
    24 Full    BackupClient1.2013-07-05_17.22.03_03 is waiting on Storage "File"






这个是日志文件
05-Jul 17:22 ubuntu-dir JobId 24: No prior Full backup Job record found.
05-Jul 17:22 ubuntu-dir JobId 24: No prior or suitable Full backup found in catalog. Doing FULL backup.
05-Jul 17:22 ubuntu-dir JobId 24: Start Backup JobId 24, Job=BackupClient1.2013-07-05_17.22.03_03

改配置的地方都已配置好了,请问还有什么地方需要配置的?

论坛徽章:
3
金牛座
日期:2013-08-26 10:25:02摩羯座
日期:2013-09-09 15:14:322015年亚洲杯之约旦
日期:2015-05-06 09:33:56
2 [报告]
发表于 2013-07-05 19:10 |只看该作者
你的存储没做好吧?

论坛徽章:
0
3 [报告]
发表于 2013-07-08 09:04 |只看该作者
回复 2# kooleon

你好,你看一下这个是我的bacula-sd.conf 的备置文件,你看哪里出了问题了呢?

Heartbeat Interval = 30
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = ubuntu-dir
  Password = "D7oBX2DR0ECkFPA5llxCToOpQ3efm2cp_"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
  Name = ubuntu-mon
  Password = "pM56YftE-5Z0msGRETsoADh0IY5SbUMcJ"
  Monitor = yes
}

#
# Note, for a list of additional Device templates please
#  see the directory <bacula-source>/examples/devices
# Or follow the following link:
#  http://bacula.svn.sourceforge.ne ... a/examples/devices/
#

#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
#  same Name and MediaType.
#

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /var/backups
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

#
# An autochanger device with two drives
#
#Autochanger {
#  Name = Autochanger
#  Device = Drive-1
#  Device = Drive-2

   

论坛徽章:
3
金牛座
日期:2013-08-26 10:25:02摩羯座
日期:2013-09-09 15:14:322015年亚洲杯之约旦
日期:2015-05-06 09:33:56
4 [报告]
发表于 2013-07-08 09:20 |只看该作者
本帖最后由 kooleon 于 2013-07-08 09:20 编辑

建议你去看一下高俊峰的《高性能Linux服务器构建实战:运维监控、性能调优与集群应用》,里面有关于bacula的详细使用。下面是我的bacula-sd.conf 配置,我的存储和主控端不是同一台服务器:
  1. Storage {                             # definition of myself
  2.   Name = aa-bacula-dd-sd
  3.   SDPort = 9103                  # Director's port
  4.   WorkingDirectory = "/opt/bacula/var/bacula/working"
  5.   Pid Directory = "/var/run"
  6.   Maximum Concurrent Jobs = 20
  7. }

  8. Director {
  9.   Name = aa-bacula-dd-dir
  10.   Password = "XXXXXXXXXXXXX"
  11. }

  12. Director {
  13.   Name = aa-bacula-dd-mon
  14.   Password = "XXXXXXXXXXXX"
  15.   Monitor = yes
  16. }



  17. Device {
  18.   Name = FileStorage
  19.   Media Type = File
  20.   Archive Device = /tmp
  21.   LabelMedia = yes;                   # lets Bacula label unlabeled media
  22.   Random Access = Yes;
  23.   AutomaticMount = yes;               # when device opened, read it
  24.   RemovableMedia = no;
  25.   AlwaysOpen = no;
  26. }


  27. Messages {
  28.   Name = Standard
  29.   director = aa-bacula-dd-dir = all
  30. }
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP