where you think it's safe.At the end of the backup command you may see a hint: ' Tar:error exit delayed from previous errors ', in most cases you can ignore it.You can also use BZIP2 to compress files, BZIP2 is higher than gzip compression rate, but slower. If the compression ratio is important to you, then you should use BZIP2, "J" instead of "Z" in the command, and give the file a correct extension "bz2". The complete command is as follows:# tar CVPJF backup.tar.bz2–exclude=/proc–exclude=/los
Label:Reprinted from Http://blog.chinaunix.net/uid-20577907-id-161611.html For example, we want to back up a database named Linux that already exists in MySQL, using the command mysqldumpThe command format is as follows:[Email protected] root]# mysqldump-u root-p linux >/root/linux.sqlEnter Password: Enter the password for the database hereThrough the above command, we have to understand two things, first b
installed Linux system, it is not necessary to back up/dev.
The other directories contain system files and installed packages. In a server environment, much of this information is not customized. Most customizations occur in the/etc and/home directories. However, for completeness, you might want to back them up.In a production environment, I wanted to make sure that the data was not lost, so I backed
]
parameters
Description
-0123456789
the level of backup, 0 means all backups, others represent incremental backups, for the last lower level, Back up the file system only modified or new file default 9
-D
Set the density unit of the tape to BPI
-j
Compress write, specify compression level such as 2
eSTORE[ function Description ]Recovering a f
ObjectiveAs a multi-user, multi-tasking operating system, the files under Linux are hard to recover once they are deleted. Although the delete command only deletes the file nodes, it does not really erase the contents of the file, but other users and some processes that have write actions will soon overwrite the data. However, for home use of Linux, or mistakenly
;Command after prompt is sh-4.1#LS is displayed as the root directory of the file;650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7E/F9/wKioL1cOdo-x0p1PAAAuNmWiNvE921.png "title=" 10.png "alt=" Wkiol1codo-x0p1paaaunmwinve921.png "/>10. Here we carry out the ls/mnt/sysimage/etc/passwd-(when the tab is complete, we need to change the passwd-name and use the MV. )650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7E/FC/wKiom1cOdemhnwNaAAASk1bNRDQ421.png "title=" 11.png "alt=" Wki
The complete database file set includes: database startup parameter file, control file, data file, log file. The location and name of the file can be obtained in the following way.parameter File$ORACLE _home/dbs/spfile[$ORACLE _sid].ora$ORACLE _home/dbs/init[$ORACLE _sid].oraIf the init[$ORACLE _sid].ora file does not exist, it can be copied from the $oracle_base/admin/[$ORACLE _sid]/pfile directory and renamed.Control filesSql> Show Parameter Control
Tags: action linu generate additional metadata boot partition server strong work[Data Recovery failure description]A Linux Web server, DELL R200, manages about 50 websites, using a single SATA 160GB HDD. A sudden outage in normal use, the attempt to start again failed to remove the hard drive detects the presence of about 100 bad sectors.After a
Xtrabackup has two main tools: Xtrabackup, Innobackupex
(1) Xtrabackup can only back up InnoDB and xtradb two types of data tables, not backup MyISAM datasheet(2) Innobackupex encapsulates the Xtrabackup, is a script encapsulation, so it can back up the processing InnoDB and MyISAM at the same time, but need to add a read lock when processing MyISAM(3) Xtrabackup 2.1.x version of the support MySQL 5.5 and 5.6 servers,xtrabackup 2.0.x version of the s
First, how to use the "RM-RF" command Under the Linux system, the command "RM-RF" can remove any data directly from the hard drive, without any hint, and Linux does not have the same function as Windows Recycle Bin, which means that the data cannot be recovered by conventional means after deletion. So use this command
according to "File data critical level" or "potential footprint growth of the directory" in the performance optimization, depending on the frequency of read and write, Assigning different storage devices to different directories (e.g. mechanical hard drives or SSD SSDs) when deploying a system cluster, for a static shareable directory, it can be deployed on a certain read-only memory and then mounted by the required machine to avoid unnecessary stora
talk about the first topic: Backup
No matter what method you use, you should back up any irreplaceable data before migration. If you want to convert a document to a new format, retain the original document. If you cannot convert the format correctly, you can retrieve the original document.
Back up documents as much as possible in a format available on any platform and store them on a device that can be read from any platform. In this way, if you want
operating system on an existing computer. If it is a new computer, you can keep things in the old system as they are. If you have to run Linux on a Windows computer, it is necessary to back up all the data before migration.
In this way, we will first talk about the first topic: Backup
No matter what method you use, you should back up any irreplaceable data befor
Here we discuss the backup of the Linux operating system.In the production environment, customers will be required to do a system-wide data backup for a recovery after a system crash. This includes backup recovery of operating system data.As a production environment, customers will require backup uninterrupted business
The five best Linux distributions for restoring computer crash dataGuideHi, new Linux! Have you ever broken down the computer system while trying to run the command? I believe you have had this experience. This often happens: If you want to try to run the command or install and test the new version, the computer will crash during the next restart. In this article, I will introduce five
Linux system through tar, and the entire backup and recovery process is similar to the above.First Linux (here is CentOS) there is a part of the directory is not necessary to back up, such as/proc,/lost+found,/sys,/mnt,/media,/dev,/proc,/tmp, if Backup to tape/dev/st0 do not care so much, Because I am here to back up to the local/backup directory, so also need t
files and directories, such as adding deleted files and directories, tracking symbolic links, and so on. Each inode structure that belongs to the same file system can point to the same inode_operations struct.The inode struct has a pointer to the Super_block struct. The Super_block structure holds information that is read from a super block on a disk partition, such as file system type, block size, and so on. The S_root member of the Super_block struct is a pointer to Dentry, indicating where t
Recover accidentally deleted database data files in Linux using a handleEnvironment: OS: Redhat EnterPrise 5.4DB: Oracle EnterPrise Database 11gR2 (11.2.3.0)
When the database runs normally, the O M personnel accidentally delete some data files. At this time, the Database Administrator does not know that the database runs normally and does not immediately throw
Recover data: Restore deleted files in LinuxRecover data: Restore deleted files in LinuxGuideHave you ever encountered such a thing? When you find out, you have deleted the key or usedThe "rm" command mistakenly deletes an object that should not be deleted.
In the first case, you can go to the garbage bin, search for the file, and restore it to the original location. But what should I do in the second case?
Article Title: repair data on damaged CDs in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
CD and DVD are fragile media that can be scratched at any time. I will share with
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.