This is TikiWiki 1.9.7 -Sirius- © 2002–2006 by the Tiki community Wed 30 of Apr, 2025 [13:06 UTC]
Menu [hide]
Toggle  Wiki
Toggle  Blogs
Toggle  Forums
Toggle  Charts
TikiWiki Assistant
Thank you for installing TikiWiki!
Click the :: options in the Menu for more options. Please, also see TikiMovies for more setup details.

History: GEnDB

Source of version: 5 (current)

-=General information=-
^DB type: MySQL
Server version: 5.0.18
TCP port: 3306
DSN: mysql://e02013@jmysql.jlab.org/e02013
pass: IXt4ldk.^

-=Structure=-
There will be at least two classes of databases; one for direct and fast access to the EPICs information throughout the experiment (being developed by Brandon) and the second to hold calibration constants to be used by the analyzer (being developed by Rob). The description and rough specifications for the databases are [http:tiki-download_wiki_attachment.php?attId=23&page=GEnDB|here].

-=Backup=-

WARNING! The information below is outdated and may be inaccurate. The hostname, username, and password have change and this is not reflected below.

The database backuped up by user nerses using crontab job run every night from ifarml2. The scipt launched by cron is /work/halla/e02013/disk1/GEn/db/dump_e02013.sh. Back-ups are collected in the same directory (/work/halla/e02013/disk1/GEn/db).

Backed up databases include:
{DL()}e02013:GEn database, accessed by user gen and gen_admin
tikiwiki:database used by ((GEn)) wiki
tikicustomdata:database also used by GEn wiki, but contains non-standard tables (like list of ((GEnDocEpics|epics variables))){DL}

{CODE(caption=>/work/halla/e02013/disk1/GEn/db/dump_e02013.sh)}
#!/bin/bash

# Author nerses@jlab.org
# do backups in this directory
cd /work/halla/e02013/disk1/GEn/db

function db_dump(){
# Usage:
# db_dump <user> <password> <database>
OUTPUT=${3}_`date +%Y%m%d`.sql
/apps/bin/mysqldump -h yerphi -u $1 --password=$2 $3 > $OUTPUT
bzip2 -q $OUTPUT
}

db_dump gen '' e02013
db_dump tikiuser '********' tikiwiki
db_dump tikiuser '********' tikicustomdata
{CODE}
-=Accessing DB=-
There are 2 mysql user accounts for accessing e02013 database:
{DL()}gen_admin (not sure this exists anymore): used to fill the database with data (password protected)

e02013: used for read only access of data could be accessed using the following command{CODE()}mysql -h jmysql -u e02013 -p{CODE}{DL}with password: IXt4ldk.

History

Legend: v=view, s=source
Date User IpComment Version Action
Thu 03 of Jan, 2008 [21:01 UTC] riordan128.2.113.231  5
current
 v  s
Thu 03 of Jan, 2008 [20:57 UTC] riordan128.2.113.231  4  v  s  
Fri 14 of Jul, 2006 [19:14 UTC] feuerbac129.57.34.197  3  v  s  
Fri 14 of Jul, 2006 [19:08 UTC] feuerbac129.57.34.197  2  v  s  
Fri 07 of Jul, 2006 [23:04 UTC] nerses129.57.35.76General info, backups and accessing of GEn DB 1  v  s  

Search
in:
Powered by TikiWiki Powered by PHP Powered by Smarty Powered by ADOdb Made with CSS Powered by RDF powered by The PHP Layers Menu System
RSS Wiki RSS Blogs rss Articles RSS Image Galleries RSS File Galleries RSS Forums
[ Execution time: 0.19 secs ]   [ Memory usage: 6.59MB ]   [ 54 database queries used ]   [ GZIP Enabled ]   [ Server load: 0.43 ]