免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1240 | 回复: 0

使用synbak集中备份 [复制链接]

论坛徽章:
0
发表于 2008-06-23 11:38 |显示全部楼层
使用Synbak集中备份
系统 centos 4.6
synbak可以通过ssh, rsync, smb, cifs, mysql, oracle, ldap, http, ftp方式备份文件资源,同时备份后自动生成报告,备份过程如果发生问题还可以发送通知邮件。
ssh配置方式
示例:
backup_remote_uri       = ssh://users@192.168.0.10  # valid URI: ssh, rsync, smb, cifs, mysql, oracle, ldap, http, ftp (the URI is dependant of backup method)
report_remote_uri_down  = yes           # yes = create the reports if the remote host is down. no = don't make any reports if the host is down
backup_source           = /home/users/*
backup_destination      = /home/users/$system/$method
backup_exclude          = /home/users *.swp *.tmp
backup_incremental      = yes           # use incremental or total backups
backup_erase_after      = 7             # erase old backups after n. backups
backup_no_make_destdir  = no            # don't make the auto created destination dir (aka: don't use a prefix for each backup, this disable the autoerase function)
backup_erase_always     = no            # erase old backups even if an error occour in a backup step
backup_method_opts      =               # additional backup method options (options used by the real backup command)
report_stdout           = yes           # always generate standard output report
report_stdout_on_errors = no            # generate standard output report on errors only
report_email            = yes                   # always generate an email report
report_email_on_errors  = yes                   # generate email report on errors only
report_email_rcpt       = you@gmail.com # the detination email address of email reports
report_html             = no                                    # always generate a html report
report_html_on_errors   = yes                                   # generate html report on errors only
report_html_destination = /home/kiever/log/backup       # destination dir of html reports
report_html_uri         = http://localhost/admin/log/backup     # uri of html and rss reports
report_html_logo        = yes                                   # display a logo in the html report
report_html_logo_image  =                                       # image path of the logo
report_html_logo_link   = http://www.initzero.it/products/opensource/synbak/    # uri link of the logo
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/22826/showart_1008975.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP