Skip to content

Testcase - Backup System

Test Case description Check that Backup is working
Test Case ID T001
Autohor/Designer Jenna Penttilä
Date of creation 17.04.2023
Class functional/non-functional/acceptance

Test description / objective

This test case should verify.....

That back up is automated and you can run it manually.

Links to requirements or other sources

Test steps

Manual testing

  1. Go to testing server and log in as deployer user
  2. Go to db-backup folder
  3. Run bash backup.sh
  4. Run ls to see it created a backup sql in gz format
  5. Run push.sh and go to gitlab back-up repository to see if the file was pushed

Automated testing (for testing purposes I changed 4 hours to 1 minute)

  1. Wait couple of minutes.
  2. Go see back-up repository in gitlab.
  3. Check db-backup folder in deployer users home repository that new backup has been created.

Test end-state

  • New backup files go to gitlab repository

Test result (Pass/Fail Criteria)

  • All steps pass
  • FAIL one or more steps fail