Logo: Relish

  1. Sign in

Project: Console

DXP Stack Backup and Restore

  • @dxpstack
Background
Given
I sign in to DXP Cloud as a team user
Scenarios
  • @teardown_tester
Backup manually
Given
I go to the "Backups" page for "qadxpclient-prd" environment
And
I should see the text "No Backup History Yet"
When
I click the "Backup Now" button
Then
I should see the button "Backup in progress..."
And
I should see under Backup History
name size created
dxpcloud-[0-9-]* 3\d\d.\d kB {today}
And
I should see listed in the General Activities
Backup started
Backup succeeded
  • @skip
Start restore process
Given
I go to the "Backups" page for "qadxpclient-prd" environment
And
I should see under Backup History
name size created
dxpcloud-[0-9-]* 3\d\d.\d kB {today}
When
I select menu option "Restore" from row 1 in Backup History
And
I select "qadxpclient-prd" from the environment dropdown
And
I click the "Restore Backup and Make it the Current Version" button
Then
I should be at url ending with "/projects/qadxpclient-prd/activities"
And
I should see listed in the General Activities
Backup restore started
And
I go to the "Backups" page for "qadxpclient-prd" environment
And
I should see the text "Backup restore in progress..."
And
the ellipses menu should not be visible in the Backup History card
And
the "Backup Now" button should be disabled
  • @skip
View completed backup restore
Given
I go to the "Backups" page for "qadxpclient-prd" environment
When
the restore process has completed
Then
I should see the text "Backup restore succeeded."
And
the "Backup Now" button should be enabled
And
I click the "Got it. Dismiss this card" button
And
the restore card should disappear
And
I go to the "Activities" page for "qadxpclient-prd" environment
And
I should see listed in the General Activities
Backup restore succeeded
And
I click "Services" in the sidebar
And
I should see in the service list
Installed Status Instances
search Healthy 1
database Healthy 1
liferay Healthy 1
webserver Healthy 1
backup Healthy 1
  • @skip
Restore backup to another environment
Given
I go to the "Builds" page for "qadxpclient" project
And
I see the build rows
status services id branch message environment member
green webserver search liferay database backup 2 master Initial commit - new DXPCloud project - Qadxpclient
green ci 1 master Initial commit - new DXPCloud project infra Qadxpclient
And
I deploy the build from row 1 to "qadxpclient-uat" environment
When
I go to the "Backups" page for "qadxpclient-prd" environment
And
I restore the latest backup to "qadxpclient-uat" environment
And
the restore process has completed
Then
I go to the "Activities" page for "qadxpclient-uat" environment
And
I should see listed in the General Activities
Backup restore succeeded
And
I click "Services" in the sidebar
And
I should see in the service list
Installed Status Instances
search Healthy 1
database Healthy 1
liferay Healthy 1
webserver Healthy 1
backup Healthy 1

Last published over 1 year ago by Christie Yoo.