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
Afficher le fichier Open project: jacksonh/MCloud

Méthodes publiques

Méthode Description
PushPgsqlDB ( string db_name ) : System

Create a PushNpgsqlDB deployment command with the specified database name.

Méthodes protégées

Méthode Description
RunImpl ( Node node, NodeAuth auth ) : void

Private Methods

Méthode Description
GetDumpFile ( ) : string
SetDumpFile ( string file ) : void

Method Details

PushPgsqlDB() public méthode

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. ///
Résultat System

RunImpl() protected méthode

protected RunImpl ( Node node, NodeAuth auth ) : void
node Node
auth NodeAuth
Résultat void