[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-dump-users
Subject:    Re: [Dump-users] How to stop restore asking questions AND do NOT continue a restore
From:       Antonios Christofides <A.Christofides () itia ! ntua ! gr>
Date:       2003-04-06 19:30:09
[Download RAW message or body]

Norbert Preining wrote:
> Hi!
> 
> I want to check a restore I have done with cron, my idea was:
> 	cd /scratch
> 	restore -f /dev/ntape -v -N -a -x ./

> I want restore to STOP if an error occurs.

How about

restore -f /dev/ntape -v -N -a -x ./  </dev/null

When it tries to ask you it will find out that it can't, and I guess it
will quit with an error.


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Dump-users mailing list
Dump-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dump-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic