Stream dumped SQLite databases directly to Borg #807

Closed
opened 2023-12-30 23:58:24 +00:00 by witten · 2 comments
Owner

What I'd like to do and why

Right now, the borgmatic SQLite hook dumps a SQLite database to an intermediate file and then has Borg back that up. But there's no reason why it couldn't instead stream the dump directly to Borg without wasting the disk space of an intermediate file. Direct streaming is how the existing PostgreSQL, MySQL, and MariaDB hooks work today.

Other notes / implementation ideas

No response

### What I'd like to do and why Right now, the borgmatic SQLite hook dumps a SQLite database to an intermediate file and then has Borg back that up. But there's no reason why it couldn't instead stream the dump directly to Borg without wasting the disk space of an intermediate file. Direct streaming is how the existing PostgreSQL, MySQL, and MariaDB hooks work today. ### Other notes / implementation ideas _No response_
Author
Owner

Implemented in main!

Implemented in main!
Author
Owner

Released in borgmatic 1.8.6!

Released in borgmatic 1.8.6!
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#807
No description provided.