Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download one Acquia backup database at a time. #111

Merged
merged 13 commits into from
Nov 20, 2018
Merged

Conversation

becw
Copy link
Member

@becw becw commented Oct 19, 2018

See #103.

This removes the old Acquia database downloading targets in favor of a new task that downloads new backups selectively via the Acquia Cloud API.

To test:

  • Download your Acquia Cloud API credentials and move them to ~/.acquia/cloudapi.conf on your Vagrant box
  • Configure your Acquia site properties in .the-build/build.default.properties.yml:
    acquia:
      site: mysite
      realm: devcloud
    
  • Run phing acquia-get-backup - the latest backup should be downloaded to artifacts/backups
  • Run phing acquia-load-backup - the latest existing backup in artifacts/backups will be loaded in to the site db

@becw becw self-assigned this Oct 19, 2018
@becw becw added this to the 2.0 milestone Oct 19, 2018
@becw becw requested a review from byrond October 23, 2018 03:04
@becw becw assigned becw and byrond and unassigned becw Oct 23, 2018
Copy link
Contributor

@byrond byrond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@becw, this is a very elegant solution and a great improvement for downloading databases from Acquia! I just had a couple of issues during testing and some questions.

src/TheBuild/Acquia/AcquiaTask.php Outdated Show resolved Hide resolved
src/TheBuild/Acquia/GetLatestBackupTask.php Outdated Show resolved Hide resolved
src/TheBuild/Acquia/GetLatestBackupTask.php Show resolved Hide resolved
src/TheBuild/Acquia/GetLatestBackupTask.php Show resolved Hide resolved
tasks/acquia.xml Outdated Show resolved Hide resolved
@becw
Copy link
Member Author

becw commented Nov 13, 2018

@byrond I've fixed the bugs that you found and made the updates you suggested. I think we're ready to go now?

@becw
Copy link
Member Author

becw commented Nov 20, 2018

Merging so that I can cut a new alpha tag.

@becw becw merged commit 83ddcbb into release-2.0 Nov 20, 2018
@becw becw deleted the better-acquia-backups branch November 20, 2018 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants