Displaying 2 results from an estimated 2 matches for "davefile2".
Did you mean:
datefile
2007 Feb 21
1
Strange SSH with rsync
...nnectTimeout=15 -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)...
2007 Feb 16
1
Destination directory creation
...Now ${remote_get_list} is a variable containing a list of files or dirs
from a config file which looks like this :- ( obviously comments, blank
lines are ignore )
# This is a comment line
# so is this
## multiple hashes
#/location1
#/
#/loction2/somwhere
#/dir/dir2/file #Plus comments here
/tmp/davefile2
/export/home/user
The question i have is this :-
when i run the script using the above config file it only creates locally :-
${remote_get_localdir}/davefile2
${remote_get_localdir}/user
I see this as a problem as what if i have the following in the config
file :-
/etc/inet/hosts
/export/home...