From: brian <bs...@ua...> - 2006-03-21 22:35:53
|
I'm trying to back up a remote machine over SSH. The set is "xxx:/". The prune for "xxx:/" is "tmp sys mnt proc dev". When I test the configuration with -type filelist, I get ERROR: non-zero exit from: ssh xxx cd "/" && find . -regex "\./\(lost\+found\|sys\|proc\|dev\|mnt\|tmp\)/.*" -prune -o -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ -print > /tmp/27977/filelist.27977; cat /tmp/27977/filelist.27977 1>&2; cat /tmp/27977/filelist.27977 | gzip -4; x=(${PIPESTATUS[@]}); i=0; while [ $i -lt ${#x[@]} ]; do [ ${x[$i]} -eq 0 ] || exit ${x[$i]}; i=$(($i+1)); done The error was bash: line 1: /tmp/27977/filelist.27977: No such file or directory cat: /tmp/27977/filelist.27977: No such file or directory cat: /tmp/27977/filelist.27977: No such file or directory 0+1 records in 0+1 records out It looks like flexbackup created a directory in the local /tmp and then tried to redirect some output on the remote machine to a nonexistent directory in the remote /tmp. Am I making some mistake? |