5./usr/local (or /opt and /srv, etc.)
6./var (Note: If there are some temporary directories in this directory, you can not back up)
Directory that does not need to be backed up
1./dev
2./proc
3./mnt and /media
4./tmp
Select Backup Device
Storage Device Considerations
Backup Speed Requirements: Think Hard Disk Usage
Storage Capacity : Tape backup considerations
Funding and data reliability: DVD usage can be saved for about 10 years
Some common device code:
Optical drive: /dev/cdrom (In fact, it should be /dev/sdX or /Dev/hdX)
Tape drive: /dev/st0 (SCSI interface), /dev/ht0 (IDE interface)
Floppy drive: /dev/fd0, /dev/fd1
Hard disk: /dev/Hd[ad][1-16] (IDE), /dev/sd[ap][1-16] (SCSI/SATA)
Mobile Hard Disk: /dev/sd[ap][1-16] (with SCSI is the same)
Printer: /dev/lp[0-2]
Backup type, frequency and tool selection
Backup method:
1. Incremental backup
2. Difference Backup
Incremental backup of full backup
After a period of operation, compare the difference between the
system and the backup file, and then back up the files with different differences.
Backup Software for Incremental Backup
Common tools for full backup are: dd, cpio, dupm/restore
Direct incremental backup command: dupm
dd if=/dev/sda of =/dev/sdb
find /-print |
cpio -covB & gt; /dev /st0
cpio -iduv & lt; /dev /st0
1. full backup
dump -0u -f /backupdata/home.dump /home
2. Incremental backup for the first time
dump -1u -f /backupdata/home.dump.1 /home
tar -exclude /proc --exclude /mnt --exclude /tmp
--exclude /backupdata -jcvp -f /backupdata/sys.tar.bz2
Differential backup for full backups
Differential backup values are: each backup is the same as the original full backup Comparison result
tar -N '2009-06-01' -jpcv -f /backupdata/home.tar.bz2 /home
rsync -av source directory target directory
rsync -av /home /backupdata/(Mirror /home/to /backupdata/home/)
rsync -av /home /backupdata/(It will be much faster, if the data has not changed, almost no operation will be done)
Key data backup
tar -jpc Vf mysql.`date +%Y-%m-%d`.tar.bz3 /var/lib.mysql
There are five basic ways to dissipate a blade server. Once one of these methods is selected
Experimental Line Connection Diagram: DCRS-5526S Configuration: Assume that the name of the DHCP ad
I. Introduction to DHCP: The full name of DHCP is the Dynamic Host Configuration Protocol (Dynamic H
Reducing keyboard input can greatly improve the productivity of programmers. The use of sho
The server must know a few knowledge
Server common fault causes and troubleshooting
Monitor Windows server CPU utilization using Nagios
Brief introduction to server performance testing tools
Solve Windows login performance issues in Active Directory environment
Four Considerations for Performing Windows Desktop Auditing
IIS installation and can not run iis solution
Five ways to cool the blade server
CentOS supports Chinese and ssh support for Chinese input modification
Did not insert the u disk but showed safe removal of hardware and pop-up media solution
Win10 preview version of Build 9860 once again enhances the touch experience
CF treasure box is definitely not lost to the event website share
How to view the network status through the Task Manager window in win8 system
Windows 8 improved screen keyboard optimization
There is no start menu Win8 system how to shut down
Winxp input method icon is gone. Winxp input method icon retrieval method
Using Win8's own drawing tools to insert text into digital photos
19 years! Microsoft's Tuesday patch finally fills in Windows 95 vulnerability