Linux dump Command | Rookie Tutorial
Rookie Tutorial -- Learning is not just about technology, but also about dreams!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
Linux Tutorial
Linux TutorialLinux IntroductionLinux InstallationLinux Cloud ServerInstall Linux on WSLLinux System Boot ProcessLinux System Directory StructureSolution for Linux Password ForgetfulnessLinux Remote LoginLinux File Basic AttributesLinux File and Directory ManagementLinux User and User Group ManagementLinux Disk ManagementLinux vi/vimLinux yum CommandLinux apt Command
Shell Tutorial
Shell TutorialShell VariablesShell Passing ArgumentsShell ArraysShell OperatorsShell echo CommandShell printf CommandShell test CommandShell Flow ControlShell FunctionsShell Input/Output RedirectionShell File Inclusion
Linux Reference Manual
Linux Command ManualNginx Installation and ConfigurationMySQL Installation and ConfigurationLinux Quiz
Nginx Installation and Configuration
Deep Dive
Scripting
Computer Science
Programming Languages
Network Design and Development
Web Services
Software
Scripting Languages
Programming
Development Tools
Network Services
Linux dump Command
The Linux dump command is used to back up file systems.
dump is a backup utility program that can back up directories or entire file systems to a specified device, or back them up into a large file.
Syntax
dump or dump
Parameters:
- -0123456789 Backup level.
- -b Specify the block size in KB.
- -B Specify the number of blocks for the backup volume.
- -c Modify the default density and capacity of the backup tape.
- -d Set the tape density in BPI.
- -f Specify the backup device.
- -h When the backup level is equal to or greater than the specified level, files marked as "nodump" by the user will not be backed up.
- -n Notify all users in the "operator" group when the backup job requires administrator intervention.
- -s Length of the backup tape in feet.
- -T Specify the start date and time for the backup.
- -u After backup, record the backup file system, level, date, and time in /etc/dumpdates.
- -w Similar to -W, but only displays files that need to be backed up.
- -W Display files that need to be backed up and their last backup level, time, and date.
Examples
Back up files to tape
# dump -0 -u /dev/tape /home/
The "-0" parameter specifies the backup level, and "-u" requires that after backup, the corresponding information is stored in the file /etc/dumpdates for records.
YouTip