Retention Policy for Cloud Backups

Open
#122 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
go
Domain
backend, cloud

Research direction

Start by reading the Cloud Backup implementation and the snapshot retention setting described in the issue; the payload does not name specific files or tests. Trace how snapshots are selected and uploaded, then identify where a configurable limit could apply. Done means the Cloud Backup tab can select a retention policy, such as latest only or the last five snapshots, and uploads follow that choice.

Written by the indexing model from the issue text.

Description

Problem:
I noticed that Cloud Backups will upload all the Snapshots, so that if the snapshot is limited to 20 version (default) it'll also upload the snapshots to the Cloud Backups Provider, this can lead to massive usage on the Cloud Backups.

for example I have Bloodborne setup:

Image

the files on a single snapshot are about 1.4 MB but on my self-hosted FileBrowser Quantum using WebDAV, the game files (snapshots) are using about 39.7 MB as shown in the image below:

Image

Suggestion:
Add a setting in Cloud Backup tab to choose Retention Policy, maybe only keep latest or keep last 5 snapshots this can help so much.

Environment:
OS: Windows 11 Pro
OpenSave Version: v2.4.1

Dominant language
Go
Stars
225
Forks
9
Avg merge
1d 21h
Merged PRs (30d)
72

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Liquid-co/OpenSave

All issues in Liquid-co/OpenSave

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.