dokku-installer-cli 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -2
- data/lib/dokku_installer/postgres.rb +1 -1
- data/lib/dokku_installer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d315bf722e6617d056b762fb80d2232c1200a5d
|
4
|
+
data.tar.gz: 6ecf5fb31668bf999080b54ebdd43eaa37bc22a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0771d23e1a495871c6ac02fb4ba525ca0716d60ff3d2a85fddcd0de32faec592a13326a4f2f3f28dca85e429addd2174cd360234c46aef3d92f27fe215652d30
|
7
|
+
data.tar.gz: ac2f19cd533b119a1d81add739c930bc2f16a741d47f002e6caf578e35c0ebca877bbca13c449101021cac85f762bbe8bdddf6c33aec8eaa3a1453f2ef79f203
|
data/README.md
CHANGED
@@ -25,12 +25,15 @@ Commands:
|
|
25
25
|
dokku help [COMMAND] # Describe available commands or one specific command
|
26
26
|
dokku logs [-t] # Show the last logs for the application (-t follows)
|
27
27
|
dokku open # Open the application in your default browser
|
28
|
-
dokku postgres:backups # List available PostgreSQL backups
|
28
|
+
dokku postgres:backups # List available PostgreSQL backups as a numbered list
|
29
29
|
dokku postgres:backups:create # Create a new PostgreSQL backup
|
30
30
|
dokku postgres:backups:disable # Disable daily PostgreSQL backups
|
31
31
|
dokku postgres:backups:download <number> # Download the numbered PostgreSQL backup
|
32
32
|
dokku postgres:backups:enable # Enable daily PostgreSQL backups
|
33
|
-
dokku postgres:backups:restore
|
33
|
+
dokku postgres:backups:restore <number> # Restore a numbered PostgreSQL backup
|
34
|
+
dokku postgres:backups:restore:local <number> # Restore a numbered PostgreSQL backup locally
|
35
|
+
dokku postgres:export <file.sql> # Export Postgres data to local file
|
36
|
+
dokku postgres:import <file.sql> # Restore database data from a local file
|
34
37
|
dokku restart # Restart the application
|
35
38
|
dokku run <cmd> # Run a command in the environment of the application
|
36
39
|
dokku ssh # Start an SSH session as root user
|
@@ -21,7 +21,7 @@ module DokkuInstaller
|
|
21
21
|
puts "Running #{command}..."
|
22
22
|
result = `#{command}`
|
23
23
|
|
24
|
-
if result.include?("
|
24
|
+
if result.include?("Backup created")
|
25
25
|
puts "Database backup created successfully."
|
26
26
|
else
|
27
27
|
puts "Database backup could not be created."
|