Raise performance and lower storage needs! #9555
Closed
ThomasWaldmann
started this conversation in
General
Replies: 3 comments 1 reply
-
|
Don't forget AI-powered compression! Why use regular compression algorithms when you can have AI do it for you? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Just send your data to be trained on the next LLM update then you can ask OpenAI to retrieve it for you. Don't worry if it's public, it will save you lots of money. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
OK, guess we can close this now, April 1st is now globally over - relax! AI won't decide about what's in your backups. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The problem
Backups and restores tend to be rather slow, especially when there are a lot of files. Borg tries to speed things up using deduplication and unchanged file detection, but if there are many new or changed files, it will still be slow.
Some operations, like borg check, scale O(N×M), where N is the archive count and M is the archive size.
On top of that, storage prices have been rising steeply, so we need to be mindful of space — and backups can consume a lot of it.
Root cause analysis
These problems are mostly caused by legacy backup and restore procedures: Borg backs up everything you give it (= high M) and restores everything you ask for. It keeps many archives (= high N) until you prune them, and it will accept any prune policy — even a ridiculous one.
The root cause, if we're honest, is you. You keep too many files. You keep too many archives. You never clean up your repositories. This has gone on long enough.
Solution
AI has been making enormous strides recently and we have been working on BorgAI for months (PR coming soon), so it can help us here:
Won't that be slow or expensive?
Not necessarily! You may already have an NVIDIA or AMD GPU that sits mostly idle when you're not gaming. Or perhaps some Apple Silicon with plenty of unified memory, which is also excellent for AI workloads. And if you don't have any of that yet — be honest: you've been looking for a good reason to buy great new hardware this year anyway!
If great HW is not an option, you will be also able to use cloud AI, like from OpenAI, Microsoft or Anthropic. Your backup metadata will be processed securely and not used for training — probably.
Is it safe?
Don't worry — BorgAI is very confident in its decisions.
Is it worth the effort?
In our tests, BorgAI reduced archive sizes by 23%, archive count by 73% — and successfully restored 99% of the files users actually wanted.
When will it be released?
Likely to be included in borg 1.4. soon.
Beta Was this translation helpful? Give feedback.
All reactions