A job backup, not a backup database, is a backup job.
My approach is to export the job as a file backup, because when your server maintenance more than a lot of your homework is very problematic, very troublesome.
It is best to be able to work to achieve synchronization, this is also the first step, saved into a file
More and more enterprises see data as the core resources, hacker attacks, network failures, accidents and so on will cause the loss of data files, and for those who often deal with a large number of files of friends, also encounter such confusion: in the production of documents or processing data often because the forgotten backup and lost data. This time data backup and recovery will be the last protection
1. Local backupCompile an automatic backup script:Vim/var/lib/mysql/autobakThe content is as follows:Copy codeThe Code is as follows:Cd/data/home/mysqlbakRq = 'date + % Y % m % d'/Usr/local/mysql/bin/mysqldump sqldb -- flush-logs-uroot-p123456 -- opt> 777city _ $ rq. SQLSave and exit.
Chmod-777/var/lib/mysql/autobak
Crontab-e00 00 ***/var/lib/mysql/autobakThe autobak script is automatically executed every morning./Etc/init. d/crontab restart
Manually
1. Retain for seven days
This setting only keeps backups for seven days.
RMAN> connect target/
Connected to target database: DBSID (DBID = 3100778490)
RMAN> configure retention policy to recovery window of 7 days;
2. Backup script
Vi/root/rmanbak. sh
#! /Bin/bash
Su-oracle
Rman target/
Backup as compressed backupset database
Include current controlfile format '/orabak/db _ % d _ % T _ % s'
P
1. Local backupCompile an automatic backup script:Vim/var/lib/mysql/autobakThe content is as follows:
Copy codeThe Code is as follows: cd/data/home/mysqlbak
Rq = 'date + % Y % m % d'
/Usr/local/mysql/bin/mysqldump sqldb -- flush-logs-uroot-p123456 -- opt> 777city _ $ rq. SQL
Save and exit.
Chmod-777/var/lib/mysql/autobak
Crontab-e00 00 ***/var/lib/mysql/autobakThe autobak script is automatically executed every morning./Etc/init. d/crontab restart
Manu
My method is to export a job as a file for backup, because when your server is too large to maintain, many of your jobs become very problematic and very troublesome.
My method is to export a job as a file for backup, because when your server is too large to maintain, many of your jobs become very problematic and very troublesome.
Job backup, not a
Job backup, not a backup database, is a backup job.
My method is to export a job as a file for backup, because when your server is too large to maintain, many of your jobs become very problematic and very troublesome.
It is best to synchronize jobs. This is also the first step. Save the job as a file. After that, I im
Job backup, not a backup database, is a backup job.My method is to export a job as a file for backup, because when your server is too large to maintain, many of your jobs become very problematic and very troublesome.It is best to synchronize jobs. This is also the first step. Save the job as a file. After that, I imagi
Oracle RMAN backup and restoration, and mongolerman backup
RMANYou can perform Incremental Backup: databases, tablespaces, and data files.
Only usedBlockCan be backed upBackup set
Ing between tablespaces and data files:Dba_data_files/v $ datafile_header
InNoarchivelogMode, you can useRMANBackupRead-onlyAndOfflineTablespace
ORACLE RMANDowntime
The message "whether the local message password is lost or the chat record is backed up" is displayed. If yes, the message "saved on Q/msgbak/msgex_20090418163057.db" is displayed ". In this case, a file msgbak/msgex_20090418163057.db is generated after the backup (20090418163057 indicates the date on which the record is lost ), generally, it is stored in the msgbak folder (for example, C:/program files/qq2008 Pro/12345678/msgbak) of the QQ installati
Oracle rman backup and RestorationRMAN supports Incremental Backup: databases, tablespaces, and data files.Only used blocks can be backed up as backup setIng between tablespaces and data files: dba_data_files/v $ datafile_headerIn noarchivelog mode, you can use RMAN to back up the read-only and offline tablespaces.Oracle rman downtime backup:BackupRMAN is connect
Configure swap space and file system backup, and configure swap space backup
1. Overview of swap space:
Swap Space is a mechanism used by Linux to temporarily supplement physical memory to provide more memory Space. Swap Space is helpful for computers with limited memory, but cannot replace physical memory, because it is located on the hard disk, the access speed of the hard disk is several orders of magnit
bottleneck for speed. In this case, some backup software uses a "volume copy" to copy the entire volume that needs to be backed up, such as copying a 20GB C disk, regardless of how the small files are stored on the C disk and copied to the backup server. All of which are "volume copies" and there are subtle differences. Some backup software "volume copies", rega
Tags: xtrabackup incremantalXtrabackup User Guide InnoDB Data Backup toolXtrabackup is a innodb to do data backup tools, Support Online hot backup ( backup without affecting the data read and write, that is, no lock), is a commercial backup tool InnoDB hotbackup a good alter
For the system, we can have a lot of ways to back up (restore) the system or file, the reason is to do the backup, is to be in the system or file damage, the timely recovery, reduce the loss to a minimum. Of course, the importance of backup is important for enterprise servers. Let's discuss in detail today how to use dump and restore for backup and restoration in
Sections 3rd and 4 describe how to restore and restore a database from a consistent backup, but the disadvantage is that the database must be closed during the operation. Because in the actual environment, users and application systems are always using databases, and the database cannot be closed, how can we back up and restore the opened database, this section and the next section will be discussed.When data is opened, the data file and control file
Learning and mastering how to use NBU to back up the file system is just the beginning for a data administrator. Because for most enterprises, buy NBU is mainly to back up the data of the enterprise database, protect the data security of the database, and then ensure the safe operation of the enterprise application. As a result, database backups for Oracle, DB2, and Sybase will be rolled out from this article. Brief Introduction to Oracle Backup: Simp
MYSQL database automatic local remote dual-backup MYSQL incremental backup to build a high-security E-commerce website (automatic local/remote dual-backup of website files and databases) architecture diagram
We will continue to introduce the e-commerce system architecture related to file backup, database
One, MySQL backup type1. Follow the MySQL server status
Cold Offline backup, read and write operations are aborted
warm can only perform read operations
Hot Read and write operations are not affected
2, according to data consistency
Consistent
Inconsistent
3. Follow the backup data format
logical
1. Enter the Yun Yu virtual machine backup system and select "Backup/Restore"-"virtual machine backup" to create a new backup task.2. Under H3C CAs virtualization type tick the virtual machine that you want to back up, the selected virtual machine appears under selected virtual machine, scroll to the bottom of the page
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.