HW04: MySQL Management and S3 due Sat 23 Sep 23:59

\begin{purpose}
This assignment focuses on managing a database management syste...
...nd copy files into it for safe, offsite storage
\end{itemize}\par
\end{purpose}

Documentation

Create a text document named mysql.txt. The tasks below will ask you to record various things in this file.

phpMyAdmin (10 pts)

Install phpMyAdmin an apply the security mechanisms we discussed in class:

Record (in mysql.txt) the commands/steps you took to securely install phpMyAdmin.

Practice Backup/Restore (14pts)

For each of the three backup/restore methods below, record your success or failure in mysql.txt. Perform the following experiements with MySQL backup and restore:
  1. Create a simple MySQL database with at least two InnoDB tables and some sample data.
  2. Perform a backup using the mysqldump utility.
  3. Delete data from the database.
  4. Restore from backup and verify that data is correct.
  5. Perform a backup using the “binary log” method.
  6. Delete data from the database.
  7. Restore from backup and verify that data is correct.

Record (in mysql.txt) the commands/steps you took to test backup and restore for each of the two methods.

Working with S3 (6 pts)

Utilizing off-site storage is considered an important part of securing data. We will use Amazon's S3 buckets for this purpose.
  1. Learn how to backup a file to Amazon's S3 storage:

    https://aws.amazon.com/getting-started/tutorials/backup-files-to-amazon-s3/

  2. Make sure the bucket contents are encrypted
  3. Create a snapshot of your database using mysqldump and store the backup file in your encrypted bucket.

Take a screen shot of your created bucket showing the database backup file in it.

Turning in Your Work

Store the screenshot together with your mysql.txt in a tarred-and-zipped file (mysql.tgz) and upload the file in Canvas.