IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of DatabaseBackups


Ignore:
Timestamp:
Sep 10, 2009, 8:42:47 AM (17 years ago)
Author:
eugene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseBackups

    v1 v1  
     1== Notes on the IPP Database Backup scheme ==
     2
     3Thanks to efforts by Cindy & Gavin, regular dumps of the two mysql databases being used by the processing system on maui (the ippdb and the nebulous database) are now being made available via the rsync server on ipp0002.ifa.hawaii.edu.  These are dumped every 4 hours, and are available from the rsync location:
     4
     5rsync://ipp0002.ifa.hawaii.edu/ippdb
     6
     7if you want both, give a command like:
     8
     9rsync -auv rsync://ipp0002.ifa.hawaii.edu/ippdb/ ippdb/
     10
     11the database with the gpc1 processing information is in the file called ippdb01.dump.gz, while the nebulous database is in the dump called ippdb02.dump.gz.  These gzip files are currently 2.8GB and 1.8GB, so be careful.  They are also dumped every 4 hours, and the new one replaces the old name.  If people are unable to retrieve these in less than the 4 hour period (~1Mbit/sec), then we can adjust the naming to keep more than one old version around. 
     12
     13If you want just one of the above databases, use a command like:
     14
     15rsync rsync://ipp0002.ifa.hawaii.edu/ippdb/ippdb01.dump.gz .
     16
     17For reference, all of the various ipp mysql databases are now being dumped to /data/ipp000.0/ipp/mysql-dumps (had been /data/ipp000.0/jhoblitt/mysql-dumps), and these above two are linked into the 'distribution' subdirectory, which is made visible via the rsync server.  We are moving to a system of keeping a sampling of the old databases with the following timescales:
     18
     19all backups for the past 5 days (~20 copies)
     20one backup per day for the previous ~10 days (~10 copies)
     21one backup every 10 days for the previous 100 days (~10 copies)
     22one backup every 100 days for the lifetime of the project (~15 copies)
     23
     24(currently, we are keeping all of the old copies with a linear spacing...)
     25