IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 35 and Version 36 of DatabaseBackups


Ignore:
Timestamp:
Jun 6, 2014, 11:21:12 AM (12 years ago)
Author:
eugene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseBackups

    v35 v36  
    7070
    7171It can be found (on the production cluster) in ~ipp/softwares and it is installed in ~ipp/local.
     72
     73== ipp001 dumps and log-spaced retention ==
     74
     75ipp001 is the destination for gpc1 and other mysql database dumps.  these start to fill the disk occasionally.  there is a script in the ipp user's home directory to remove all but a log-spaced set of copies (dayly for a week, weekly for a month, monthly for years).  to run this, log into ipp001 as the ipp user and follow the commands below:
     76
     77{{{
     78cd /data/ipp001.0/ipp/mysql-dumps>
     79~ipp/mysql-dump/delete_log_spacing.sh mysql-ssp-ipp001 test
     80~ipp/mysql-dump/delete_log_spacing.sh mysql-ssp-ipp001 commit
     81~ipp/mysql-dump/delete_log_spacing.sh mysql-isp-ipp001 test
     82~ipp/mysql-dump/delete_log_spacing.sh mysql-isp-ipp001 commit
     83~ipp/mysql-dump/delete_log_spacing.sh mysql-gpc1-ippdb03 test
     84~ipp/mysql-dump/delete_log_spacing.sh mysql-gpc1-ippdb03 commit
     85}}}
     86
     87