From ca9f85a1ffbce1324def50b7480773f7da914ca7 Mon Sep 17 00:00:00 2001 From: andres-portainer <91705312+andres-portainer@users.noreply.github.com> Date: Wed, 26 Jun 2024 18:27:39 -0300 Subject: [PATCH] fix(snapshots): enable the background snapshotter EE-7273 (#11973) --- api/http/server.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/api/http/server.go b/api/http/server.go index cf1b2cac8..bff5cf2fd 100644 --- a/api/http/server.go +++ b/api/http/server.go @@ -60,6 +60,7 @@ import ( "github.com/portainer/portainer/api/http/security" "github.com/portainer/portainer/api/internal/authorization" edgestackservice "github.com/portainer/portainer/api/internal/edge/edgestacks" + "github.com/portainer/portainer/api/internal/snapshot" "github.com/portainer/portainer/api/internal/ssl" "github.com/portainer/portainer/api/internal/upgrade" k8s "github.com/portainer/portainer/api/kubernetes" @@ -376,9 +377,7 @@ func (server *Server) Start() error { } go shutdown(server.ShutdownCtx, httpsServer) - - // Temporarily disable for EE-6905 until we have a solution for the snapshotter - // go snapshot.NewBackgroundSnapshotter(server.DataStore, server.ReverseTunnelService) + go snapshot.NewBackgroundSnapshotter(server.DataStore, server.ReverseTunnelService) return httpsServer.ListenAndServeTLS("", "") }