Displaying 2 results from an estimated 2 matches for "remote_backup".
2002 Oct 05
0
Trouble transferring referents of symlinks outside the source tree
...ync 2.5.5 on a FreeBSD-CURRENT system.
I have a directory that essentially is my web site, which I update when
need be. I am (trying) to use rsync to sync a remote server with my
changes whenever they are made.
I'm using a little script to do this:
#!/bin/sh
DATA_DIR=/home/munish/data/www
REMOTE_BACKUP=[snipped out user@host here]
RSYNC_FLAGS="-zapuLxSC --stats --progress --copy-unsafe-links --bwlimit=20"
echo -n "Sync'ing www..."
rsync ${RSYNC_FLAGS} ${DATA_DIR}/* ${REMOTE_BACKUP}:
echo "Done."
exit 0
Now, $DATA_DIR contains a subdirectory named freebsd/confi...
2007 Feb 21
1
Strange SSH with rsync
...-o BatchMode=yes -n"
The below is output from set -x for my script. Below that is the error
from errorlog
/usr/bin/rsync -PavRz --delete --delete-excluded --copy-unsafe-links
--numeric-ids -e /usr/bin/ssh -o ConnectTimeout=15 -o BatchMode=yes -n
<user>@<host>:/tmp/davefile2 /dir/remote_backups/<host>
+ 1>> /dir/log/<host>.<function>.errorlog.210207-17h41m.log 2>>
/dir/log/<host>.<function>.errorlog.210207-17h41m.log
Error :-
Staring get of [/tmp/davefile2]
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error...