NDSSYSVolumeRecovery
Restores the data backed up in the servedata.nds file to the server.
#include <ndsback.h>
int NDSSYSVolumeRecovery (
void *(*memAlloc)(unsigned size),
void (*memFree)(void *p));
|
0x0000 |
SUCCESSFUL |
|
Nonzero |
Nonzero values indicate errors. See |
This function is an exported symbol from the DSBACKER NLM. To use it, you will need to create an import file.
This function uses the servdata.nds file created by the NDSBackupServerData function. The NDSSYSVolumeRecovery function expects the file to be in the Sys:system directory.
If the server stored a master partition, another partition should be designated as the master partition before using this function. Also, the server needs to be removed from all replica lists so that it appears as if it stores no replicas.