func (s *S3Backup) WithLogContext(c map[string]interface{}) {
	s.logContext = c
}
WithLogContext attaches additional context to the log output for this backup.
package backup
import (
	"archive/tar"
	"compress/gzip"
	"context"
	"fmt"
	"io"
	"net/http"
	"os"
	"strconv"
	"time"
	"emperror.dev/errors"
	"github.com/cenkalti/backoff/v4"
	"github.com/pterodactyl/wings/server/filesystem"
	"github.com/juju/ratelimit"
	"github.com/pterodactyl/wings/config"
	"github.com/pterodactyl/wings/remote"
)
type S3Backup struct {
	Backup
}
var _ BackupInterface = (*S3Backup)(nil)
func NewS3(client remote.Client, uuid string, ignore string) *S3Backup {
	return &S3Backup{
		Backup{
			client:  client,
			Uuid:    uuid,
			Ignore:  ignore,
			adapter: S3BackupAdapter,
		},
	}
}
func (s *S3Backup) Remove() error {
	return os.Remove(s.Path())
}