From: Jeff M. <in...@bi...> - 2004-02-11 20:06:14
|
i think i found it. tar on freebsd does not support --no-recursion yet it does support -norecurse are these intended to be the same thing ? Jeff MacDOnald wrote: > HI, > > Trying to backup remote machine, all machines in my scenerio are > FreeBSD. I've read the list archives and saw the find -E mentioned a few > times. I checked and my 'find' supports this. > > My log for this transaction does not mention -E, however it doesn't > really mention anything else. Wondering if someone can point me in the > right direction. > > ===== log file with hostnames alterd to procect the innocent ===== > > > flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) > > |------------------------------------------------------------ > | Checking /bin/sh on this machine... unknown (probably Bourne Shell) > | Checking shell on bilbo.mydomain.ca... bash2 > | Checking for required programs on host bilbo.mydomain.ca... Ok > |------------------------------------------------------------ > | Doing level 0 backup of set bilbo using tar > | Found directory index key 200402111356 > | Backup set "bilbo" (bilbo.mydomain.ca:/usr/home) > |------------------------------------------------------------ > | Backup of: bilbo.mydomain.ca:/usr/home > | Date of this level 0 backup: Wed Feb 11 15:47:20 2004 > | Date of last level 0 backup: the epoch > |------------------------------------------------------------ > | /tmp/collectexit.40281.sh ssh -l backup bilbo.mydomain.ca 'cd > | "/usr/home" && sudo find -E . -depth ! -fstype nfs ! -fstype smbfs ! > | -fstype bind ! -fstype proc ! -fstype devpts ! -fstype devfs ! -fstype > | tmpfs ! -type s -print0 | sudo tar --create --null --files-from=- > | --ignore-failed-read --same-permissions --no-recursion --totals --label > | "level 0 bilbo.mydomain.ca:/usr/home Wed Feb 11 15:47:20 2004 > | tar+gzip from gollum.mydomain.ca" --verbose --sparse -b 20 --file - > | | sudo gzip -4; x=(${PIPESTATUS[@]}); i=0; while [ $i -lt ${#x[@]} ]; > | do [ ${x[$i]} -eq 0 ] || exit ${x[$i]}; i=$(($i+1)); done' | > | /tmp/collectexit.40281.sh dd ibs=10k obs=10k conv=noerror > | of="/dr/dr01/backup/data/bilbo.mydomain.ca-usr-home.0.200402111547.t > | ar.gz" > | [ ! -e /tmp/exitstatus.40281 ] > |------------------------------------------------------------ > find: level 0 bilbo.mydomain.ca:/usr/home Wed Feb 11 15:47:20 2004 > tar+gzip from gollum.mydomain.ca > nfs: unknown file type > Total bytes written: 10240 (10kB, 3.1MB/s) > 0+1 records in > 0+1 records out > 149 bytes transferred in 0.712470 secs (209 bytes/sec) > > ERROR: non-zero exit from: > ssh -l backup bilbo.mydomain.ca cd "/usr/home" && sudo find -E . -depth > ! -fstype nfs ! -fstype smbfs ! -fstype bi > nd ! -fstype proc ! -fstype devpts ! -fstype devfs ! -fstype tmpfs ! > -type s -print0 | sudo tar --create --null -- > files-from=- --ignore-failed-read --same-permissions --no-recursion > --totals --label "level 0 bilbo.mydomain.ca:/u > sr/home Wed Feb 11 15:47:20 2004 tar+gzip from gollum.mydomain.ca" > --verbose --sparse -b 20 --file - | sudo gzip - > 4; x=(${PIPESTATUS[@]}); i=0; while [ $i -lt ${#x[@]} ]; do [ ${x[$i]} > -eq 0 ] || exit ${x[$i]}; i=$(($i+1)); done > > > ERROR: exiting > |------------------------------------------------------------ > | Backup start: Wed Feb 11 15:47:20 2004 > | Backup end: Wed Feb 11 15:47:21 2004 > |------------------------------------------------------------ > | Compressing log (bilbo.0.200402111547.gz) > | Linking bilbo.latest.gz -> bilbo.0.200402111547.gz > |------------------------------------------------------------ > > Thanks in advance. > > Jeff. > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > flexbackup-help mailing list > fle...@li... > https://lists.sourceforge.net/lists/listinfo/flexbackup-help |