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

deprecate snapshot backups #776

Merged
merged 1 commit into from
Oct 9, 2023
Merged

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Oct 6, 2023

No description provided.

@ehelms
Copy link
Member

ehelms commented Oct 6, 2023

@evgeni
Copy link
Member Author

evgeni commented Oct 9, 2023

Mhh. This is not really visible:

[root@centos8-stream-foreman-nightly ~]# foreman-maintain backup snapshot /lol
WARNING: Snapshot backups are deprecated and will be removed in a future version.
Starting backup: 2023-10-09 08:10:25 +0000
Running preparation steps required to run the next scenarios
================================================================================
Make sure Foreman DB is up: 
/ Checking connection to the Foreman DB                               [OK]      
--------------------------------------------------------------------------------

@evgeni evgeni force-pushed the warn-drop-snapshot branch 3 times, most recently from 2250b41 to ff8d4f2 Compare October 9, 2023 08:40
@evgeni
Copy link
Member Author

evgeni commented Oct 9, 2023

now:

# foreman-maintain backup snapshot /lol
Starting backup: 2023-10-09 08:46:00 +0000
Running preparation steps required to run the next scenarios
================================================================================
Make sure Foreman DB is up: 
/ Checking connection to the Foreman DB                               [OK]      
--------------------------------------------------------------------------------


Running Backup
================================================================================
Snapshot backups are deprecated:                                      [WARNING]
Snapshot backups are deprecated and will be removed in a future version.
--------------------------------------------------------------------------------
Confirm turning off services is allowed: 
WARNING: This script will stop your services.

@@ -21,6 +21,7 @@ class Backup < ForemanMaintain::Scenario

def compose
check_valid_startegy
Copy link
Member

Choose a reason for hiding this comment

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

heh -- just noticed this fun typo startegy

@evgeni evgeni merged commit 231c292 into theforeman:master Oct 9, 2023
6 of 7 checks passed
@evgeni evgeni deleted the warn-drop-snapshot branch October 9, 2023 11:45
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