> Today, during the backup and restore of the database, I ran into a problem. The media set has 2 media families, but only 1 are available. Must provide the There are members, the following is a detailed description of the problems encountered
I. backup solution:Multi-level backup is used to reduce the time required for recovery and the time required for daily backup, while ensuring that the system recovers well.The following is a recommended solution:Full backup of a database every six
In this section we will discuss how to maintain CRM, including the following main content:
Back Up CRM DB
Back up your CRM system
Restore CRM DB
Restoring the CRM system
First, back up CRM DB
The following steps
A. Causes of data loss:Program errorHuman errorComputer errorDisk failedDisasters (such as fire, earthquake) and theftB. What is backup?Backup creates a copy of data.Used to restore and restore data after system failureFile copy is not equal to
If the database is in Noarchivelog mode, we will recover the database from a full offline backup and it is not possible to achieve point-in-time recovery.
1, restore the preparation work
If you run the database in Noarchivelog mode and assume that
Theoretical basisDatabase server is one of the most widely used server types, and many enterprises have to purchase database server in the process of informatization construction. Database server is mainly used for storing, querying and retrieving
The following is a simple example of how to back up and restore each Database. For more details about the parameters and configurations, see related information. 1. mysql: parameter description: $ user $ password $ targethost $ port $ charset $
In this section, we will discuss how to maintain CRM, including the following:
Back up CRM DB
Back up CRM System
Restore CRM DB
Restore CRM System
I. Back up CRM DB
The following steps create a maintenance plan for the crm db:
1. Open
Mysql, sqlsever, oracle, redis, mongo, postgres and other database backup and recovery commands, sqlseverredis
The following is a simple example of how to back up and restore each database. For more detailed parameters and configurations, refer to
1. Check the database mode:Sqlplus/nologConn/As sysdbaArchive log list (check whether the database is in archive Mode)
If not, the database archive mode is modified.Startup MountAlter database archivelogAlter database open
2. connect to the target
Note:The prerequisite for ① recovery is that the backup is done② Full Recovery database is the database encountered a failure, at the time of recovery did not lose any of the submitted things data recoveryIncomplete recovery database is a database
The following list only gives the simplest usage of backup and recovery of each database, more detailed parameters and configuration please refer to the relevant informationFirst, MySQL:Parameter description:
$user
$password
Method 11. Create a database with the same name2. Stop sqlserver again (do not detach the database)3. overwrite the new database with the data file of the original database.4. Restart sqlserver.5. When you open the Enterprise Manager, there will be
Database restoration and warehouse receiving are at work, and you often need to export the database from the current network to the home for problem restoration testing. At this time, we will design the Database Export and warehouse receiving. Now I
Steps:1. MySQL Command Line Mode settings:Desktop> my computer> Properties> environment variables> New> Path = "; Path/MySQL/bin;" path indicates the installation path of MySQL.2. How to access MySQL through the command line:1. c: \> mysql-H
Reinstall SQL server on a good machine and create the same database device (size) as the databaseStop SQL Server, overwrite the created database file with the copied database file, and restartSQL Server. But never. I guess the key is that you cannot
Principle: MySQL database backup principle: database interface software such as Navicat Common Database Backup principle is direct
Call the system commands of MYSQL.
MySQL system command:
-- Opt-h localhost -- user = root -- password = admin --
Using mysql's own command to implement database backup and restoration method bitsCN.com This article introduces some commonly used mysql commands for data import and export, as long as we hold these commands, we can quickly back up and restore our
In the Object Explorer in SQL Server Management Studio, right-click on the node ' database ' and select ' Attach ' on the pop-up menu.
In the Attachment Database window, click Add, select the main database file to add, such as Cms_keleyi_com.mdf;
1, on the management node for backup.ndb_mgm> Start Backup nowaitNdb_mgm> Node 3:backup 4 started from Node 1Node 3:backup 4 started from Node 1 completedstartgcp:43010 stopgcp:43013#Records: 2138 #LogRecords: 0data:53068 bytes log:0 bytesndb_mgm>
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.