Common Linux commands (backup and compression)-General Linux technology-Linux technology and application information. For details, refer to the following section. Tar command
Tar can create files and directories. Using tar, you can create a file (backup file) for a specific
Note: Gitlab is a git service program that has a Web graphical interface and a range of management tools, specifically detailed to Google it.This can be said to be the last "Linux shell script Atlassian Confluence Remote backup method" of the sister article. Its description and principle are the same as the previous one, and its core principles are cores dump, SC
the entire system for one weeks or one months. If you have critical files, you should have a plan to copy these files to a removable disk.Before backing up, be sure to set up the backup device correctly. Most tape backup systems can be found to be correct when they are installed. After the system starts, open a terminal window and enter the following command: $dmeg lessScroll through the list and look for
The DD command is a very simple backup tool for Linux distributions. The "DD" tool simply copies the standard input to the standard output and reads in 512-byte blocks.The DD command is a very simple backup tool for Linux distributions. The "DD" tool simply copies the standard input to the standard output and reads in
Although Linux is a highly reliable operating system, security issues are prominent in today's complex internet environments. As a system administrator, system backup is the primary issue, the safest backup method is to store data in different media in linux systems, such as tapes, hard disks, and writable DVDs.. Then,
1,DD operation is a simple copy by byte, what partition table Ah, MBR (master boot record) Ah all copy;1. Disk CloningThat is to copy the entire hard drive. Of course you first need to pick up a new hard drive on your computer and let the system recognize it. For example, the hard drive may be recognized as/DEV/SDB, and the original hard
box, specify the storage path of the backup file and click "OK" to back up the configuration information.
If the DHCP configuration information is damaged and needs to be restored, right-click the "DHCP server name" option and select "Restore" in the pop-up menu to specify the path of the backup file, after you click "OK", the system will stop the DHCP service and restart the service to restore the DHCP co
directory, that is, copy to the/DEV/SDB1 partition on the mounted mobile hard diskUMOUNT/DEV/SDB1 or UMOUNT/MNT/USB1//uninstall mounted removable driveMount the removable hard drive automatically on the boot----Edit/etc/fstabCp/etc/fstab/etc/fstabbak//edit before the backup, develop this good habit.Vi/etc/fstab//Edit the file, add the following information at the end of the file, and press G (SHIFT+G) at t
RAID5 disk array technology requires at least 3 disks to do, plus 1 backup disks (this hard drive device is usually idle, and will automatically be replaced if there is a hard drive in the RAID array group), a total of 4 hard disk devices that need to be emulated into the virtual machine.[[emailprotected] ~]# fdisk-ldisk/dev/sdb:2147 MB, 2147483648 bytes, 4194304
ISO file to the USB flash drive, I guess it may be some old motherboard do not know the USB flash drive Uefi mode boot, production reference: http://www.cnblogs.com/EasonJim/p/7616673.htmlReference:http://forum.ubuntu.org.cn/viewtopic.php?p=2643583Http://www.linuxidc.com/Linux/2014-09/107117.htmHttp://www.linuxidc.com/Linux
protected] ~]# CPIO-ICDVT # in the first action, the files in the tape drive will be listed on the screen, and we can go through the second action,# Record all the file names to the/tmp/content files!Example three: Restore the data on the tape back ~[Email protected] ~]# Cpio-icduv # in general, use a SCSI interface tape drive, code is/DEV/ST0 Oh!Example four: Back up all "files" under/etc to/root/etc.cpio
Fix for Linux file system error Ddrescue replace DD Recovery software backup Super blockA recently processed Linux server power outage causes the file system to not read and write, the data is not availableExample, now summarizes the Linux file system error repair method.EXT3-FS error (device Hda3) in Start_transaction
backup. Of course, Linux needs to activate Sam, and a maximum of A-Z, up to 21 backups, but also worry about the ing network drive to frequent disconnection, there is a backup server every restart, you must re-enter the user name and password for the above ing.
In fact, there is an easy-to-use tool named CuteFTP in wi
1. Creation of two directoriesCd/mntmkdir ISOmkdir CDROMDescription:/mnt/iso for storing ISO image,/mnt/cdrom for Mount point2. Copy the ISO image file to the/mnt/iso directory3. MountingMount-o Loop/mnt/iso/redhat_xxxxx.iso/mnt/cdrom4. Edit the configuration file of the local Yum sourcecd/etc/yum.repos.d/First, the original files in the directory backup, and then do the operation.To edit your own configuration file:VI Base.repo[Server]Name=serverBase
, according to the need to select the string to send, that is, as needed to specify the command you want to input on the switch. Of course there are not only backups, like the Reload/switchport mode trunk can be done.4, as to how to build an FTP server, how to use expect more deeply, please Baidu or Google yourself.The next thing we do is create a crontab to automate the task[Email protected] ~]# CRONTAB-E* * * * */home/expect/tel104.exp//1:0, daily M
The UNIX system records these three different times for each file, the first one is mtime, that is, the modification time. Whenever the contents of a file are changed, the value of the Mtime is modified accordingly. The second one is Atime, which is the access time. As long as the file is accessed (for example, run or read), it is modified. The third is CTime, which is the change time. When a file's properties change (such as changing permissions or all relationships), the value of the CTime is
source directory#restore-R-f/root/boot.bak1.bz2 (restores the data for incremental backupsThird, Backup tool: DD#dd if= input file of= output file bs= number of data block count=If (the file that defines the input data, it can also be an input deviceof (the file that defines the output data, can also be an output deviceBS (defines the size of a data block, the number of bytes read or written by a cool, default 512byteCount (Specify the number of BSEx
System backup is a very important part of system management, this paper introduces the backup methods of various Linux systems in detail, and it is believed to be helpful to the daily management of our work.Backup is an important task, but many people do not. Once the data is lost due to improper use, backup becomes a
For some reason, we may need to reinstall the system. Generally, the downloaded ISO image file is installed, so there will be a lot of updates.
For a system that has just been installed, we will always be prompted to download updates. Although hundreds of M of updates are not very large, if the network speed is not good (for example, I used six or seven hours to download updates), the updates will be downloaded online each time, it takes a lot of time.
Back up data directly.
Generally, sys
Linux backup and compression tool tar instructions-general Linux technology-Linux technology and application information, the following is a detailed description. Because tar is very useful and has many other functions besides backup, we will comment on it here. For more det
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.