Patrick Marchand
d2b6094f7f
Fix quoting and escaping shellcheck errors
...
shellcheck was still complaining about a few SC1117 and SC2086
warnings. I ignored those that did not seem necessary and fixed the
rest. The less linter noise the better.
2020-04-15 14:46:14 -04:00
Jérémy Lecour
731be98193
Add pt-show-grants to dump MySQL grants
2020-04-15 15:49:41 +02:00
Jérémy Dubois
1fb0af4255
/srv is not on bsd systems
2020-03-25 09:31:44 +01:00
Jérémy Dubois
e043118a78
Dump partitions by default on OpenBSD
2020-03-20 11:56:52 +01:00
Jérémy Lecour
81a5883d72
Log SSH errors also to logfile
2020-03-19 07:35:01 +01:00
Jérémy Lecour
34443b18bd
Fail on unassigned variables
2020-03-19 07:34:35 +01:00
Victor LABORIE
0a6b5c1b80
Do not run inc / rm in background when not using btrfs
2020-03-09 16:08:17 +01:00
Victor LABORIE
ed83404806
Add lock for bkctld inc / rm when not using btrfs ( Fix #32 )
2020-03-05 14:49:25 +01:00
Jérémy Lecour
6d7072234d
improve comments readability
2020-02-14 10:52:54 +01:00
Jérémy Lecour
124af075ae
improve partitions dump
2020-02-13 14:34:49 +01:00
Jérémy Lecour
48ca7cc8e4
add a schema-only dump for MySQL databases
2020-02-13 14:34:09 +01:00
Jérémy Lecour
2aeba60095
better install documentation (cron jobs)
2020-02-13 14:27:46 +01:00
Victor LABORIE
24ffa76dfc
Do not unnecessary use is-on and reload in ip/port/key ( Fix #31 )
2020-02-05 14:58:15 +01:00
Victor LABORIE
23c98f64aa
Don't force Vagrant::DEFAULT_SERVER_URL (doesn't work with recent Vagrant version)
2020-01-08 14:31:43 +01:00
Jérémy Lecour
86f6089ce6
check-last-incs.sh : new script to quickly check last inc for jails
2019-12-15 18:54:57 +01:00
Jérémy Lecour
fe6811bc1e
check-incs.sh : whitespaces and braces
2019-12-15 18:52:09 +01:00
Jérémy Lecour
832a219f0b
"kill -O" doesn't exist, "kill -0" does!
2019-11-12 14:49:16 +01:00
Jérémy Lecour
da40afa99c
Add findmnt(8) output in the backup
2019-10-29 17:30:47 +01:00
Jérémy Lecour
4eb5e61ff0
improve iptables backup readability
2019-10-18 11:53:29 +02:00
Jérémy Lecour
055ee8dd90
kill process if really exists, otherwise remove the pid file
2019-09-26 09:32:51 +02:00
Gregory Colpart
2023724370
Add dump iptables / pf
2019-09-25 15:11:05 +02:00
Jérémy Lecour
e83f94eaad
make SSH_CONNECT_TIMEOUT configurable from outside
2019-09-23 18:06:27 +02:00
Jérémy Lecour
ddba0942e3
Add variable to toggle the servers fallback
2019-09-23 18:06:00 +02:00
Gregory Colpart
6b26d7fc53
add command to dump Unix rights
2019-09-16 14:15:50 +02:00
Tristan Pilat
27b346a20d
Merge branch 'pgrep' of evolix/evobackup into master
...
@jlecour being okay with this, I merge
2019-09-05 17:48:07 +02:00
Tristan PILAT
7eecbe3745
Replace ps for pgrep to list evobackup child procs
...
The command being used to identify evobackup child processes isn't
supported on OpenBSD. The pgrep command is supported on both Linux and
OpenBSD.
2019-09-05 11:41:56 +02:00
Jérémy Lecour
04296895da
exclude drbd disks from list
2019-09-05 11:15:25 +02:00
Jérémy Lecour
e2156ad41a
Fix zzz_evobackup for fdisk command
2019-09-04 13:16:09 +02:00
Jérémy Lecour
35f3434237
Use lsblk to find actual disks
2019-09-03 10:26:38 +02:00
Jérémy Lecour
d7b221796e
30 secondes suffisent par défaut
2019-08-23 14:26:48 +02:00
Jérémy Lecour
55e9c0dd63
Tasks switch are configurable from envirnoment variables too.
2019-08-23 12:05:22 +02:00
Jérémy Lecour
24481ca37e
Same timeout for Rsync than SSH
2019-08-23 12:04:57 +02:00
Jérémy Lecour
242153b472
Make local and sync tasks skipable.
2019-08-22 14:50:20 +02:00
Jérémy Lecour
6ede66fa5c
Use printf instead of echo where relevant
2019-08-22 13:26:18 +02:00
Jérémy Lecour
c2cbcb23b4
Print SSH connection errors only if no server is available.
2019-08-22 13:25:45 +02:00
Jérémy Lecour
075f35e1a0
Merge branch 'variable-for-log-and-pidfile' of evolix/evobackup into master
2019-08-22 10:38:23 +02:00
Benoît S
c3e9614dbb
Adding LOGFILE variable
...
This is way better than hardcoding log file path.
2019-07-10 14:30:18 +02:00
Jérémy Lecour
aa97d3ea88
fix partitions list
...
No need to look for all partitions, only disks are needed.
2019-06-24 16:36:36 +02:00
Jérémy Lecour
d0afc0089c
zzz_evobackup: better disks detection
2019-06-11 11:26:31 +02:00
Victor LABORIE
3d3e235ecc
Make partitions dump by default on Linux
2019-06-05 11:49:18 +02:00
Jérémy Lecour
e174f24b16
Merge branch 'ssh-timeout' of evolix/evobackup into master
2019-06-03 15:32:23 +02:00
Jérémy Lecour
607333d120
Merge branch 'log-server-name' of evolix/evobackup into master
2019-06-03 15:31:55 +02:00
Jérémy Lecour
f9c9ab6113
zzz_evobackup: add rsync server in logfile
2019-06-03 15:28:35 +02:00
Jérémy Lecour
a4ae0b84ed
zzz_evobackup : SSH timeout at 60 seconds by default
2019-06-03 15:13:30 +02:00
Jérémy Lecour
25d87b5f86
Merge branch 'netstat-ss' of evolix/evobackup into master
2019-04-25 13:28:38 +02:00
Jérémy Lecour
ad82cc7b7a
replace netstat by ss on Linux
2019-04-25 13:27:57 +02:00
Jérémy Lecour
7376e52de2
Merge branch 'check-incs' of evolix/evobackup into master
2019-04-25 11:42:59 +02:00
Jérémy Lecour
93f55bfbb8
Merge branch 'cosmetic-changes' of evolix/evobackup into master
2019-04-25 11:39:37 +02:00
Jérémy Lecour
ead3cc5678
extract date variable
2019-04-08 11:09:11 +02:00
Jérémy Lecour
02a83c1a76
Remove the leading 0 from the date output
2019-04-08 10:55:41 +02:00