Intended audience
This article is tested in linux and mysql 4.1.14. After modification, it may be applicable to mysql 4.0, 5.0 and other versions.
This article is applicable to mysql that does not enable replication. If replication is started, you may not need to adopt this backup policy or modify relevant parameters.
Each person may have different backup policies. Therefore, Please modify the policies base
(1) Write hot backup script (double spool)
Set feedback off pagesize 0 heading off verify off Linesize-Trimspool on echo off
Define bakdir= '/disk1/backup/anny/hot_bak '
Define bakscp= '/disk1/backup/anny/hot_cmd.sql '
Define spo= ' bakdir/hot_bak.lst '
Prompt ***spooling to BAKSCP
Set Serveroutput on
Spool BAKSCP
Prompt spool spo
Prompt alter system swi
When SQL injection is used to obtain the database permission, you can do a lot of work next, such as looking for the administrator password and background management, to help you get WEBSHELL, but this article is about log backup, the pony backed up by LOG is small in size and the backup is successful. Therefore, it is my first test method for database permissions.However, in LOG
History of the simplest MySQL Data Backup and restoration tutorial (below) (), mysql Data Backup
The third part of data backup and restoration is as follows:
Basic concepts:
BackupSave the existing data or records in another copy;
RestoreTo restore the data to the backup status.
Why do we need to back up and restore Da
Preparatory work:
Need to advance in the VPS to install good lftp,lftp function more powerful, CentOS Direct execution: Yum install Lftp,debian execution: Apt-get install.
You need to create the/home/backup/directory on the VPS and create the backup directory on FTP.
If the VPS on the database is not much to use GoDaddy free space can (10GB space, 300GB traffic), as long as the registration of the domain
it is to back up the database. The following describes how to back up and restore the database with ORACLE7 as an example. ORACLE databases have three standard backup methods: EXPORT/IMPORT, cold backup, and hot backup. Exporting backup is a logical backup, while cold
I. Problem Description
OS: RedHat 5.8
Database: 11.2.0.3
2 node RAC.
When using RMAN for backup, the following error is reported:
ORA-00245: control file backup failed; target is likely on a local file system
This issue only exists in RAC environments after Oracle 11gr2.
2. ORA-245 trigger conditions
ORA-00245 errors may occur in five of the following environments.
2.1 RAC environment, automatic
Brief introduction
1 • Concept of full and incremental backups2 • Full backup with mysqldump3 · Using Mysqldump for table structure backup4 • Two methods of full backup recovery5 • Incremental backup with flush logs6 • Incremental Backup recovery7 · Based on point-in-time and seat recovery8 · MySQL
During traditional Oracle backup, database files are backed up by copying operating system files. The backup granularity is data files, and the data files may be large, however, it is empty blocks and there is no Oracle data, but because it is a file copy, you need to back up the entire file.The backup set value of RAMN backs up used data blocks and supports Incr
MySQL backup lock and mysql backup
Both logical and physical backups depend heavily on FTWRL (Flush Table With Read Lock) to obtain consistency points ). This lock is highly lethal, because during the lock period, the entire database cannot provide write services externally. In addition, because FTWRL needs to close the table, if there is a large query, it will lead to FTWRL waiting, which leads to a longer
Myth #20: After breaking the log backup chain, a full backup is required to restart the log chain
Error
A transaction log backup backs up all transaction logs since the last transaction log backup (if there has never been a log backup, starting with the last full
I. Scripting notes1.mysql data files and binary log files are best saved on different partitions or storage devices2. After the backup is complete, take care to modify the data permissions to prevent the disclosure of important information, which hosts which users can use to recover3. View the exported 2 log file to see if it is logical and business, 2 binary log files can only guarantee the physical data point-in-time restore, but does not guarantee
=myisamdefaultcharset=utf8;mysql>insert NBSP;INTONBSP;MYISAM_TBL (name) ->values (' One '), (' Joy '), (' Li '), (' Tom '), (' Jerry '), (' Hello ');### a good way to build data mysql>insertintomyisam_tbl (name ) ->selectnamefrommyisam_tbl;### Create a table mysql>createtableinnodb_tbl for the InnoDB engine (-> idINTNotnullauto_increment,->namevarchar (+), ->primarykey (ID) - >) engine=innodbDEFAULTcharset=utf8;# myisam_tbl data to Innodb_ TBL Table MYSQLGT;NBSP;INSERTNBSP;INTONBSP;INNODB_TBL (
Example of using RMAN to create a backup set for Oracle11g backup and recovery
Oracle 11 GB backup and recovery example of using RMAN to create backup Sets
Homepage → Database Technology
Background:Read News
Oracle 11 GB backup and recovery example of usi
The importance of server data every network administrator knows this, perhaps the probability of server data loss is 1 per thousand, but if it happens, the impact on the entire site will be devastating, real-time server data backup is a network administrator's day-to-day work is an important thing.
Server data is diverse and how to back it up. Less than dozens of G, a number of hundreds of g of files, the size of the file is not the same. How to choo
Myth #20: After breaking the log backup chain, a full backup is required to restart the log chain
Error
A transaction log backup backs up all transaction logs since the last transaction log backup (if there has never been a log backup, starting with the last full
During traditional Oracle backup, database files are backed up by copying files from the operating system. The backup granularity is data files, which may be large,
During traditional Oracle backup, database files are backed up by copying files from the operating system. The backup granularity is data files, which may
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.