PDA

View Full Version : dump e check in fstab


PiloZ
19-09-2004, 09:16
Qualcuno saprebbe spiegarmi cosa fa in termini pratici il dump sul fstab?

0/1/2 backup... sarebbe a dire?
ho fatto delle ricerche ma non trovo niente di pratico.

tnx

ThePapri
19-09-2004, 09:27
Originariamente inviato da PiloZ
Qualcuno saprebbe spiegarmi cosa fa in termini pratici il dump sul fstab?

0/1/2 backup... sarebbe a dire?
ho fatto delle ricerche ma non trovo niente di pratico.

tnx

$ man fstab
[...]
The fifth field, (fs_freq), is used for these filesystems by the
dump(8) command to determine which filesystems need to be dumped. If
the fifth field is not present, a value of zero is returned and dump
will assume that the filesystem does not need to be dumped.
[...]

$ man 8 dump
o se non hai installato dump ed hai una Debian
$ apt-cache show dump
Description: 4.4bsd dump and restore for ext2 filesystems
Dump examines files on a filesystem and determines which files need to be
backed up. These files are copied to the given disk, tape or other storage
medium for safe keeping.
.
The restore command performs the inverse function of dump. A full backup of
a file system may be restored and subsequent incremental backups layered on
top of it. Single files and directory subtrees may be restored from full or
partial backups.

ThePapri

PiloZ
19-09-2004, 09:34
tnx
ieri ho provato man fstab ma non trovavo niente in merito al dump

/dev/hdc7 / ext3 defaults 1 1

la mia root come penso anche la vostra fa dump ma dove?..non mi accorgo proprio di niente, all'avvio? :muro: :confused:

ThePapri
19-09-2004, 13:47
Originariamente inviato da PiloZ
tnx
ieri ho provato man fstab ma non trovavo niente in merito al dump

/dev/hdc7 / ext3 defaults 1 1

la mia root come penso anche la vostra fa dump ma dove?..non mi accorgo proprio di niente, all'avvio? :muro: :confused:

normalmente è settato per tutto a 0, se è settato a 1 penso occorra anche configurare dump affinché faccia il backup indicando quando e dove farlo