You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
342 B
8 lines
342 B
13 years ago
|
#!/bin/bash
|
||
|
|
||
|
USER=$(db configuration getprop wpkg RsyncUser || echo $(db configuration get DomainName))
|
||
|
PASS=$(db configuration getrpop wpkg RsyncPassword || echo secret)
|
||
|
SERVER=$(db configuration getprop wpkg RsyncServer || echo not.set)
|
||
|
|
||
|
RSYNC_PASSWORD=$PASS /usr/bin/rsync -rtPz $USER@$SERVER /home/e-smith/files/shares/deploiement/files/
|