Question: Why is the backup first copied to a local drive?
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 272
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
Disclaimer - I am not an expert on this topic and my question could be stupid but I am trying to understand this a bit more.
So to my understanding, when a full backup is being made it first copies everything to the set local directory so that it can compress/encrypt the data before sending it to the external backup site. Now my question is, why does it need to copy everything to the local drive? Can't it compress/encrypt the data in memory and then send it directly to do the off-site backup?
The reason why I am asking this is that regularly writing and rewriting everything on my hard disk puts a lot of stress on it (stress that in my eyes is not needed).
Also if this is required for compression/encryption would it be possible to skip this step if you disable both compression and encryption?
Thanks in advance 😅
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. First clarify whether the request is for streaming off-site backups or only skipping the local staging step when compression and encryption are disabled, then trace the existing backup flow and define how completion should be verified.
Written by the indexing model from the issue text.
Assessment
- Domain
- infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100