xbackup and xrestore are in $DBROOT/bin (Windows NT: %DBROOT%\bin). This directory should normally be included in the user's command search path.
On Windows NT, %DBROOT%\misc\NetVault.txt contains a template for pre- and post-scripts.