Monthly CD Backup

This page contains instructions how to create a tar file of our software tools, and how to write it to a CD. We perform these backups once per month on the first of the month.

Step 1: Creating a Tar File
  • tar cfz mmddyyyy.tar.gz -C /data/isip/tools svnroot: First, you need to change directories to a place where you can store 650M of data (the maximum that can be written to a CD). It is important that this directory be visible from the ECE Windows machines, because this is where the CD will be made. Or you can copy this to a Windows machine using WinSCP utility.

    The above command generates a compressed tar file using the GNU tar gzip format. Once the command has completed, check the file size using the command "ls -l".

    The "mmddyyyy" for a file name represents the month (mm), date (dd), and year (yyyy) on which the command was issued. This is usually the first day of every month.
Step 2: Creating a CD
  • Log into a Windows machine with a CD burner: Most Windows machines in ECE have a CD burner with access permissions for CD burning enabled for all students.

  • Open a CD Write Application: Currently, Windows automatically detects blank CDs. Format the CD as the pop-up window instructs. Then just drag and drop whatever file(s) you want to write. Finally remember to Close Disk (right-click on the DVD link in the left window).

  • tar -tzf mmddyyyy.tar.gz: Test the data that was written. Copy the tar file to a Unix directory (presumably the one used to create the file). List data in the tar file using the "tzf" options which tell tar to list a compressed tar file ("t" is for listing and "z" is for compression). Remove the original and duplicated tar files.
Step 3: Labeling and Storing the CD
  • Label the CD: Create a label using the template found here: /research/isip/about_us/resource/templates/cd_labels. Update the CD label template to the corresponding date that was used to make the CD. Remember to change the number of the CD as well. Print the CD label using the printer named yellow.

  • Store the CD: Store the CD in the black CD folder labeled "Backups".