Displaying 1 result from an estimated 1 matches for "vib_home".
Did you mean:
opb_home
2008 Apr 17
1
cron, rsync and permissions
...tempts with scripting, cron, and rsync, so please
bear with me...
The scope is to backup two servers from a dedicated backup pc, with the
following script:
mv *.log archive
rsync --log-file=oracle.log -av -e "ssh -i .ssh/rsync-key"
gian@oracle:/home/gian/exp* oracle/
rsync --log-file=vib_home.log -av --delete --exclude=".*/" -e "ssh -i
.ssh/rsync-key" gian@vib:/home/ vib_home/
rsync --log-file=vib_office.log -av --delete -e "ssh -i .ssh/rsync-key"
gian@vib:/office/ vib_office/
This script works fine from the command line, but the last two lines
hang wit...