Exercise 39: Xtreme Books


To accomplish this task, follow these steps:

1.

Open a terminal window, and then switch to root with the su command.

2.

From the KDE kicker, click on the icon of a monitor to open a terminal shell. Optionally, from the menu, select System, Terminal, and then Konsole.

3.

Type the command cd /.

4.

Type the command mkdir recovery.

5.

Type the command rsync avz /home /recovery.

Although other utilities besides rsync can be used (cp, for example), this will create a mirror of what is in the other directory, maintaining the same permissions, ownership, and all other information.

To keep the two directories mirrored, an rsync command can be added to cron to run on a regular basis.



NovellR Linux Certification Practium Lab Manual
NovellR Linux Certification Practium Lab Manual
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 192

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net