NASから作業ファイル一式をダウンロードするスクリプトをデプロイする #4
|
@ -0,0 +1,16 @@
|
||||||
|
settings {
|
||||||
|
logfile = "/var/log/lsyncd/lsyncd.log",
|
||||||
|
statusFile = "/var/log/lsyncd/lsyncd.status",
|
||||||
|
statusInterval = 20,
|
||||||
|
nodaemon = false
|
||||||
|
}
|
||||||
|
|
||||||
|
sync {
|
||||||
|
default.rsync,
|
||||||
|
source = "/home/kazu634/works/mnt/",
|
||||||
|
target = "kazu634@192.168.10.200:/volume1/homes/kazu634/Drive/Shared/project/",
|
||||||
|
rsync = {
|
||||||
|
archive = true,
|
||||||
|
compress = true
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue