Commit graph

15 commits

Author SHA1 Message Date
Edu4rdSHL
d17690f960
Make SQLite timeout available to user config. 2021-04-17 00:46:07 -05:00
Edu4rdSHL
ce44bf679c
Fix database locking issues setting set_busy_timeout().
- Ref: https://www.sqlite.org/c3ref/busy_timeout.html
- Only stablish an initial connection.
2021-04-17 00:35:16 -05:00
Edu4rdSHL
657225559e
Better DB results handling. 2021-04-16 19:06:03 -05:00
Edu4rdSHL
fbb5d5d438
Remove unneeded calls. 2021-04-16 14:26:11 -05:00
Edu4rdSHL
f003189dab
Avoid possible name collisions. 2021-04-16 12:42:36 -05:00
Edu4rdSHL
1cef63bacf
Introduce read-write snapshots with the --rw/-w flag. 2021-04-16 12:42:02 -05:00
Edu4rdSHL
244551085d
Introduce --kind. It will help you to specify kinds of snapshots that allow you to have the same prefix for snapshots but only cleanup these that matches the snapshot kind too. 2021-04-16 12:03:04 -05:00
Edu4rdSHL
ddba69075a
Stop creating random database files in wrong invocations. 2021-04-16 11:37:35 -05:00
Edu4rdSHL
31cf4d1a90
Avoid sqlite database aggressive locking.
- https://sqlite.org/wal.html
2021-04-16 11:28:32 -05:00
Edu4rdSHL
8f3c794631
Indentation. 2021-04-16 00:54:27 -05:00
Edu4rdSHL
890666e9bc
Fix logical condition in sqlite. 2021-04-16 00:52:08 -05:00
Edu4rdSHL
28a754574c
Allow to restore snapshots in a user-defined directory. 2021-04-15 22:06:51 -05:00
Edu4rdSHL
dbd488240c
Remove debugging code. 2021-04-15 21:15:39 -05:00
Edu4rdSHL
882bff2d2e
Initial commit. 2021-04-15 21:12:08 -05:00
Eduard Tolosa
3699578552
Initial commit 2021-04-13 07:52:24 +00:00