1.备份到AIX本机目录
首先进入db2数据库管理用户下:su – db2adminname
离线备份:db2 backup db dbname to /aaa/bbb
在线备份:db2 backup db dbname online to /aaa/bbb include logs
2.备份到TSM
首先进入db2数据库管理用户下:su – db2adminname
在线增量备份:db2 backup db dbname online incremental use tsm compress include logs
在线全备份:db2 backup db dbname online use tsm compress include logs
AIX下面TSM备份文件方法如下:
dsmj打开TSM客户端的控制台,其他操作和Windows下面一样.