C# Class MCloud.Deploy.PushPgsqlDB

Push a local database to the node. If the remote node already has a database with the same name it will be destroyed and all of its data will be lost. This will push the schema and all data, it will not push any privilege information. The remote server must already have postgresql installed and running.
Inheritance: SSHDeployment
ファイルを表示 Open project: jacksonh/MCloud

Public Methods

Method Description
PushPgsqlDB ( string db_name ) : System

Create a PushNpgsqlDB deployment command with the specified database name.

Protected Methods

Method Description
RunImpl ( Node node, NodeAuth auth ) : void

Private Methods

Method Description
GetDumpFile ( ) : string
SetDumpFile ( string file ) : void

Method Details

PushPgsqlDB() public method

Create a PushNpgsqlDB deployment command with the specified database name.
public PushPgsqlDB ( string db_name ) : System
db_name string /// A /// The name of the database to pull from and push to. ///
return System

RunImpl() protected method

protected RunImpl ( Node node, NodeAuth auth ) : void
node Node
auth NodeAuth
return void