diff --git a/robottelo/cli/sm_advanced.py b/robottelo/cli/sm_advanced.py index 42ba037b811..4c2b4ffb33d 100644 --- a/robottelo/cli/sm_advanced.py +++ b/robottelo/cli/sm_advanced.py @@ -23,13 +23,6 @@ backup-online-safety-confirmation Data consistency warning backup-prepare-directory Prepare backup Directory backup-pulp Backup Pulp data - backup-snapshot-clean-mount Remove the snapshot mount points - backup-snapshot-logical-volume-confirmation Check if backup is on different LV then the source - backup-snapshot-mount-candlepin-db Create and mount snapshot of Candlepin DB - backup-snapshot-mount-foreman-db Create and mount snapshot of Foreman DB - backup-snapshot-mount-pulp Create and mount snapshot of Pulp data - backup-snapshot-mount-pulpcore-db Create and mount snapshot of Pulpcore DB - backup-snapshot-prepare-mount Prepare mount point for the snapshot content-migration-reset Reset the Pulp 2 to Pulp 3 migration data (pre-switchover) content-migration-stats Retrieve Pulp 2 to Pulp 3 migration statistics content-prepare Prepare content for Pulp 3 diff --git a/robottelo/cli/sm_backup.py b/robottelo/cli/sm_backup.py index 8da59080151..ef703134cfa 100644 --- a/robottelo/cli/sm_backup.py +++ b/robottelo/cli/sm_backup.py @@ -9,7 +9,6 @@ Subcommands: online Keep services online during backup offline Shut down services to preserve consistent backup - snapshot Use snapshots of the databases to create backup Options: -h, --help print help @@ -24,7 +23,7 @@ class Backup(Base): @classmethod def run_backup(cls, backup_dir='/tmp/', backup_type='online', options=None, timeout=None): - """Build satellite-maintain backup online/offline/snapshot""" + """Build satellite-maintain backup online/offline""" cls.command_sub = backup_type cls.command_end = backup_dir options = options or {} diff --git a/tests/foreman/maintain/test_backup_restore.py b/tests/foreman/maintain/test_backup_restore.py index f81b268e844..349d3961f41 100644 --- a/tests/foreman/maintain/test_backup_restore.py +++ b/tests/foreman/maintain/test_backup_restore.py @@ -335,7 +335,7 @@ def test_negative_backup_maintenance_mode(sat_maintain, setup_backup_tests): :parametrized: yes :steps: - 1. try to create a snapshot backup which would fail + 1. try to create an online backup which would fail :expectedresults: 1. Verify maintenance-mode isn't running if backup fails @@ -347,7 +347,7 @@ def test_negative_backup_maintenance_mode(sat_maintain, setup_backup_tests): subdir = f'{BACKUP_DIR}backup-{gen_string("alpha")}' result = sat_maintain.cli.Backup.run_backup( backup_dir=subdir, - backup_type='snapshot', + backup_type='online', options={'assumeyes': True, 'plaintext': True}, ) assert result.status != 0