unassisted vxrestore

From: Fernando N. de Souza (fnantes@yahoo.com)
Date: Fri Mar 12 2004 - 17:19:53 EST


Dear managers,

Scenario
=========

I'm trying to schedule a script to copy filesystems from one Sun server
to another. This is what it looks like:

(rsh server1 ufsdump 0f - /)|(cd /backups/root;ufsrestore xfy -)
(rsh server1 vxdump 0f - /u1/app)| (cd /backups/u1/app;vxrestore xfy -)

And so on for each filesystem. Note that I use ufsdump for the root fs
and vxdump for the other ones (Veritas FS). When the script runs from
server2, it copies the filesystems from server1 over the network and
restores them on server2.

Problem
========

vxrestore stops at the end and prompts "set owner/mode for '.'? [yn]"

Because the script must run from cron, I need a way to have vxrestore
not ask any questions and set its behavior totally from the command
line. Man pages are silent on this but they to talk about "set-modes"
option in interactive mode, which does not help me.

Thanks.

--Fernando

=====
Fernando Nantes de Souza
fnantes@yahoo.com
http://fnantes.icestorm.com
-.-- --- ..- .- .-. . .- --. . . -.-
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:16 EDT