Save NetWare data through the QNetWare directory
You can save NetWare volumes, directories, or files in the QNetWare directory.
You can also save NDS objects, such as organizations and organizational
units. To save NetWare objects in the QNetWare directory, do this:
- If you are saving NetWare objects to a file, create one or more files for
storing the NetWare objects that you plan to back up. To do this, on an iSeries™ command line, type CRTSAVF FILE(mylib/mysave) TEXT('My Save/Restore
File') and press Enter.
In this example, mylib is the name
of the library in which your save file will be created and mysave is
the name of your save file.
- If you have an authentication entry, skip to step 4.
Otherwise, start an authenticated connection to the NetWare server that has
the objects you want to save by entering:
STRNTWCNN SERVER('docserv') CNNTYPE(*SAVRST)
If your NetWare user name does not match your iSeries profile,
you must also specify the NTWUSER and PASSWORD parameters.
- When iSeries starts the connection to NetWare, you can press F10 to see the
types of connections started:
Started *USER connection 1 to server docserv.
Started *SAVRST connection 1 to server docserv.
Started connection to server docserv.
Note that you must have a *SAVRST connection to the server before you can save or restore NetWare objects.
-
Type SAV and press F4 to see the Save Object display
shown here.
In this example, iSeries will save volume myvol on NetWare server docserv.
Figure 4. Save Object display
- If you want to save specific directories or files in the volume, just
add them to the path. For example, to save all files and directories that
start with the characters JEAN, type the following for the Name
parameter:
'qnetware/docserv.svr/myvol/jean*'
Note:
If you use pattern-matching characters and the beginning of a directory name
matches these characters, iSeries saves both the directory and all the
files in that directory.
- If you want to save NetWare resources such as NetWare volumes or
all NDS objects in a NetWare 4.x, 5.x, or 6.x tree, use SAV.RST in
the path. For example, to save myvol, you would type this for the Name parameter:
'qnetware/sav.rst/abc.svr/myvol/'
- Press F10 to see additional parameters and then press Page Down.
- Change the Clear parameter to *ALL. This ensures
that iSeries overwrites any existing data in the save file during the save
operation.
To display the save file after iSeries backs up the NetWare objects, type DSPSAVF FILE(mylib/mysave) and press Enter.
Use option 5 to display the objects that were saved to the file.