Re: [flexbackup-help] file not found while backing up remote machine
brian wrote: 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 12; cat /tmp/27977/filelist.27977 | gzip -4; x=([EMAIL PROTECTED]); i=0; while [ $i -lt [EMAIL PROTECTED] ]; 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? Hi. I'm also got this error and I don't know what that mean. Is this really bad? Thanks. --- Maxim Kudelya. Lingnu Open Source Consulting. --- cut here --- Total bytes written: 179484600320 (168GiB, 4.7MiB/s) Kilobytes Out 121862790 ERROR: non-zero exit from: cd / sudo find . -regex \./\(sys\|proc\|tmp\)/.* -prune -o ! -fstype proc ! -fstype devpts ! -fstype devfs ! -fstype tmpfs ! -type s ! -regex .*/[Cc]ache/.* ! -regex .*~$ -print0 | tar --create --null --files-from=- --ignore-failed-read --same-permissions --no-recursion --totals --label level 0 / Thu Mar 30 00:10:10 2006 tar+gzip from fileserver --verbose --sparse -b 20 --file - | gzip -6 | buffer -m 10m -p 75 -s 10k -t -u 100 -B -o /dev/nst0 ERROR: exiting --- cut here --- --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ flexbackup-help mailing list flexbackup-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexbackup-help
Re: [flexbackup-help] file not found while backing up remote machine
On Thu 30 March 2006 14.23, Maxim Kudelya wrote: brian wrote: 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 12; cat /tmp/27977/filelist.27977 | gzip -4; x=([EMAIL PROTECTED]); i=0; while [ $i -lt [EMAIL PROTECTED] ]; 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? Hi. I'm also got this error and I don't know what that mean. Is this really bad? Thanks. --- Maxim Kudelya. Lingnu Open Source Consulting. I've changed/commented out in my flexbackup the following places, to correct the invalid tmp directory on remote hosts as well as not reqocnizing bash 3.0 shells. # flexbackup.pl --version flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) $Id: flexbackup,v 1.185 2003/10/10 14:12:09 edwinh Exp $ # diff -bwi $(which flexbackup) bin/flexbackup.pl 272c272,273 system ('rm', '-rf', $cfg::tmpdir) if (defined($cfg::deltmpdir)); --- ### wor/15.01.06 Removed ###system ('rm', '-rf', $cfg::tmpdir) if (defined($cfg::deltmpdir)); 2730,2734c2731,2736 if ($cfg::tmpdir eq '/tmp') { $cfg::tmpdir = $cfg::tmpdir .'/'.$$; mkdir ($cfg::tmpdir) || die Can't create temporary directory, $!; $cfg::deltmpdir = 1; } --- ### wor/20060115 - Commented due to bug ###if ($cfg::tmpdir eq '/tmp') { ### $cfg::tmpdir = $cfg::tmpdir .'/'.$$; ### mkdir ($cfg::tmpdir) || die Can't create temporary directory, $!; ### $cfg::deltmpdir = 1; ###} 5407c5409 if ($ver =~ m/^2/) { --- if ($ver =~ m/^2|^3/) { Hope that helps you, are since then running flexbackup daily/hourly/monthly without any problem, great little helper. -- --Robert pgpvQEvBhoTem.pgp Description: PGP signature
[flexbackup-help] file not found while backing up remote machine
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 12; cat /tmp/27977/filelist.27977 | gzip -4; x=([EMAIL PROTECTED]); i=0; while [ $i -lt [EMAIL PROTECTED] ]; 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? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ flexbackup-help mailing list flexbackup-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexbackup-help