diff options
author | mckusick <mckusick@FreeBSD.org> | 2002-12-03 18:21:09 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2002-12-03 18:21:09 +0000 |
commit | ea268a7016db23d1e0fa7017ef98351925280ce7 (patch) | |
tree | 0655dd490c2c2d713a0dd9193ee574dfe7c3b405 /sbin/dump/dump.8 | |
parent | 6822be5fe2bf90a5a45f1d01377d882248fde1f3 (diff) | |
download | FreeBSD-src-ea268a7016db23d1e0fa7017ef98351925280ce7.zip FreeBSD-src-ea268a7016db23d1e0fa7017ef98351925280ce7.tar.gz |
Add the `L' option to dump to notify it that it is dumping a
live filesystem. To obtain a consistent dump image, dump takes
a snapshot of the filesystem and then does a dump of the snapshot.
The snapshot is removed when the dump is complete.
Also add an operator warning that the `L' option should be used
if dump is run on a live filesystem without the `L' option being
specified. The alternative would be to silently use a snapshot
any time that a live filesystem is dumped, but this change in
dump semantics seemed too drastic at this time.
Sponsored by: DARPA & NAI Labs.
Approved by: re
Diffstat (limited to 'sbin/dump/dump.8')
-rw-r--r-- | sbin/dump/dump.8 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sbin/dump/dump.8 b/sbin/dump/dump.8 index 7fdd2c0..82e55c6 100644 --- a/sbin/dump/dump.8 +++ b/sbin/dump/dump.8 @@ -42,7 +42,7 @@ .Nd file system backup .Sh SYNOPSIS .Nm -.Op Fl 0123456789acknSu +.Op Fl 0123456789ackLnSu .Op Fl B Ar records .Op Fl b Ar blocksize .Op Fl D Ar dumpdates @@ -194,6 +194,15 @@ Use Kerberos authentication to talk to remote tape servers. (Only available if this option was enabled when .Nm was compiled.) +.It Fl L +This option is to notify +.Nm +that it is dumping a live filesystem. +To obtain a consistent dump image, +.Nm +takes a snapshot of the filesystem and +then does a dump of the snapshot. +The snapshot is removed when the dump is complete. .It Fl n Whenever .Nm |