As a backup procedure we are currently using the export function. The command used is:
exp system/passwd@CMAL file=out.dmp log=file.log full=y.
All the tables are successfully exported using this facility. The problem now is to use this to restore the database to a couple of weeks ago. I have tried to use:
imp commandsystem/passwd@CMAL full=y inctype=restore file=out.dmp
but this does not appear to drop the tables or indexes so I get errors on every table & primary key as it tries to add the data. What would be the best way to use the export file to restore back?
Any ideas anyone?
Thanks in advance..
exp system/passwd@CMAL file=out.dmp log=file.log full=y.
All the tables are successfully exported using this facility. The problem now is to use this to restore the database to a couple of weeks ago. I have tried to use:
imp commandsystem/passwd@CMAL full=y inctype=restore file=out.dmp
but this does not appear to drop the tables or indexes so I get errors on every table & primary key as it tries to add the data. What would be the best way to use the export file to restore back?
Any ideas anyone?
Thanks in advance..