Using rsync for Backup
-
No need for a screenshot of this page!
-
Create a user on your Linux server named "rsyncbackup". Make sure that you have at
least one account (other than your u600..... account) available. We will refer to this
this as the "localuser" account through this exercise.
-
Configure passwordless login so that you can reach the backup account from your
account on sit and from your "localuser" account on your server. Make sure this
works before proceeding.
-
Run the rsync command from your home folder on sit and send all the files
and folder into the backup account in a folder called "sit_backup". Take a
screenshot of the command you used to perform the rsync.
-
Run the rsync command from your home folder on your Linux server (i.e. the localuser
account) and save the files in a folder named 'local_backup'. Take a screenshot
of the command used.
-
From the user account backup, run tree to show that the files were actually
copied to your backup account.
-
Take any file on your sit server and erase it. Now use rsync to restore the
erased file from your backup. Take a screenshot of the rm command and the rsync command
used to restore it and show the first few lines of the restored file. Put all
of this into a single image.