Skip to content

Commit 76563f1

Browse files
Added 'rsync' example file
1 parent d16856f commit 76563f1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

doc/config/sync/rsync.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<sync type="rsync">
3+
<!-- mandatory -->
4+
<option name="path" value="/tmp" />
5+
6+
<!-- optional, default=none -->
7+
<option name="user" value="root" />
8+
9+
<!-- optional, default=none -->
10+
<option name="host" value="127.0.0.1" />
11+
12+
<!-- optional, default=false -->
13+
<option name="dirsync" value="true" />
14+
15+
<!-- optional, default=false -->
16+
<option name="delete" value="true" />
17+
18+
<!-- optional, default=none -->
19+
<!-- !!!WARNING!!! advanced mode without escaping -->
20+
<!-- use %TARGET_DIR% and %TARGET_FILE% as reference to the created backup -->
21+
<option name="args" value="-avz '%TARGET_FILE%' ." />
22+
</sync>

0 commit comments

Comments
 (0)