The following articles mainly describe the online backup and recovery practices of the DB2 database. If you are curious about the practices of online backup and recovery of the DB2 database, this article will unveil the mystery of this article, the following is a detailed description of the article.
Database, practice,
Features of online backupOnline backup is also known as hot backup, while backup, users of the database can operate, so the contents of the corresponding physical files of the database are constantly changing, the update of the contents of these physical files is retained until the relevant operation has been written t
DB2 online backup is one of the most commonly used functions.
1. run the following command to check the Unix/Linux parameters: db2 get db cfg for xcldb | grep "USEREXIT" db2 get db cfg for xcldb | grep "LOGRETAIN" db2 get db cfg for xcldb | grep "TRACKMOD" command for viewing in Windows: db2 get db cfg for xcldb | find/I "userexit" db2 get db cfg for xcldb | find/I "logretain" db2 get db cfg for xcldb | fin
1. Online Backup error:
sql> alter tablespace ZY begin backup;
Alter TABLESPACE users begin backup
*
ERROR at line 1:
Ora-01123:cannot Start online backup;media recovery not enabled
2. Find the cause of the error:Alter TABLESPACE
The following articles mainly describe the actual operation solution of DB2 Online backup. This article describes how to modify Database parameters and modify the relevant parameters of database online backup, the following describes the main content of the text.
Online, sol
Today I learned about Oracle backup while performing altertablespaceusersbeginbackup; then there is: Row 1st error: ORA-01123: unable to start online backup
Today I learned about Oracle backup after executing alter tablespace users begin backup; then there is: Row 1st error:
I just got started with DB2, but I am not very familiar with the Backup recovery mechanism of DB2, and I am not familiar with the relevant information, so I have to explore it myself.
Requirement
Online compression and backup of the production database, which contains archived logs, regularly restores the backup of the
This article mainly describes the actual operation steps of online DB2 backup. If you encounter online DB2 backup in actual operations, but you do not know how to solve it correctly, so the following articles must be good teachers and friends for you.
(1) first, open the database configuration parameters that support
ASP online Backup SQL Server database:
1. Backup SQL Server
Copy Code code as follows:
sql= "BACKUP database name to disk= '" server.mappath ("Backup") "\" "Backuptext.dat" ""
Set Cnn=server.createobject ("Adodb.connection")
Cnn.open "Driver={sql Serve
First, the common backup:
The following approach is a simpler and more common way to SQLite database backups, as follows:1. Use the SQLite API or shell tool to add a shared lock to the source database file.2. Use the shell tool (CP or copy) to copy the database files to the backup directory.3. Unbind the shared lock on the database file.The above 3 steps can be applied to most scenarios, and the speed is a
How to open a database after an online hot backup fails.
System environment: 1, operating system: Windows 20002. Database: Oracle 8i R2 (8.1.6) for NT Enterprise Edition3, Installation path: c:/oracleError phenomenon: When online hot backup, the server has failed, such as power off, restart the
subdirectories in the Pg_xlog directory
[Email protected] data]# mkdir-p/opt/postgresql/9.3/data/pg_xlog/archive_status[[email protected] data]# chown-r Postgres:postgres /opt/postgresql/9.3/data/pg_xlog/archive_status/[[email protected] data]# chmod-r opt/postgresql/9.3/data/pg_xlog/archive_status/
In the $pgdata directory, create a recovery configuration file recovery.conf
--Recovery.conf will be automatically renamed to Recovery.done when the recovery is complete.6. Chec
Online Database Backup settings MySql data synchronization mysql provides the database replication function after version 3.23.15. This feature allows you to synchronize two databases, master-slave mode, and mutual backup mode.
The settings of the database synchronization replication function are reflected in the mysql settings file. Mysql configuration file (
Sort out the online backup recovery steps
1. Find the database db2 list history backup all for xcldb
2. before the database is damaged, run the db2ckrst command to obtain the recovery sequence. skip this step if the database to be recovered is damaged. db2ckrst-d xcldb-t 20131018111438-r database is useful in Incremental Back
Backup | Hot Backup | data | How do I open a database after a failed online hot backup?
System environment: 1, operating system: Windows 2000
2. Database: Oracle 8i R2 (8.1.6) for NT Enterprise Edition
3, Installation path: C:\ORACLE
Error phenomenon: When online hot
Asp online backup SQL server database:
1. Back up sqlserver
Copy codeThe Code is as follows: SQL = "backup database name to disk = '" Server. MapPath ("backup") "\" "backuptext. dat ""'"
Set cnn = Server. createobject ("adodb. connection ")
Cnn. open "driver = {SQL Server}; Server = Server name; uid = sa; pwd ="
Cnn
Online MySQL backup script
Recently, I am studying database backup and regularly execute the backup task. Here I set the backup script to the crontab command for regular execution. The script content is as follows:[Root @ mysql-db ~] # Cat mysql-backup.sh#! /Bin/bashDbpwd =
When the database is running, the tablespace status is online. At this time, the tablespace cannot be backed up. During the backup, the database is still writing data to the tablespace data files. If the data files are backed up at this time, the backup data files are not uniform and cannot be used for recovery.
To back up the data file of a tablespace, you must
being predictable. (such as engine room power outage, large-scale hardware damage, broken network, etc.)The large delay effect of the off-line application of Mr Computing on online reading and writing.Online Backup Scenario comparisonFor the data Center data Redundancy backup scheme, currently from the consistency, transactional, latency, throughput, data loss,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.