parent
58bed7335d
commit
b5a2fcbc5b
3 changed files with 3 additions and 3 deletions
@ -1,7 +1,7 @@ |
|||||||
#!/bin/bash |
#!/bin/bash |
||||||
|
|
||||||
USER=$(db configuration getprop wpkg RsyncUser || echo $(db configuration get DomainName)) |
USER=$(db configuration getprop wpkg RsyncUser || echo $(db configuration get DomainName)) |
||||||
PASS=$(db configuration getrpop wpkg RsyncPassword || echo secret) |
PASS=$(db configuration getprop wpkg RsyncPassword || echo secret) |
||||||
SERVER=$(db configuration getprop wpkg RsyncServer || echo not.set) |
SERVER=$(db configuration getprop wpkg RsyncServer || echo not.set) |
||||||
|
|
||||||
RSYNC_PASSWORD=$PASS /usr/bin/rsync -rtPz $USER@$SERVER /home/e-smith/files/shares/wpkg/files/ |
RSYNC_PASSWORD=$PASS /usr/bin/rsync -rtPz $USER@$SERVER /home/e-smith/files/shares/wpkg/files/ |
||||||
|
Loading…
Reference in new issue