Dump
Feature Description: back up the file system.
syntax:dump [-cnu][-0123456789][-b < chunk size >][-b < number of blocks >][-d < density >][-f < device name >][-h < level > ][-s < Tape length >][-t < date >][directory or file system] or dump [-WW]
add:dump is a backup utility that backs up a directory or entire file system to a specified device, or back up to a large file. parameters: -0123456789 levels of backup. -b< Chunk Size > The size of the specified chunk, in kilobytes. Number of-b< blocks > Specifies the number of chunks in the backup volume. -C Modify the density and capacity of the backup tape preset. -d< density > Set the density of the tape. Unit is BPI. -f< Device name > Specify backup device. -h< level > Files marked as "Nodump" will not be backed up when the backup level equals or rains the specified level. -N notifies all users in the "operator" group when the backup job requires an administrator to intervene. -s< length of tape > Backup tape in feet. -t< date > Specify the time and date to start the backup. -U After the backup is completed, the backup file system, hierarchy, date and time are recorded in the/etc/dumpdates. -W is similar to-w but displays only the files that need to be backed up. -W Displays the level, time, and date of the file that needs to be backed up and its last backup.
CentOS, unable to find dump, and restore command: command not found
RT, which dump could not be found. Is it not installed? Operating environment VMware
------Solution--------------------[[[email protected] packages]# which Dump/usr/bin/which:no dump in (/usr/lib/ Qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) [[email protected] packages]# which Restore/usr/bin/which:no restore in (/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin :/usr/sbin:/usr/bin:/root/bin) [[email protected] packages]# RPM-UVH dump-0.4-0.5.b42.el6.i686.rpm Warning:dump-0.4-0.5.b42.el6.i686.rpm:header V3 rsa/sha256 Signature, key ID fd431d51:nokey error:failed dependencies: RMT is needed by dump-1:0.4-0.5.b42.el6.i686 [[email protected] packages]# ls *rmt* rmt-0.4-0.5.b42.el6.i686.rpm [[ Email protected] packages]# RPM-UVH rmt-0.4-0.5.b42.el6.i686.rpm warning:rmt-0.4-0.5.b42.el6.i686.rpm: Header V3 rsa/sha256 Signature, key ID fd431d51:nokey Preparing ... ########################################### [100%] 1: RMT ########################################### [100%] [[Email proTected] packages]# rpm-uvh dump-0.4-0.5.b42.el6.i686.rpm warning:dump-0.4-0.5.b42.el6.i686.rpm:header V3 RSA/ SHA256 Signature, key ID fd431d51:nokey Preparing ... ########################################### [100%] 1:dump ######## ################################### [100%] [[email protected] packages]# which dump/sbin/dump [[email Protected] packages]# which restore/sbin/restore [[email protected] packages]#------Solution--------------------
Python Code
$ yum list|grep dumpdump.x86_64 0.4b41-4.el5 installedtcpdump.x86_64 14:3.9.4-15.el5 installedbluez-hcidump.x86_64 1.32-1 base dump.x86_64 0.4b41-5.el5 base System-config-kdump.noarch 1.0.14-4.el5 base xfsdump.x86_64 2.2.46-1.el5.centos Extras $ yum list |grep rmtrmt.x86_64 0.4b41-4.el5 installedrmt.x86_64
Go: CentOS, unable to find dump command: Command not found