50 DB2 Nuggets #28 : Tech Tip - Restore SQL0104N
Adam Koile 270000GAYM Visits (5190)
When restoring you must use the restore-options in the order shown in the InfoCenter If you don't you will see error SQL0104N
db2 "restore database sample from /tmp/backups to newdb without prompting without rolling forward"
SQL0104N An unexpected token "without" was found following "PROMPTING".
Expected tokens may include: "EN
Per InfoCenter without rolling forward is listed before without prompting. So it should look like this:
db2 "restore database sample from /tmp/backups to newdb without rolling forward without prompting"
If you encounter the SQL0104N check the Infocenter (RES