One: There are several ways of database backup, there are several ways to restore the database
1: Restore of full backups
2: Restore of differential backups (you need to restore the most recent full backup, then restore the most recent differential
Let's take a look at the backup sequence Novice--1, tower Build environment (generate test data and backup files)/* Test environment: Microsoft SQL Server R2 (RTM)-10.50.1600.1 (X64) APR 2 15:48:46 Copyright (c) Microsoft Corporatio N Enterprise
When the database needs to recover the media, in order to ensure that the database can smoothly perform the recovery process, restore the database to the current state. All we need to do is verify! What is verification? Of course, it is to verify
-- Sp_revokedbaccess Jacobean: Delete the Jacobean account in the current database
-- Sp_change_users_login 'report': displays the current user report mapped to logon.
-- Sp_droprole sqladmin1: Delete the sqladmin1 role from the current database
--
The purpose of a full database restore is to restore the entire database. The entire database is offline during the restore. Before any part of the database becomes online, all data must be restored to the same point, that is, all parts of the
General steps for mssql database system crash
Description:
SQL Server 2000 crashes and the database is reinstalled.
Make the following preparations:
1. Complete backup of three system databases (master, msdb, model:
2 backup of two user databases
From: http://blog.sina.com.cn/s/blog_59e866610100dnku.html
The last time I backed up and restored SQL file groups, I always felt that I was missing something. The end log is backed up to restore the database to the point where the fault occurred.
A Scripts for full backups, differential backups, and transaction log backups--Full backup DatabaseBACKUP DATABASE to DISK = ' E:\20150609_75\bak\Test_bak_full.bak ' with Init--Differential BACKUP DatabaseBACKUP DATABASE to DISK = ' E:\20150609_75
Note:① The premise for recovery is that the backup has been completed② A database fault occurs when the database is fully recovered, and no committed data is lost during recovery.Incomplete restoration of the database is a fault in the database.
This article mainly describes the Rman recovery scheme and Oracle Machine recovery, the need for friends can refer to the followingNote:The premise of ① recovery is that it is ready for backup② Full Recovery database is a database that is
MongoDatabase performance optimization SQLServer has tools for database optimization. MongoDatabaseProfiler not only has but also has more powerful functions. MongoDB comes with a Profiler that allows you to easily record all operations that take a
Mysqldump is a command code of mysql. It is often used to back up databases or data tables. Next we will introduce the usage of mysqldump.
Mysqldump is a command code of mysql. It is often used to back up databases or data tables. Next we will
From the above recovery process, we can see that all logs are applied, including online logs, archived logs to sequence9, but sequence is restored to 10. 10 as the current log. 8,
From the above recovery process, we can see that all logs are applied,
Environment: rhel5.5, Oracle10.2.0.1xmanager4.0, after backing up the control file, perform a series of operations on the database to close the database; restore the control file, start
Environment: rhel 5.5, Oracle10.2.0.1 xmanager4.0 after backing
Method 1
1. Create a database with the same name
2. Stop SQL server again (do not detach the database)
3. overwrite the new database with the data file of the original database.
4. Restart SQL Server.
5. When you open the Enterprise Manager, there
Yesterday, I helped a friend restore the SQL Server 7.0 database. Now let's write down the process and share it with you:
My buddy copied a database data file from someone else (file in the C:/MSSQL7/Data Directory)
Initially I used:
Reinstall SQL
Backup
1, configure the archive mode
Configuring the archive requires editing the postgresql.conf file, which defaults to the/usr/local/pgsql/data/directory
Vim/usr/local/pgsql/data/postgesql.conf
Wal_level = Hot_standby
Archive_mode=
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.