]> git.ipfire.org Git - thirdparty/bacula.git/commit
make snapshots works on sqlite
authorAlain Spineux <alain@baculasystems.com>
Fri, 2 Sep 2022 09:33:50 +0000 (11:33 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:59 +0000 (13:56 +0200)
commit9943e177b7c40a7014de580ca507dccb18ec01d4
tree55b88b221bf91a892a273395e6d5de214e2083fc
parent8385cffab10290b477b0c09e9f7593cf80090525
make snapshots works on sqlite

- the goal is to make tests/snapshot-lvm-test works
- there is some difference on the DB side :
  - serial and bigserial don't exist in Sqlite, instead use
    INTEGER PRIMARY KEY AUTOINCREMENT
  - the row title for sqlite is SnapshotId vs snapshotid for pgsql
bacula/src/cats/make_sqlite3_tables.in
bacula/src/dird/snapshot.c