Co robi DUMP użycie. Konsola directly, quickly backing up files without affecting file access times.

Czy przydatne?

Polecenie dump

Wykonanie, użycie: System administration command. This simple backup utility accesses ext2 and ext3 file devices directly, quickly backing up files without affecting file access times. files may be specified as a mount point or as a list of files and directories to back up. While you can use this on a mounted system, dump may write corrupted information to the backup when the kernel has written only part of its cached information. Dump maintains a record of which files it has saved in /etc/dumpdates, and will perform incremental backups after creating an initial full backup. Use the restore command to restore a dump backup

Opcje wykonania dump w konsoli

-a

Write until end-of-media. Default behavior when writing to tape drives.

-A file

Create a table of contents for the archive in the specified file.

-bblocksize

Block size in kilobytes to use in dumped records. By default, it is 10, or 32 when dumping to a tape with a density greater than 6250BPI.

-Bblocks

Specify number of blocks to write per volume.

-c

Treat target as a 1700-foot-long cartridge tape drive with 8000 bpi. Override end-of-media detection.

-d density

Specify tape density.

-D file

Write dump information to file instead of /etc/dumpdates.

-E file

Exclude inodes specified in file.

-f files

Write backup volumes to the specified files or devices. Use - to write to standard output. Separate multiple files with a comma. Use host:file or user@host:file to write to a networked host using either the rmt program or the program specified by the RMT environment variable.

-F script

Run script at the end of each volume other than the last. dump will pass the current device and volume number to the script. The script should return 0 to continue, 1 to prompt for a new tape, or any other exit value to abort the dump. The script will run with the processes real user and group ID.

-i inodes

Specify a comma-separated list of inodes to skip.

-I n

Ignore the first n read errors. dump ignores 32 read errors by default. Specify 0 to ignore all errors. You may need to do this when dumping a mounted filesystem.

-j[level]

Compress each block using the bzlib library at the specified compression level. By default dump uses level 2 compression.

-k

Use Kerberos authentication when writing to a remote system.

-L label

Write the specified volume label into the dump header.

-m

Save only metadata when backing up changed but not modified files.

-M

Create a multivolume backup. Treat any filename provided with -f as a prefix.

-n

Use wall to notify members of group operator when prompting for information.

-q

Abort the backup instead of prompting for information when operator input is required.

-Q file

Create Quick Access information in the specified file for use by restore.

-s n

Write only n feet of tape in a single volume. Prompt for a new tape upon reaching this limit.

-S

Calculate and print the amount of space required to perform the backup, then exit.

-T date

Only back up files changed or modified since date. This overrides the time given in /etc/dumpdates.

-u

Update /etc/dumpdates after completing the backup.

-v

Print verbose information about the dump.

-W

Generate a report on the backup status of all filesystems based on information in /etc/dumpdates and/etc/fstab.

-W

Generate a report of filesystems that need to be backed up. Only report on filesystems listed in /etc/fstab and /etc/mtab that need to be backed up.

-y

Compress each block using the lzo library.

-z[level]

Compress each block using the zlib library. If provided, use the specified compression level. The default is 2.

Przykłady dump działanie w Słownik polecenie D

Przykład DUMP użycie :
Jak użyć used to query DNS servers; it is more flexible than the deprecated nslookup command. When invoked with just the -h option, it displays a list of options for the command. If you use it without any co znaczy.
Przykład DUMP użycie :
Jak użyć date and time. You may specify a display format . format can consist of literal text strings (blanks must be quoted) as well as field descriptors, whose values will appear as described in the krzyżówka.
Przykład DUMP użycie :
Jak użyć excluding the last level. Useful for stripping the actual filename from a pathname. If there are no slashes (no directory levels) in pathname , dirname prints . to indicate the current directory. See co to jest.
Przykład DUMP użycie :
Jak użyć contents. dir is equivalent to the command ls -C -b (list files in columns, sorted vertically, special characters escaped), and it takes the same arguments as ls . This is an alternate invocation of słownik.
Przykład DUMP użycie :
Jak użyć and report the differences. No more than one of the files may be given as - (indicating that it is to be read from standard input). The output is displayed with the following codes: = = = = All czym jest.