Commit graph

790 commits

Author SHA1 Message Date
Jérémy Lecour 5557f42870
Client - Release 24.07
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
gitea/evobackup/pipeline/tag This commit looks good
2024-07-16 15:10:36 +02:00
Jérémy Lecour 93567b913f
dump/mysql.sh : give write permissions to mysql on tabs directories
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
2024-07-16 15:08:12 +02:00
Jérémy Lecour cb5bef3b54
Allow everybody to "x" on LOCAL_BACKUP_DIR
Set the directory permissions to 711 to allow anyone to walk through the backup directory, but not list the content
2024-07-16 15:08:12 +02:00
Mathieu Trossevin 886e47ebf7
dump/postgresql: Fix dump_cmd usage
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
`var="(<cmd>)"; ${var}` doesn't work in shell.
Use "eval" to make it work.
2024-07-09 11:20:00 +02:00
Mathieu Trossevin ba087a2a35
dump/postgrepsql: Remove useless variables copied from dump/mysql
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
These caused errors, weren't used at all in the script outside of
changing the default value of another variable, and couldn't be set
anyway.

(We might want to re-add option_port later as it would be useful. But
right now it isn't usable at all.)
2024-07-09 10:56:47 +02:00
Alexis Ben Miloud--Josselin e9d802105a dump/postgrepsql: Add missing variables
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
These variables were used but undefined. The lines come from
client/lib/dump/mysql.sh.
2024-07-08 10:16:49 +02:00
Mathieu Trossevin 53ae37fcea
Use correct variable when detecting local sshrc template
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
2024-06-03 11:27:39 +02:00
Jérémy Lecour 201b22c145
Client - Release 24.05.1
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
gitea/evobackup/pipeline/tag This commit looks good
2024-05-14 08:19:37 +02:00
Jérémy Lecour 0e98c6d4cd
client: fix shell syntax error 2024-05-14 08:18:02 +02:00
Jérémy Lecour f3cfda48f7
Client - Release 24.05
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
gitea/evobackup/pipeline/tag This commit looks good
2024-05-02 10:22:39 +02:00
Jérémy Lecour dc003ecbca
Add previous release dates in CHANGELOG 2024-05-02 10:20:53 +02:00
Jérémy Lecour 0d32cb2cde
evobackupctl: update LIBDIR when copying the template 2024-05-02 10:18:25 +02:00
Jérémy Lecour 96aa0cf7a2
mention the Ansible role in the client README 2024-05-02 10:17:46 +02:00
Jérémy Lecour be6ebdf415
evobackupctl: simplify the program path retrieval 2024-05-02 10:17:22 +02:00
Jérémy Lecour ebad3bb8d9
README formatting (syntax highlighting)
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
gitea/evobackup/pipeline/tag This commit looks good
2024-04-30 10:02:35 +02:00
Jérémy Lecour 3bcc39088b
README formatting
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
2024-04-30 09:59:37 +02:00
Jérémy Lecour ef8c04fe4e
client: release 24.04.1
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
2024-04-30 09:57:53 +02:00
Jérémy Lecour 981420ed23
Add a general README and a client README 2024-04-30 09:56:28 +02:00
Jérémy Lecour 8a6db11ca7
zzz_evobackup: improve the documentation 2024-04-30 09:56:27 +02:00
Jérémy Lecour 939ced46c2
evobackupctl: fix args check 2024-04-30 09:56:25 +02:00
Jérémy Lecour 288d61d6b9
client: release 24.04
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
2024-04-29 17:59:57 +02:00
Jérémy Lecour 1c44943143
Merge branch 'client-functions' 2024-04-29 17:58:51 +02:00
Jérémy Lecour 2cf8264127
evobackupctl: change option name
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
2024-04-29 17:52:35 +02:00
Jérémy Lecour d9674acff0
evobackupctl: add "--init-jail-commands" 2024-04-29 16:29:44 +02:00
Jérémy Lecour 73bd007f6e
evobackupctl: use $ARGS 2024-04-29 16:27:22 +02:00
Jérémy Lecour 00e5384cd1
Use placeholder values for script template 2024-04-29 14:49:41 +02:00
Jérémy Lecour ee111b8c5c
client: update VERSION 2024-04-29 10:59:30 +02:00
Jérémy Lecour 0f1d9148fd
evobackupctl: If no argument is provided, print help and exit 2024-04-29 10:59:09 +02:00
Jérémy Lecour fd856b7423
evobackupctl: update verison command output 2024-04-29 10:48:46 +02:00
Jérémy Lecour 9c8dca7b70
update CHANGELOG 2024-04-08 13:15:22 +02:00
Jérémy Lecour 699ed5a781
use $TMPDIR if available 2024-03-22 11:32:18 +01:00
Jérémy Lecour 859bb800d4 Merge pull request 'fix-tempfiles' (#72) from fix-tempfiles into master
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
Reviewed-on: #72
2024-03-22 11:27:34 +01:00
Brice Waegeneire 21533c6fb9 client: Write temporary files in /tmp
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
By default "mktemp" creates a temporary file in the current working directory,
which in the context of Debian's cron is /. To avoid littering /, we add the
option "--tmpdir" that use $TMPDIR or /tmp instead.
2024-03-22 10:05:10 +01:00
Brice Waegeneire 9510546d48 client: Correctly clean up temporary files
The function "build_rsync_main_cmd" is called in a subshell, so it can't
effectively modify it's parent variable "temp_files". To correctly cleanup
those temporary files, we do it when this specific function exits.
2024-03-22 09:56:03 +01:00
Mathieu Trossevin f1d4e6ed9d
fix(includes): Avoid breaking is_btrfs if path doesn't exists
Some checks failed
gitea/evobackup/pipeline/head There was a failure building this commit
This should return with a err code of 1, not result in the entire
command breaking
2024-02-06 15:03:21 +01:00
Jérémy Lecour da1d4356dd
don't exit the whole program if a sync task can't be done 2024-01-26 16:04:00 +01:00
Jérémy Lecour 86ee6406a5
manually source dump libraries 2024-01-15 07:35:27 +01:00
Jérémy Lecour 230ad8ae79
update comments for the new function name 2024-01-11 08:03:09 +01:00
Jérémy Lecour 282bb6f1bc
dynamically include dump files 2024-01-10 15:06:17 +01:00
Jérémy Lecour 45d0205cc1
add pigz compression method 2024-01-09 18:02:22 +01:00
Jérémy Lecour f71dd862bb
Add options to dump_mysql_tabs 2024-01-09 13:30:55 +01:00
Jérémy Lecour 8d9c60b543
Add command logging 2024-01-09 11:24:03 +01:00
Jérémy Lecour 2b4333bded
path_to_str: simplify code 2024-01-09 11:22:18 +01:00
Jérémy Lecour f3e25a7beb
Use env-based shebang for shell scripts 2024-01-09 10:11:31 +01:00
Jérémy Lecour 7a9663781d
add automatic trace mode if TRACE=1 2024-01-09 08:47:18 +01:00
Jérémy Lecour a5ff9199b3
long option name 2024-01-09 08:46:58 +01:00
Jérémy Lecour 257679364d
rewrite (again) mysql functions 2024-01-09 08:45:24 +01:00
Jérémy Lecour 01fb231437
Vagrant definition for manual tests 2024-01-08 23:01:43 +01:00
Jérémy Lecour 0f0b328f27
include main.sh in evobackupctl 2024-01-02 12:11:55 +01:00
Jérémy Lecour 28a0f7a17a
CHANGELOG update (no semver) 2023-12-29 18:26:07 +01:00