English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux dump-Befehl

Linux Command大全

Der Linux dump-Befehl wird zum Sichern des Dateisystems verwendet.

dump ist ein Backup-Tool, das Verzeichnisse oder das gesamte Dateisystem auf ein bestimmtes Gerät oder in eine große Datei sichern kann.

语法

dump [-cnu][-0123456789][-b <block size>][-B <block number>][-d <density>][-f <device name>][-h <level>][-s <magnetic tape length>][-T <date>][Directory or Filesystem] Or dump [-wW]

Parameters:

  • -0123456789  Backup level.
  • -b<block size> Specify the size of the block, in KB.
  • -B<block number> Specify the number of blocks in the backup volume.
  • -c Modify the default density and capacity of the backup magnetic tape.
  • -d<density> Set the density of the magnetic tape. Unit is BPI.
  • -f<device name> Specify the backup device.
  • -h<level> When the backup level is equal to or greater than the specified level, files marked as "nodump" by users will not be backed up.
  • -n When the backup job requires administrator intervention, notify all users in the "operator" group.
  • -s<magnetic tape length> Specify the length of the backup magnetic tape, in feet.
  • -T<date> Specify the start time and date of the backup.
  • -u After the backup is complete, in/etc/dumpdates records the backed up filesystem, level, date, and time, etc.
  • -w Similar to-W similar, but only show the files to be backed up.
  • -W Show the files to be backed up and their last backup level, time, and date.

Online Examples

Backup files to tape

# dump -0 -u /dev/tape /home/

Among them"-0"parameter specifies the backup level"-u"After the backup is complete, store the corresponding information in a file" /etc/dumpdates for record keeping

Linux Command大全