heroku_pg_backups_archive 0.2.2 → 0.3.0
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 +2 -0
- data/lib/heroku_pg_backups_archive/toolbelt_helper.rb +3 -3
- data/lib/heroku_pg_backups_archive/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0593af7a1748e71beea1147a71fc0c1d66e9e171
|
4
|
+
data.tar.gz: 1ad7ae5bfe35223aa0463ae01eb585b88bac8990
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 444cc45a5f6cc324a6bb38c5bdd1caa85354dda60b42f3ea0ec2273d17095c679e8e80c481c01459703c2ab0089bfef3e69089ea5c898ac5eab2cec547773c8a
|
7
|
+
data.tar.gz: 694a9e822d442042f5086f462c955126b041bc01b6a0ff2d0e06bb45e289d1bcd8ef69dbeafac515d03f5759f8308e1ebe225d640ec9d79d45ea7583fd432a31
|
data/README.md
CHANGED
@@ -46,6 +46,8 @@ rake heroku_pg_backups_archive
|
|
46
46
|
|
47
47
|
To make the heroku toolbelt available on your dyno, you can use [heroku-buildpack-toolbelt](https://github.com/gregburek/heroku-buildpack-toolbelt).
|
48
48
|
|
49
|
+
*Note*: The backup will be captured from the first follower database, if any are present.
|
50
|
+
|
49
51
|
### `aws-sdk` Dependency
|
50
52
|
|
51
53
|
If you have a dependency on version 1 of the `aws-sdk` gem you will need to update your gemfile to depend on `aws-sdk-v1`. This will allow your app to continue to function as normal, but allow this gem to use newer features in version 2 of the SDK.
|
@@ -4,15 +4,15 @@ module HerokuPgBackupsArchive
|
|
4
4
|
|
5
5
|
class << self
|
6
6
|
def capture_backup
|
7
|
-
run("pg:backups
|
7
|
+
run("pg:backups:capture -a #{HerokuPgBackupsArchive.config.app_name} #{follower_db(HerokuPgBackupsArchive.config.app_name)}")
|
8
8
|
end
|
9
9
|
|
10
10
|
def fetch_backup_public_url(backup_id)
|
11
|
-
run("pg:backups
|
11
|
+
run("pg:backups:public-url #{backup_id} -a #{HerokuPgBackupsArchive.config.app_name}")
|
12
12
|
end
|
13
13
|
|
14
14
|
def fetch_backup_info(backup_id)
|
15
|
-
run("pg:backups
|
15
|
+
run("pg:backups:info #{backup_id} -a #{HerokuPgBackupsArchive.config.app_name}")
|
16
16
|
end
|
17
17
|
|
18
18
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku_pg_backups_archive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hightower
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
116
|
rubyforge_project:
|
117
|
-
rubygems_version: 2.
|
117
|
+
rubygems_version: 2.5.1
|
118
118
|
signing_key:
|
119
119
|
specification_version: 4
|
120
120
|
summary: Backup your heroku PG database, and archive it to S3.
|