From: Deon G. <de...@im...> - 2003-12-04 04:17:34
|
Hi John Lets say that I have tried both with directory and files, unfortunately I have the example with the txt file, but I definitely ran flexbackup -c /etc/flexbackup.conf -dir odin:/home/flex ...getting the same error find: invalid predicate `-E' level 0 odin:/home/flex Tue Dec 02 23:09:40 2003 tar+gzip from asterix.impelsys.net Total bytes written: 10240 (10kB, ?B/s) 0+1 records in 0+1 records out 146 bytes transferred in 0.302767 secs (482 bytes/sec) ERROR: non-zero exit from: ssh odin cd "/home/flex" && find -E . -depth -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ -print0 | tar --create --null --files-from=- --ignore-failed-read --same-permissions - -no-recursion --totals --label "level 0 odin:/home/flex Tue Dec 02 23:09:40 2003 tar+gzip from asterix.impelsys.net" --verbose --sparse -b 20 --file - | gzip -4; x=(${PIPESTATUS[@]}); i=0; while [ $i -lt ${#x[@]} ]; do [ ${x[$i]} -eq 0 ] || exit ${x[$i]}; i=$(($i+1)); done thanks for all your help Deon -----Original Message----- From: John Reynolds [mailto:jo...@re...] Sent: Wednesday, December 03, 2003 11:01 PM To: de...@im... Cc: fle...@li... Subject: Re: [flexbackup-help] remote backup > ssh odin cd "/home/flex/test.txt" && find -E . -depth -xdev ! -type s > ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ -print0 | > tar --create --null --files-from=- --ignore-failed-read --same-permissions - > -no-recursion --totals --label "level 0 odin:/home/flex/test.txt Tue Dec 02 Uhm ... stupid question, but is /home/flex/test.txt a *FILE* or a *DIRECTORY*? -dir means directory. If you truly have a directory that ends in ".txt" then .. well, whatever, but you have another problem. But, if this is a file, then you need to say -dir odin:/home/flex in order to backup the entire directory. To my knowledge flexbackup isn't setup to just backup single files. Edwin might correct me here, but I think this is your problem. -Jr -- John & Jennifer Reynolds johnjen at reynoldsnet.org www.reynoldsnet.org Structural / Physical Design - ICG/PNG SCD jreynold at sedona.ch.intel.com Running FreeBSD since 2.1.5-RELEASE. FreeBSD: The Power to Serve! "Unix is user friendly, it's just particular about the friends it chooses." |