Linux background program running and recovery-general Linux technology-Linux programming and kernel information. The following is a detailed description. This article from "constantly pursuing perfection" blog, please be sure to keep this source http://hhlenglish.blog.51cto.com/151687/95604
1. Two commands running in t
For any computer user, data may be lost due to sudden system failures or sudden power outages during normal operation. We always regret failing to back up the system and various files in time. In fact, a computer user often focuses on... information nbs.
For any computer user, data may be lost due to sudden system failures or sudden power outages during normal operation. We always regret failing to back up
First, it is the first step to build an experimental environment before doing the experiment, and the next is to do the experiment.The following is my experimental environment: prepare a virtual machine with a Linux system (I use the Linux6 version of the virtual machine), and the system to have two disks, that is to add a disk. The newly added disk will be partitioned and formatted before the MBR sector failure can be simulated. However, before you p
directly to the database directoryStop the MySQL service before execution and restart the MySQL service after copying.Disadvantage: The InnoDB engine table is not supported.Quick recovery with MysqlhotcopyCopy the mysqlhotcopy exported data to the MySQL database file directory and restart the MySQL service. You need to specify the owner of the database file in Linux
After the IP address is bound, The hostname of Linux I changed back to Localhost.localdomain, after the restart is to become 237.99.135.219.broad.fs.gd.dynamic.163data.com.cn this string of ghosts, 650) this.width=650; "Src=" http://s4.51cto.com/wyfs02/M02/85/FE/wKiom1exqtTSzXcmAAA_2hBghpo337.png-wh_500x0-wm_3-wmp _4-s_977616473.png "title=" 12.png "alt=" Wkiom1exqttszxcmaaa_2hbghpo337.png-wh_50 "/>After a lot of
[Data recovery failure description]
A Web server, brand for assembly, the use of Tyan (Taian) motherboard, AMD cpu*4, 4 pieces of 68-pin SCSI hard disk RAID0 composed of storage system (heard 2007 years spent 50,000 yuan to buy, and the use of RAID0, this professional degree is really not flattering).
Operating system for Linux, important
collapsed!!! 650) this.width=650; "src=" Http://img.baidu.com/hi/face/i_f06.gif "alt=" I_f06.gif "/>650" this.width=650; " Src= "Http://img.baidu.com/hi/face/i_f06.gif" alt= "I_f06.gif"/>650) this.width=650; src= http://img.baidu.com/ Hi/face/i_f06.gif "alt=" I_f06.gif "/>ERROR 1290 (HY000): The MySQL server is running with the--skip-grant-tables option so it cannot execute this statementAnd then I tried to flush the privileges a bit,mysql> flush Privileges; Query OK, 0 rows affected (0.01 sec
This article describes how to use backup scripts and commands and commercially available software to protect disk data securely and efficiently in a Linux environment.
The backup and recovery system assumes the function of ex ante backup and afterwards recovery. In the current high-speed development of the network env
a disk image file, you perform compression:dd if=/dev/sda | gzip > disk.img.gzdd if=/dev/sda | bzip2 > disk.img.bz2That's good! Ghost has all the features.2. Partition cloningIf we don't want to clone the entire disk and just want to back up some of the partitions that hold the data, you'll need to clone a partition. As stated in the preliminary knowledge, partitioning is also a file under Linux. For examp
A system environment:1. Operating system: Oracle Linux 5.62, database: Oracle 11g two Oracle redo log: [Simulated media recovery]1. Turn off database archiving mode: [[emailprotected] ~]$ sqlplus/nologsql*plus:release 11.2.0.1.0 Production on Mon Feb 6 23:49:30 2017Copy Right (c) 1982, Oracle. All rights reserved. Sql> Conn/as sysdbaconnected.sql> show Useruser is "SYS" sql> shutdown immediatedatabase clos
) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/76/AA/wKioL1ZYaVXxz8oyAAANSDJWszI431.png "/>5 to the entire SDB1 partition into the backup650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/76/AA/wKiom1ZYaPbDKyJNAAHvj70MNK8737.png "/>650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/76/AA/wKioL1ZYaVeRW6VDAAD2CpOlctc483.png "/>6 backup for the specified file or directory650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/76/AA/wKiom1ZYaPjw0cG3AAHdkH4zvYA942.png "/>7
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/89/1C/wKioL1gIW4GwRS7qAANbvDMbDGY282.jpg-wh_500x0-wm_3 -wmp_4-s_1635583535.jpg "title=" Linux mistakenly deleted, formatted. jpg "alt=" wkiol1giw4gwrs7qaanbvdmbdgy282.jpg-wh_50 "/>I. General: Based on Linux system, delete data and formatted data
: Back up the newly generated data since the last backupCommon backup methods at work: Full backup + incremental backupFull backup:[[Email protected] Desktop]# mysqldump-uroot-p123456 database name > directory/xxx. SqlHow the database name is represented:--all-databases backing up all data on the database serverDatabase name backs up all data for a library on the
information has also been corrupted.
Third, when the LVM structure is corrupted, the backup information is also damaged (for 1, 6 of common failures):
This is the real technical problem, when the LVM structure and its backup information is corrupted, all the LV Fragment index information is all lost, the work to do is to retrieve the LV extents information for each VDI.
Xen VDI is based on the VHD format developed jointly by Connectix and Microsoft, typically with a streamlined growth model
logical volumesLvcreate-n mydata-l 5G MYVG5 Formatting logical VolumesMkfs.ext4/dev/mapper/myvg-mydata6 Mounting Logical volumesMount/dev/mapper/myvg-mydata/lvm_data7 Modify the MySQL configuration file to make the data file Datadir=/lvm_data on the logical volume8 Restart MARIADB Service9 Creating a database to operateMysqlCreate Database Qiangge;Use Qiangge;CREATE table six (ID int,name char (20));INSERT into six values (1, ' Six '), (2, ' sixsix '
Git is currently a popular distributed project versioning system, compared to SVN has a great advantage, yesterday was thinking that you should make good use of git, so I think you can use git version fallback, etc. to do a simple project automatic backup and recovery functions. This allows you to use GIT to do project versioning and to use Git as a backup. This makes it easy to migrate, back up, and so on.Features and implementations are really simpl
. For example, Linux installation does not partition the entire load/below, it is very troublesome./data hung on the/dev/sdb1.[email protected] sh]# mount/DEV/SDB1 on/data type EXT4 (rw)[Email protected] hadoop]# mount-r-n-o remount/dataMount:/data is busyThis will need to see what processes are in use:[Email protected
Linux operation and Maintenance Phase II (14) Backup and recoveryOne, 1,Linux system Important data:/root/,/home/,/etc/,/var/spool/mail/,/boot/,/var/lib/mysqlApache Backup data:/etc/httpd/conf/httpd.conf,/var/www/html/,/varlog/httpd, the above rpm Package installation method of important
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.