Updating a Genome Browser Mirror

From genomewiki
Revision as of 17:22, 11 October 2010 by Max (talk | contribs) (New page: To update your local Genome Browser Installation: * As root, cd to your cgi-bin directory and update the cgi-bin files: cd /var/www/cgi-bin rsync -avzP rsync://hgdownload.cse.ucsc.edu...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

To update your local Genome Browser Installation:

  • As root, cd to your cgi-bin directory and update the cgi-bin files:
 cd /var/www/cgi-bin
 rsync -avzP rsync://hgdownload.cse.ucsc.edu/cgi-bin/ ./
  • go to your mysql directory and update the mysql tables. For each assembly, cd into its directory and run rsync like this:
 cd /var/lib/mysql/mm9
 rsync -avzP rsync://hgdownload.cse.ucsc.edu/mysql/mm9/ ./

As you might have modified your mirror, do not use the "--delete" option in this rsync command, as it would just overwrite your modifications.

  • Update the Genbank files:
 cd /gbdb/genbank
 rsync -avzp rsync://hgdownload.cse.ucsc.edu/gbdb/genbank/ ./