Good evening
I use d as follows.
(It is every 5 minutes from Cron)
#!/bin/sh
LOCK=/tmp/lock.pid
if [ ! -e $LOCK ]; then
echo 1 > $LOCK
rsync -ave ssh --delete /export/mirror user@hostB:/export
rsync -ave ssh --delete user@hostB:/export/ /export/mirror/
rm > $LOCK
fi
Howeve
I am taisaki
About how to carry out mirroring with both server
Although I would like you to teach
About rsync, although it is a question, this time
hostA hostB It is related with ssh connection.
authorized_keys is held on both sides. In the environment which can be
used satisfactory
hostA