Linux Backup Recovery Method-general Linux technology-Linux technology and application information. For details, refer to the following section. If your Linux system fails, but tar and gzip can still be used, you can use those backups to restore the system.
Start
Mapping forAn inodepunch, truncate Punch (or truncate) blocks fromAn inode by deallocating themsymlink Create a symbolic linkimap Calculate the lo Cation of an inodedump_unused Dump unused blocksset_current_time Set current time to use when setting FileSystem Fieldssupported_features Print features supported by Thisversion of E2FSPROGSDUMP_MMP Dump MMP Informationset_mmp_value, SMMP Set MMP Valueextent_open, E o Open inode forextent Manipulationzap_block, Zap Zap Block:fill with0, pattern, fli
MYSQL backup and recovery in linux (mainly in red) bitsCN.com
Database Backup is very important. if you back up data regularly, you can restore the data to the last normal state in case of a system crash, reducing the number of data backups to a minimum.
I. using Minhang for backup
MySQL provides a mysqldump command, which can be used for Database Backup. let's assume that you have backed up the tm database
Copy the original server's configuration file back to the new server Authz, passwd, svnserver.conf2. Incremental backup#svnadmin dump/svn/svn/app-r 5200:5600--incremental >/svn/svndump/app_56005200 is the latest version at the time of the last full-volume backup, and 5600 is the current latest version.Import: Svnadmin Load/svn/svn/app Svnadmin Hotcopy Method:1. BackupSvnadmin hotcopy/svn/svn/app//data/svn. ' Date +%f:%t '. Bak–clean-logsIf the –clean-logs option is passed, Svnadmin performs a h
A moment of cheap hand, the lib64 directory into a lib64.bak, no matter what commands are reported: Ld-linux-x86-64.so.2:bad ELF interpreter, at this time the system has been unable to do anything, restart will not be the machine. Find several recovery methods:1, there is a CD into the rescue mode, direct MV back can, the most common method2, most of the version has pre-installed busybox can be directly bus
find the file information to restore the data files. Therefore, in the event of accidental deletion, do not worry about three points: calm mind, application disconnection, and on-site maintenance. However, in practice, this fast recovery technology is not successful. To restore data using file descriptors, you must not close the database or automatically remove data files from database processes. This article starts with two experiments to introduce
Phase III
Kernel kernel to perform/sbin/init, you must be able to access the root file system first, because under Linux, the FileSystem starts with the root/directory, which is the root filesystem rootfs
Linux is a single-core architecture
The kernel itself is as small as possible, because the kernel is resident memory, and the kernel needs to support as many types of hardware as pos
The most important thing in a Linux system is the root password, as long as you know the root password, you have all the permissions, and even kill yourself.For normal users, root can directly modify the gas password, usually passwd username[Email protected]# passwd usernameenter new unix password:retype new UNIX Password:passwd:password updated successfullyThen the root password to forget, nor is there no way, is to find more trouble.You first have t
In linux, the Web server backup and recovery script can be used in both centos and freebsd, but the variable TAR in the script to be modified is the tar command path of the system. The script is as follows:
In linux, the Web server backup and recovery script can be used in both centos and freebsd, but the variable TAR
The use of Linux is inevitably encountered in the case of accidental deletion of files, using Extundlete can be used to recover the accidental deletion of files Note the operation Flow: 1. Install Linux data recovery software extundelete needs to depend on two packages
sudo aptitude install e2fsprogs E2fslibs-dev
download Page http://extundel
Backup and Recovery
For example, we want to back up the MySQL already exists in the database named Linux, to use the command mysqldump
The command format is as follows:
[Root@linuxsir01 root]# mysqldump-u root-p linux >/root/linux.sqlEnter Password: Enter the password for the database here
For example, the AAA library created by the previous example is backed
The Linux administrator should be clear about the configuration information in grub. conf and can use the CD to enter the linux rescue mode for operations,
/Boot system boot directory and/etc/fstab deleted fault recovery
The/boot directory contains grub. conf and kernel and memory disk files used for system boot. deletion of this directory usually causes the grub
15th talk about start-up management the.1Centos6. x Start Management//refer to 6.3 here15.1.1system Run Level1operating level runlevel meaning0turn off the machine1Single-user mode, which can be imagined as a safe mode for Windows, primarily for system repair//Linux has a different security model2Incomplete command-line mode with no NFS service//file sharing between Nfs,linux3Full command-line mode, which is the standard character interface//is what w
Number 23rd received a customer call, the Linux server can not log on, because the server is placed in China Unicom's hosting room, so can not be processed to the scene. After the network detection, the server could not ping, the server network segment gateway can ping. Beginning to think that the server managed room network problems, causing the server can not access, and later use scanning tool to discover that the server IP location Port 21,389,100
Linux fault recovery-general Linux technology-Linux technology and application information. For details, refer to the following section. 1. Solution to forgetting the root password
1. boot to the grub menu, move the cursor to the option to boot, press e, select the kernel option, then press e, add 1 at the end, and
Previously, windows to Linux were migrated using the normal exp and IMP methods. Logical backup is used to migrate data across physical structures and operating systems. SuchI believe many of my friends are doing this.
Today, we have a 50 GB database, which requires a Windows-heavy platform to be migrated to a Linux platform. In the past few days, I have been looking at the physical structure of the data fi
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 the system and various files in time. In fact, it is a good habit for a computer user to
original unchanged working copy file (restores most of the local modifications).RevertUsage: revert PATH ...Note: The notebook command will not access the network and will release the conflicting condition. But it does not restore the deleted directoryThird, Linux SVN backup and recovery1, full-scale backup:Curr= ' Svnlook youngest/data/svn/project/' #此处是查询工程目录的最新版本Svnadmin dump/data/svn/repos/test--revision 0: $cur--incremental >0-"$curr" Svn.bakEch
://s3.51cto.com/wyfs02/M00/6C/60/ Wkiol1virm2ybt2naaavxja4xga500.jpg "alt=" Wkiol1virm2ybt2naaavxja4xga500.jpg "/>The basic of the following is to press the TAB key and enter OK. There is one exception, however, which is specifically presented below.650) this.width=650; "title=" Picture 8.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/6C/63/ Wkiom1viq12h1vd7aaexrrgr-ye053.jpg "alt=" Wkiom1viq12h1vd7aaexrrgr-ye053.jpg "/>The question here is, is your system going to install a netw
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.