Changes

Jump to: navigation, search

OPS335 Lab 1

668 bytes added, 08:17, 14 January 2016
no edit summary
= Backups (Rsync) =
Rsync is a very versatile In OPS235, you learned to use the '''gzip''', '''gunzip''', and '''virsh dumpxml''' / '''virsh define''' commands to backup tool. As your virtual machines and the name suggests it's used for synchronising files typically across a network''tar''' command as an archiving tool. It works over the SSH protocol so if In this course, you have ssh working - you can use rsync as well.are taught other more practical methods of performing backups for Linux systems including:*cpio*dump / restore
You're going In this lab, we will focus on a method to provide automatic backups of your VMs to use your host machine as opposed to backup files from the virtual machines. To make it simpler we won't have any performing full and incremental backups (although it is recommended to study these techniques since they may be useful at some point in a later lab, and the backups will be automated so don't rely useful in later courses). We will now focus on these too much, but they may save you some time over using the many weeks in this coursersync command for backing up our VMs.
'''Rsync''' is a very versatile backup tool. As the name suggests, rsync is used for <u>synchronizing</u> files typically across a network. It works over the '''SSH''' protocol, which is useful in our situation since we are running ssh on our server and VMs. You are going to use your ''host machine'' to backup files from the ''virtual machines''. '''Perform the following steps:''' # Make certain that all of your VMs are running.# On your '''host machine''', run the following commands:
<source lang=bash>mkdir -p /backup/vm1
13,420
edits

Navigation menu