1. Place the online backup file in the/OPT directoryPut the archive log in/eipgpfs/procure2/node0000/c0000000And put the backup file under/optand log file read permission to pay everyone ( otherwise roll forward is unsuccessful)chmod u+r Backup
Microsoftsqlserver How to restore a database. bak backup fileListen to the Voice
|
Browse:6186
|
Updated: 2014-11-27 21:15
|
Tags: backup
1
2
3
4
5
6
7
Step through the
Description: I was doing this restore database because the backed up database is not the same server as the restored database. There are some differences (specific differences I will list below) when the default click action is error so this
First step: Install SQL200 and start SQL2000.
Download the SQL2000 online and install it. (My operating system is XP, with SQL Personal Edition), open SQL Service Manager as shown in the picture below
Start/Continue the small icon on the left to
Yesterday, a customer called to call, said their database is broken, can not use, need my help to recover, this is going to leave, incredibly out of this thing, and I do not like to restore the database this kind, especially their database is a win
is also the operation of the industry is not fine, in fact, before the command line to restore a few times the MySQL database, but always remember the grammar. No, today I want to restore the database backed up on another computer, and the result is
Today when Sqlerver restore the database, the card is there to prompt the "restoring ..." status, the database cannot be manipulated at this time, let me show you how to solve some problemsWorkaround:
The code is as follows
Copy
1. Log in to the database with SA identity or Windows authentication2. Right click databases Select New Database3. Fill in the database name, select the path (not the default address) for databases files;Choose option to select the recovery model as
Put the entire folder (jmam_dq.0) to D:\db_bak\Start-run, enter Db2cmd:1. Create a databaseDB2 Create DB dbname on D:(The database in the D disk, then the system will automatically add sql0000* directory, the result directory such as: D:\db2\node0000
In fact, the cause of the problem is still due to the problem of coding, the site database settings are GBK, mysql default is GBK, but the export of data when the UTF8 SQL file, no matter how I re-import, after connecting to the database using set
Version: 5.5.14Os:conetos 6.31. Create recover.sh[Email protected] export]# VI recover.sh#!/bin/bashBakdir=/export/dataMysql=/export/servers/mysql/bin/mysqlUser=rootpasswd=123456For port in
First, right-click DatabaseSecond, click [Restore Files and Filegroups (E) ...], pop up the window interface1. Fill in your database name in the input box of the target database (note that this is a new database for restore use and cannot be
CREATE table Spaces First in Plsql developer if you have created tablespaces and users, you need to delete/*--Deleting a table spaceDrop tablespace jhpt including contents and datafiles;--Delete UserDrop user JHPT cascade;*/Start execution--Create
(1) Restore existing databaseThe prompt failed while restoring because the database is in use and cannot gain exclusive access. Workaround, detach the existing database before performing the restore operation.OK, because I was first using (2)
Problem:SQL database restore, the structure of the media family appears incorrectly, and SQL Server cannot process this media family.Exceptions are as follows.Cause of the problem:The problem with sql2005 and sql2008 installed on my computer is that
--First query the data T_asn_dtl at a certain point in time as the table nameSELECT * from T_asn_dtl as of TIMESTAMP to_timestamp (' 20180625 22:30:00 ', ' YYYYMMDD HH24:MI:SS ');--Assigning this time-point data to a new table, Tab_bal; it's better
Backing Up the databaseSelect the database you want to back up, right-click, select Task-BackupPop Up the Backup Database window and select AddPop-up Select Backup Destination window, click Browse, select the directory where the backup database is
Customer Name ConfidentialityData type MySQL 5.6 for WIN data capacity 6 G The fault type database was mistakenly deleted. The client himself tried various recovery tools and could not find the missing database files. Repair results using the
PS c:\users\spadmin> restore-spsite Http://hz0xw002049:8099-Path D:\20170731MossSiteSP.bak-Force-DatabaseServer Hz0xw002049-databasename wss_content2017 confirm that you are sure you want to do this? The action "Restore-spsite" is being performed on
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.