I'm using dump for backups to take advantage of the dump levels. I'd like to be 
able to run restore interactively, using the standard in as an input. Here's 
what I have in mind:

# cd /tmp
# ssh backup@10.0.0.10 "cat /home/backup/0-var.dmp" | restore -i -f -
restore >

When I try it, it hangs on the first command I run, even the "what" command. 
"top" reports the wait for restore is ttyin. I'm running OpenBSD 5.5-stable, 
patch 8, compiled from source. The host is running on rootbsd.net's 
infrastructure, Xen running my host as a HVM I believe.

This is how I'm creating the backups:

/sbin/dump -9 -au -f - /var | ssh -l backup 10.0.0.10 "cat > 
/home/backup/9-var.dmp"

I'm not using gzip or bzip2  on the remote side, because I don't own the backup 
server. rootbsd.net owns that and I want to be a good neighbor.

Am I getting the redirection wrong, or have I hit some kind of bug with the 
restore command? By the way, I'm just testing. I'm not in the heat of the 
moment, with a production recovery.

Thanks in advance,

                        --Bruce

Robert "Bruce" Carleton
r...@rbcarleton.com

Reply via email to