This diagram shows the ON–Bar syntax for renaming chunks during a cold restore.
Renaming Chunks: |-- -r-- -rename------------------------------------------------> .----------------------------------------------------------------. V | >--+--- -p--old_path-- -o--old_offset-- -n--new_path-- -o--new_offset-+-+--| '- -f--filename------------------------------------------------------'
Element | Purpose | Key Considerations |
---|---|---|
-r | Specifies a restore | You must specify the -r parameter first. |
-rename | Renames one or more chunks during a cold restore | |
-f filename | Specifies a file containing the names and offsets
of chunks to be renamed and their new locations
Use to rename a large number of chunks at one time |
The filename can be any valid UNIX or Windows filename,
including simple (listfile_1), relative (../backup_lists/listfile_2 or ..\backup_lists\listfile2),
and absolute (/usr/informix/backup_lists/listfile3 or c:\informix\backup_lists\listfile3)
filenames.
In the file, list the old chunk pathname, the old offset, the new chunk pathname, and the new offset. Put a blank space or a tab between each item. Put information for each chunk on a separate line. Blank lines are ignored. Begin comment lines with a # symbol. |
-p old_path
-o old_offset -n new_path -o new_offset |
Specifies the chunk to be renamed and its new
location
Use to rename one or more chunks at one time |
The variables for this element are:
|
You can use the following options after the -rename command:
For more information on these options, see Performing a Complete Restore.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]