<?php

class Config {
    
    public static $serverId;
    
    // Source database information
    const SOURCE_DBHOST = 'REPLACE ME';
    const SOURCE_DBUSER = 'dev_script';
    const SOURCE_DBPASS = 'dev_script';
    const SOURCE_DBPORT = 3306;
    // Local configuration
    const LOCAL_DBHOST = '127.0.0.1';
    const LOCAL_DBUSER = 'dev_script';
    const LOCAL_DBPASS = 'dev_script';
    const LOCAL_DBPORT = 3306;
    const DB_DIRECTORY = '/data'; // This doesn't include the complete destination
    // SSH configuration for the source server
    const SSH_KEY = '/root/.ssh/id_rsa';
    const SOURCE_VOLUME = '/data';
    const SOURCE_HOST = 'REPLACE ME';
    const SOURCE_USER = 'root';
    // The shell command to start and stop MySql, this needs to be identical on both servers
    const STOP_MYSQL_CMD = '/etc/init.d/mysqld stop';
    const START_MYSQL_CMD = '/etc/init.d/mysqld start';
    // This file is used to hold the current volume for this server
    const LOCKFILE = '/var/lib/equallogic/volume';
    // Contains the server ID which is used in the EqualLogic comment field
    const SERVERIDFILE = '/var/lib/equallogic/serverid';
    // Temporary directory (for backing up database tables)
    const TEMPDIR = '/tmp';

    // Contains a list of servers you wish to have saved from an existing local database, if present.
    // Note - mysql.user, mysql.db, and art_relations.vectorapi_clients are already backed up by default
    public static $tablesToSave = array(
       
    );

}
