Jérémy Lecour
e9cf39ad40
remove PING_BEFORE_SSH
2023-01-13 11:26:41 +01:00
Jérémy Lecour
22ba5ed823
declare bash arrays
2023-01-13 11:26:19 +01:00
Jérémy Lecour
7f4cb78826
shellcheck
2023-01-13 11:17:20 +01:00
Jérémy Lecour
7199ffc64f
Add PING_BEFORE_SSH (enabled by default)
2023-01-09 11:45:39 +01:00
Jérémy Lecour
4ff1bc5976
better comments
2023-01-06 16:59:12 +01:00
Jérémy Lecour
aeebb815c8
Use bash array for temp_files
2023-01-06 14:45:02 +01:00
Jérémy Lecour
c2d08ed80e
create and sync mtree files
2023-01-06 14:34:51 +01:00
Jérémy Lecour
c3c98b64f2
Use bash array for list of paths to include
2023-01-06 14:33:20 +01:00
Jérémy Lecour
053c339e8f
better comments
2023-01-05 13:45:17 +01:00
Jérémy Lecour
d75d75cd4c
Use an array to build the rsync commands, instead of eval
2023-01-04 23:32:12 +01:00
Jérémy Lecour
58f41963a7
store temp_files in TMPDIR instead of current directory
2023-01-04 14:51:10 +01:00
Jérémy Lecour
f6c8d966d7
shellcheck
2023-01-04 14:20:12 +01:00
Jérémy Lecour
82df2b38e9
move variables around to simplify common usage
2023-01-04 14:19:48 +01:00
Jérémy Lecour
f5660b1e46
doc
2023-01-04 12:34:17 +01:00
Jérémy Lecour
8d4105cf31
sync only the Rsync stats alongside the canary file
2023-01-04 11:34:42 +01:00
Jérémy Lecour
a957498b6f
push rsync log file with the canary file
2023-01-04 09:40:26 +01:00
Jérémy Lecour
17c2868fee
shellcheck fixes
2023-01-04 09:20:41 +01:00
Jérémy Lecour
c3f65a1722
extract variables
2023-01-04 09:19:47 +01:00
Jérémy Lecour
9ee784509d
add whitespace to align log outputs with start/stop
2023-01-04 09:16:00 +01:00
Jérémy Lecour
b6d50cc921
remove trailing slash in dump_dir
2023-01-04 09:15:26 +01:00
Jérémy Lecour
0235906546
fix dump_file
2023-01-04 09:13:46 +01:00
Jérémy Lecour
b1c5b693ee
Output error file if size is not null
2023-01-04 09:13:22 +01:00
Jérémy Lecour
65ba8695ad
Add documentation comments
2023-01-04 07:45:47 +01:00
Jérémy Lecour
c6a89cbc32
Reorder functions
2023-01-04 07:35:26 +01:00
Jérémy Lecour
c368c9b11a
typo
2023-01-03 23:50:34 +01:00
Jérémy Lecour
910a7398fb
error codes
2023-01-03 23:50:23 +01:00
Jérémy Lecour
e3c7da32a9
Add logs and error control
2023-01-03 23:30:50 +01:00
Jérémy Lecour
4496ea883a
explicit canary file
2023-01-03 09:59:13 +01:00
Jérémy Lecour
cb5c842979
Extract functions for each local task
2023-01-01 23:04:44 +01:00
Jérémy Lecour
05a62e17b5
client: Release 22.12
2022-12-27 13:37:48 +01:00
Jérémy Lecour
8babc64e0d
client: log line with more details
2022-12-27 13:36:24 +01:00
Jérémy Lecour
aa7366ce2e
client: separate Rsync for the canary file if the main Rsync has finished without errors
2022-12-27 11:56:07 +01:00
Jérémy Lecour
ef744f77cf
client: No more fallback if dump-server-state is missing
2022-12-27 11:11:02 +01:00
Jérémy Lecour
80426c9ba9
whitespaces
2022-12-27 11:09:37 +01:00
Jérémy Lecour
b34ee2c3dc
client: use long options for readability
2022-12-27 11:09:11 +01:00
Jérémy Lecour
94b470770f
client: use sub shells instead of moving around
2022-12-27 10:46:53 +01:00
Jérémy Lecour
ed0645c9d2
remodel how we build the rsync command ( #63 )
...
* use a log file for rsync
* build the command argument by argument, without backslashes
* move excludes into a file
Co-authored-by: Jeremy Lecour <jlecour@evolix.fr>
Reviewed-on: evolix/evobackup#63
2022-12-27 10:43:39 +01:00
Jérémy Lecour
140a498e28
client: Only one loop for all redis instances
2022-12-27 10:38:55 +01:00
David Prevot
bdd3ef7350
CI: Push *.buildinfo too
2022-12-22 11:39:42 +01:00
Alexis Ben Miloud--Josselin
6e0ab85c6b
client: ignore errors when listing instances
2022-12-13 09:53:10 +01:00
David Prevot
ff681275e3
CI: Don’t use Drone CI anymore
2022-12-12 17:27:36 +01:00
David Prevot
1a892ba002
CI: Actually limit upload to .deb and .changes
2022-12-12 17:13:28 +01:00
Alexis Ben Miloud--Josselin
e3a969f3e2
client: replace rm ** by find -delete
...
** has no particular meaning in bash unless shopt globstar is
set (it isn't by default).
2022-12-12 16:06:58 +01:00
David Prevot
ca4fe4ffb5
CI: Limit upload to .deb and .changes
2022-12-12 11:42:19 +01:00
David Prevot
2338c92fe3
CI: Upload to pub2
2022-12-12 10:56:13 +01:00
David Prevot
d2a76dce9c
CI: use build-area instead of outside of scope subdirectory
2022-12-12 10:26:06 +01:00
David Prevot
4476802182
Use sbuild during CI
2022-12-09 13:42:44 +01:00
Mathieu Trossevin
1e35aaa4db
Corrige messages d'erreurs intempestif
2022-12-08 14:09:37 +01:00
Jérémy Lecour
7b10b56e35
add gobal .gitignore
2022-11-28 15:27:26 +01:00
Jérémy Lecour
c8cfbe18aa
server: release 22.11
2022-11-28 15:06:53 +01:00