[CentOS] Filesystem backup?

Mon Jun 22 12:10:04 UTC 2009
David Goldsmith <dgoldsmith at sans.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rafał Radecki wrote:
> Could You please explain what exactly that line means:
> 
> # dump 0f - / | (cd /seconddisk; restore -rf -)

As root, do a level 0 (or full) backup of the root / filesystem. Rather
than write the backup output to a regular file, send it to standard out.

Pipe the standard output to a new process.  For the new process, change
your working location to be another directory where you have another
filesystem mounted.  It will be best if this second filesystem was
formatted prior to running this command.

Run a restore of the dump results in a non-interactive mode taking as
input the output of the dump command.

- --
David Goldsmith
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAko/dJwACgkQ417vU8/9QflgFQCfWQRtRe/CP1yCyKbkSyf2o2Ig
XGgAn1xAtnq7sTUtnF2chBAAjtD80fR3
=rk26
-----END PGP SIGNATURE-----