nextcloud / nextcloud/nextcloudpi

Possibility to exclude trashbin from automatic backup

Open
#1,858 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

has-updates
Dominant language
Shell
Stars
2.9k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

I have enabled automatic backups on NextcloudPi. On my small system with a few users, a lot of deleted files have accumulated over time. All deleted files were included in the automatic backup. So my backup had 80GB before a trashbin delete, while it only had ~35GB afterwards.

Describe the solution you'd like
I would like to have a way to not have to include the recycle bin in the automatic backup creation by e.g. using a setting. This way I don't have to delete the recycle bin of every user from time to time (because otherwise the backup file would become quite large again over time) and be still able to restore older deleted files from the recycle bin.

Contributor guide

Open the 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.

Research direction

The issue concerns NextcloudPi's automatic backup creation and whether deleted files in users' recycle bins are included. Start by locating the automatic-backup entry point and its handling of trashbins; done means a setting can exclude them while preserving the ability to restore older deleted files.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.