User Tools

Site Tools


database:db2_backup_restore

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
database:db2_backup_restore [2024/05/06 23:41]
manu [Copy a DB and catalog it]
database:db2_backup_restore [2024/05/07 22:48] (current)
manu
Line 47: Line 47:
 First start the restore process, that is waiting for PIPE to be used First start the restore process, that is waiting for PIPE to be used
 <cli prompt='​$'>​ <cli prompt='​$'>​
-$ db2 restore db MYDB2 from /tmp/​mydb2.bkp ​into MYDB2_clone redirect+$ db2 restore db MYDB2 from /backup ​into MYDB2_clone redirect
 </​cli>​ </​cli>​
  
 Then start in a second windows, the backup using the PIPE Then start in a second windows, the backup using the PIPE
 <cli prompt='​$'>​ <cli prompt='​$'>​
-$ db2 backup db MYDB2 to /tmp/​mydb2.bkp+$ db2 backup db MYDB2 to /backup
 </​cli>​ </​cli>​
  
database/db2_backup_restore.1715031703.txt.gz ยท Last modified: 2024/05/06 23:41 by manu