C# 클래스 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.
상속: SSHDeployment
파일 보기 프로젝트 열기: jacksonh/MCloud

공개 메소드들

메소드 설명
PushPgsqlDB ( string db_name ) : System

Create a PushNpgsqlDB deployment command with the specified database name.

보호된 메소드들

메소드 설명
RunImpl ( Node node, NodeAuth auth ) : void

비공개 메소드들

메소드 설명
GetDumpFile ( ) : string
SetDumpFile ( string file ) : void

메소드 상세

PushPgsqlDB() 공개 메소드

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. ///
리턴 System

RunImpl() 보호된 메소드

protected RunImpl ( Node node, NodeAuth auth ) : void
node Node
auth NodeAuth
리턴 void