Open main menu

CDOT Wiki β

Changes

OPS335 Lab 1

23 bytes removed, 18:03, 14 January 2016
no edit summary
rsync -avz 192.168.x.2:/etc /backup/vm1/</source>
<ol><li value="3">If rsync prompts for a password, make certain that you completed the '''SSH key''' section above, and that you assigned the keys for the appropriate user. If you get a ''different error'', check to see that rsync is installed, and if not, install that application.</li><li>When the rsync command runs correctly, you should see all the files from vm1 being copied over.</li><li>Run the rsync command again. Notice that the second time nothing is copied over - that's because there would be no point, since none of the files have changed on your vm1machine.</li><li>Create a new file in vm1's '''/etc/''' directory, and rerun '''rsync'''. Confirm on your '''host machine''' that only that file gets copied over.</li><li>Repeat the above steps to create backups for your vm2 and vm3 machines on your host machine as well (for the respective directories: '''/backup/vm2''' and '''/backup/vm3''').</li></ol>
13,420
edits