数据库: IBM DB2, Microsoft SQL Server和Oracle的增量备份

The incremental backup of DB2, SQL Server and Oracke database. No matter what sort of incremental backup, the relevant full backup is required in advanced.

Microsoft SQL Server:

BACKUP DATABASE { database_name | @database_name_var }   TO  [ ,...n ]     [ WITH DIFFERENTIAL ]
[;]
http://msdn.microsoft.com/en-US/library/ms175526%28v=SQL.90%29.aspx
IBM DB2:
1) Enabling incremental backup:
DB2 UPDATE DATABASE CONFIGURATION FOR database-alias USING TRACKMOD YES

After you set TRACKMOD to YES, you must back up the database before allowing applications to change data. In other words, you must take a full database backup so that you have a baseline against which incremental backups can be taken. Also, if you later create a new table space in the database, you must then take a backup that contains the table space. This can be either a database backup or a table space backup. After the backup, incremental backups are permitted to contain the new table space.

2) Incrementally backup
DB2 BACKUP DB database-alias ONLINE INCREMENTAL to dir/dev
http://www.ibm.com/developerworks/data/library/techarticle/dm-0910db2incrementalbackup/index.html
Oracle:
BACKUP INCREMENTAL LEVEL 1
  TABLESPACE tablespace
  DATAFILE 'datafile';
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup004.htm 

你可能感兴趣的:(sql,server,microsoft,db2,ibm,oracle,数据库)