From dc3e20acacf6fc2bb4672513c72c5449fca88679 Mon Sep 17 00:00:00 2001 From: andres-portainer <91705312+andres-portainer@users.noreply.github.com> Date: Wed, 26 Jun 2024 18:27:44 -0300 Subject: [PATCH] fix(snapshots): enable the background snapshotter EE-7273 (#11972) --- 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 32540bc0d..40c299cc0 100644 --- a/api/http/server.go +++ b/api/http/server.go @@ -61,6 +61,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" @@ -380,9 +381,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("", "") }