This commit is contained in:
parent
863d0f9c0d
commit
1377e17013
1 changed files with 15 additions and 1 deletions
|
@ -4,7 +4,7 @@ Snippets
|
|||
Simulate sync with deletion
|
||||
---------------------------
|
||||
|
||||
.. code:: shell
|
||||
.. code-block:: shell
|
||||
|
||||
rsync \
|
||||
--archive \
|
||||
|
@ -16,3 +16,17 @@ Simulate sync with deletion
|
|||
"user@host:/remote/directory/" \
|
||||
--delete --delete-before --delete-after \
|
||||
--dry-run
|
||||
|
||||
Service
|
||||
-------
|
||||
|
||||
* /etc/rsyncd.conf
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
[name]
|
||||
list = yes
|
||||
path = /path
|
||||
read only = true
|
||||
uid = nobody
|
||||
gid = nogroup
|
||||
|
|
Loading…
Reference in a new issue