Skip to content

Commit 64e3bf4

Browse files
committed
Update changelog and docs for SqliteBackupConnector
1 parent 7d3f04b commit 64e3bf4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Unreleased
99
* Drop support for end-of-life Python 3.7 and 3.8.
1010
* Drop support for end-of-life Django 3.2.
1111
* Drop support for ``DBBACKUP_STORAGE`` AND ``DBBACKUP_STORAGE_OPTIONS`` settings, use Django's ``STORAGES['dbbackup']`` setting instead.
12+
* Implement new ``SqliteBackupConnector`` to backup SQLite3 databases using the ``.backup`` command (safe to execute on DBs with active connections).
1213

1314
4.3.0 (2025-05-09)
1415
----------

docs/databases.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ simple raw copy of your database file, like a snapshot.
128128

129129
In-memory database aren't dumpable with it.
130130

131+
SqliteBackupConnector
132+
~~~~~~~~~~~~~~~~~
133+
134+
The :class:`dbbackup.db.sqlite.SqliteBackupConnector` makes a copy of the SQLite database file using the ``.backup`` command, which is safe to execute with active connections to the database. It supports dumping in-memory databases by construction.
135+
131136
MySQL
132137
-----
133138

0 commit comments

Comments
 (0)