Commit graph

40 commits

Author SHA1 Message Date
ca4e96a662 Fixes. 2024-02-05 03:26:46 -05:00
a231f177b5 Use proper type for keep_only. 2024-02-05 03:26:22 -05:00
ddcc8d58d9 Update config templates 2024-02-05 02:54:34 -05:00
33a6153f23 Update README 2024-02-05 02:47:59 -05:00
502753acf9 Use args.dest_dir (--to) when restoring the snapshot 2024-02-05 02:47:48 -05:00
bac3a8c69e Add support for TOML config files 2024-02-05 02:36:33 -05:00
c32742b355 v0.2.0: big refactor and improvements. 2024-02-05 01:27:12 -05:00
b19e7579c6 Update deps. 2023-06-12 15:49:53 -05:00
f69fee8287 Fix clippy warnings 2023-06-12 15:49:46 -05:00
Edu4rdSHL
e68c28b223
Update builder.sh
Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
2022-03-11 15:32:33 -05:00
Edu4rdSHL
56017b0ad9
Update builder.sh to add x86 support.
Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
2022-02-13 06:09:48 -05:00
Edu4rdSHL
6f87a2aa3f
Rusnapshot only works on Linux... because BTRFS does.
Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
2022-02-13 05:41:39 -05:00
Edu4rdSHL
6ea79569d7
Merge branch 'master' of https://github.com/Edu4rdSHL/rusnapshot 2021-05-11 03:18:53 -05:00
Edu4rdSHL
665e6a7f85
Add builder.
Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
2021-05-10 20:54:26 -05:00
79548fbb24
Update README.md 2021-04-23 16:31:22 +00:00
8cdd0eafe8
Update SETUP.md 2021-04-23 16:30:30 +00:00
b9294b2045
Update README.md 2021-04-23 16:18:36 +00:00
Edu4rdSHL
2b70c5593c
WIP. 2021-04-22 23:01:35 -05:00
Edu4rdSHL
5e191ec45a
Remove unneeded file. 2021-04-19 12:34:45 -05:00
Edu4rdSHL
f95e71f033
Add config templates, services and timers examples. 2021-04-19 12:34:02 -05:00
Edu4rdSHL
84530ec971
Print the snapshots date in local timezone format. 2021-04-17 15:10:22 -05:00
Edu4rdSHL
24d712f6d9
Fix typo. 2021-04-17 02:33:56 -05:00
Edu4rdSHL
93df0cbf83
Update README.md 2021-04-17 02:31:26 -05:00
Edu4rdSHL
48fb307c57
Only add / if the strings aren't empty. 2021-04-17 02:02:26 -05:00
Edu4rdSHL
a7536ef65a
Append / to dest_dir and source_dir if no specified. 2021-04-17 01:55:03 -05:00
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