`
baiguomeng
  • 浏览: 964348 次
文章分类
社区版块
存档分类
最新评论

rsyncd - 全局部分中常用全局参数配置说明

 
阅读更多

rsyncd - 全局部分中常用全局参数配置说明

# 本文件的默认位置是/etc/rsyncd.conf
# GLOBAL PARAMETERS
# The first parameters in the file (before a [module] header) are the global parameters.
# You may also include any module parameters in the global part of the config file in which case the supplied value will override the default for that parameter.
# 在文件中的最开始的段落(在一个[module]头部之前)是全局参数
# 在配置文件的全局部分也可以包含任何模块参数,此时所提供的值将替换该参数的默认值。
# motd file
# This parameter allows you to specify a "message of the day" to display to clients on each connect. This usually contains site information and any legal notices. The default is no motd file.
# 该参数允许指定一个“每日消息”用于在每个链接中显示在客户端,通常包含站点信息和任何法律提示。默认值是无motd文件。
motd file = /var/rsync/welcome.msg
# pid file
# This parameter tells the rsync daemon to write its process ID to that file. If the file already exists, the rsync daemon will abort rather than overwrite the file.
# 该参数指示rsync守护进程将自身的进程ID写到该文件。如果该文件已存在,rsync守护进程将忽略,而不是重写该文件
pid file = /var/run/rsyncd.pid
# DEFAULT MODULE PARAMETERS
use chroot = no
max connections = 20
log file = /var/log/rsyncd.log
lock file = /var/run/rsync.lock
uid = nobody
gid = nobody
# MODULE PARAMETERS
[module]
comment = module comment
path = /path/to/module/
read only = yes
list = no
hosts allow = 192.168.1.2

[rsync - 官方网站]

http://rsync.samba.org/

[rsync - 关键词]

rsync
rsyncd

[rsync - 相关问题]

全局部分中常用全局参数配置说明

全局部分中常用模块参数配置说明

模块常用配置说明

客户端常用参数

for Windows (cygwin)

远程shell模式和rsync守护进程模式

22.6. File Synchronization. Building Internet Firewalls, 2nd Edition

Hack 92 Mirroring Web Sites with wget and rsync. Spidering Hacks

Linux Security Cookbook - Recipe 1.16 Integrity Checking with rsync

Linux Security Cookbook - Recipe 1.6 Remote Integrity Checking

Linux Security Cookbook - Recipe 6.3 Copying Files Remotely

分享到:
评论

相关推荐

    cygwin-rsyncd:cygwin的rsyncd安装程序,用于Windows备份客户端

    如果要自定义和构建自己的cygwin-rsyncd可执行文件(例如:为站点预设一些配置参数),请在克隆git存储库。 感谢Ray Frush,此发行版现在与NSIS安装程序一起提供,该安装程序将所有内容包装在单个.exe中。 (请...

    rsyncd配置文件

    备份服务器_Rsync守护进程(daemon)数据传输 所需要的rsyncd配置文件

    CYGWIN 64位版本

    cygwin 64位,备用,windows下使用unix指令的必备工具

    rsync配置

    rsync 配置 rsync 配置是一种远程同步工具的配置方法,主要用于实现服务器之间的文件同步。下面是 rsync 配置的详细知识点: 一、配置 rsync 源服务器 为了配置 rsync 源服务器,需要创建备份用户,配置 SSH 备份...

    uclalib_role_rsyncd:Rsyncd角色

    uclalib_role_rsyncd 配置rsyncd角色变量此角色的可设置变量的描述应在此处,包括defaults / main.yml,vars / main.yml中的所有变量,以及可以/应该通过该角色的参数设置的任何变量。 从其他角色和/或全局范围(即...

    cygwin-devel-20100224,cygwin-1.7.1-1

    老版本,比较适合开发用,最新版本有的软件不能兼容

    rsync-server:Docker中的rsyncdsshd服务器。 您知道,用于移动文件

    Docker中的rsyncd / sshd服务器。 您知道,用于移动文件。 快速开始 启动服务器(同时支持sshd和rsyncd ) $ docker run \ --name rsync-server \ # Name it -p 8000:873 \ # rsyncd port -p 9000:22 \ # sshd ...

    rsync二:daemon端配置文件

    关于rsync daemon的配置文件: rsync安装时没有提供一个配置文件... 配置文件文件分为两部分,全局参数和模块参数。全局参数设定全局的,默认的属性,模块参数设定每个用来同步的目录的属性,模块即用来同步的目录。

    ansible-roles-v2_rsyncd

    同步概要rsyncdのインストール,设定を行う。动作确认バージョンUbuntu的:18.04,20.04 ansible:2.8、2.9使い方(ansible)角色变量# ## インストール設定 #####################################################...

    Rsync详解及liunx和windows下的配置

    全局参数在文件中的[module]之前的所有参数都是全局参数,当然也可以在全局参数部分定义模块参数,这时候该参数的值就是所有模块的默认值。模块参数主要是定义服务器哪个目录要被同步。 Rsync 在 Linux 和 Windows ...

    rsync命令教程 在对rsync服务器配置结束以后,下一步就需要在客户端发出rsync命令来实现将服务器端的文件备份到客户端来。rsync是一个功能非常强大的工具,其命令也有很多功能特色选项。

    --config=FILE 指定其他的配置文件,不使用默认的rsyncd.conf文件 --port=PORT 指定其他的rsync服务端口 --blocking-io 对远程shell使用阻塞IO -stats 给出某些文件的传输状态 --progress 在传输时现实传输过程 --...

    自动化运维部署脚本全集-适合所有IT人

    项目致力于实现一键部署各种常见服务,实现常用功能,且具有幂等性(多次执行效果一致)的脚本 . ├── 01-installation-scripts │ ├── 01-MySQL │ ├── 02-Zabbix │ ├── 03-Jumpserver │ ├── ...

    linuxrsync安装配置及命令详解.pdf

    Rsync 是一个功能强大且广泛使用的文件同步工具,通过本文,我们将详细介绍 Linux 中 Rsync 的安装、配置和命令详解。 一、服务端操作 1. 安装 Rsync 服务 使用 yum 命令安装 Rsync 服务:`yum -y install rsync`...

    rsyncd.conf

    此内容是rsync必须的配置文档,修改几处参数即可使用,具体使用步骤:将文档copy到/etc/然后打开文档,编辑相应参数,必须修改的参数有几处,1、hosts allow,这是允许连接至rsync的IP,2、auth users,这是rsync的...

    rsync在windows下的安装和配置.docx

    在该文档中可以添加多个参数,例如: * --timeout 参数:用于设置超时时间,当服务器忙或网络忙时,Rsync 会出现同步到一半不动的情况。 * --exclude 参数:用于排除某个文件或目录。 * --delete 参数:用于使...

    ubuntu rsync中文乱码 window ubuntu rsync同步中文乱码.docx

    ubuntu rsync中文乱码 window ubuntu rsync同步中文乱码.docx

    rsync数据同步手册.pdf

    包括主配置文件rsyncd.conf、用户密码文件rsyncd.secrets、服务器信息rsyncd.motd、配置rsync启动文件和配置rsync开机服务自启动等方面的设置。 3.1 主配置文件rsyncd.conf 主配置文件rsyncd.conf是服务端rsync的...

    windows rsync完整教程.docx

    在配置中,需要在安装目录中找到 rsync.conf 文件,并进行配置。Rsync.conf 文件的内容包括: * pid file = /var/run/rsyncd.pid * lock file = /var/run/rsync.lock * log file = /var/log/rsyncd.log * uid = ...

    cwRsync -server & clinet windows到windows

    3.在需要同步的文件夹,属性-安全中添加用户SvcCWRSYNC 4.编辑文件C:\Program Files\ICW\rsyncd.conf use chroot = false strict modes = false hosts allow = * log file = rsyncd.log # Module definitions # ...

    sersync2.5.4.tar.gz

    passwordfile="B主机/etc/rsyncd.conf配置文件中的secrets file值" A主机/opt/sersync/confxml.xml配置文件如下图 B主机/etc/rsyncd.conf配置文件如下图 A主机 加载配置文件并启动 /opt/sersync/sersync2 -...

Global site tag (gtag.js) - Google Analytics