1. Software Requirement:1.1.mirror.bat, Mirror_service_begin, Mirror_service_end, Robocopy.exe1.2. Copy Robocopy.exe to C:\WINDOWS\system322. System Region Option:Setting "Date"--short date Format:yyyy-mm--dd3.MAP Network driver:net use Z: \\192.168.13.105\Java Ab123456 (Password)/user:administrator4.Create Windows Script:autobackup.bat@ echo offCD \E:CD "E:\Monthly full Backup"mkdir "%date%"Robocopy z:\Jav
Oracle automatic backup script and Oracle backup script
If you don't talk much about it, paste the Code directly. The specific code is as follows:
#! /Bin/sh #*********************************** * ****************************** # File: oraclebak. sh # Creation Date: 17:57:32 # Last Modified: 17:57:34 #
One, separate backup1. Classic backup of the whole library: backup as compressed backupset database include current controlfile plus archivelog Delete all input;2, tablespace:backup tablespace name;3, Data files: Backup datafile N; (N: Specific data file number select File_name,file_id,tablespace_name from Dba_data_files;)4, Control files:
Share a MySQL database shard backup script (original) and a mysql database shard backup script
Share a MySQL database shard backup script (original)
Development ideas:
1. path: Specify the bac
I have always wanted to share with you my experiences and experiences on how to automate O M of business systems in windows, but I have never been able to do so due to time and work. Now we have posted a simple automated and timed script for online hot-standby db2 data to learn and make progress together. @ Echo offREM Create by fengzhanhai on 2010.12.23 Used by backup database db2REM --- tasks: Run at 24
Simple Mysql backup BAT script sharing in Windows and mysql backup bat script
Preface
This document describes a simple BAT script for Mysql backup in Windows.MysqldumpCommand to back up a specified Mysql database to a file in th
Mysql daily backup and incremental backup script bitsCN.com
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
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
Xtrabackup automatic backup script and xtrabackup script
# Backup. sh #! /Bin/sh # on xtrabackup 2.2.8 # When you execute it for the first time, it will check whether there is a full backup. Otherwise, create a full database backup
Preparations: lftp must be installed in VPS in advance. lftp is powerful. CentOS directly executes: yuminstalllftp and Debian execute: apt-getinstalllftp. You need to create the/home/backup/directory on VPS and the backup directory on FTP. If there are not many VPS databases, you can use Godaddy free space (10 GB space, 300
Preparations:
Lftp needs to be installed in VPS in advance. lftp is powerful and can
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
: bakwww.sh file must have the permission to execute!LINUX Automatic backup script filesFirst I set up a folder under the/root/backup directory,#mkdir/root/backup/mysqlbackupLater at five o'clock every day, there will be a file saved here.Then create a new file#vim/root/mysqlautobakInput:Filename= ' Date +%y%m%d 'mysql
Tags: blank database target MySQL periodichttp://hongge.blog.51cto.com/ Backups of MySQL databases in a production environment are recurring operations, so it is common to write script implementations that periodically execute backup scripts through Crond scheduled tasks mysqldump Backup scenarios: Sunday 1 o'clock in the morning full-Library
MySQL backup script and mysql script. MySQL backup script, mysql script mysqlbackup. php :? Php backup mysqlset_time_limit (0); date_default_timezone_set (PRC); configuration $ configsa
MySQL backup script, MySQL script
mysqlbackup.php:
Php//backup MySQL Set_time_limit(0); Date_default_timezone_set (' PRC '); //Configuration $configs=Array( ' Host1 ' =Array( ' localhost ', ' root ', ' root ',Array(),//back up all databases as empty, or back up those databases' D:/xampp/m
Mysql backup policies can be divided into four types:
1) directly copy database files (not recommended)
2) use mysqlhotcopy to back up the database
3) Use mysqldump to back up the database
4) use the master-slave replication mechanism (for real-time database backup)
Mysqldump is widely used and easy to operate. The following describes the mysqldump backup policy.
Mysql backup script and delete the backup file bitsCN.com from the previous five days
USER = root # Database username
PASSWORD = cucrzmysql # database user PASSWORD
# DATABASE = idssr # DATABASE name
For DATABASE in 'ls/mysql/data/mysql/| grep idss' # DATABASE name
Do
# WEBMASTER = 849699940@qq.com # administrator email address to send
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.