Release 22.05 #155

Merged
jlecour merged 81 commits from unstable into stable 2022-05-10 17:01:18 +02:00
Showing only changes of commit d0f8e6c753 - Show all commits

View file

@ -1,8 +1,9 @@
#!/bin/sh #!/bin/sh
PROGNAME="dump-server-state" PROGNAME="dump-server-state"
REPOSITORY="https://gitea.evolix.org/evolix/dump-server-state"
VERSION="22.03.7" VERSION="22.03.8"
readonly VERSION readonly VERSION
dump_dir= dump_dir=
@ -20,6 +21,8 @@ Copyright 2018-2022 Evolix <info@evolix.fr>,
Brice Waegeneire <bwaegeneire@evolix.fr> Brice Waegeneire <bwaegeneire@evolix.fr>
and others. and others.
${REPOSITORY}
${PROGNAME} comes with ABSOLUTELY NO WARRANTY.This is free software, ${PROGNAME} comes with ABSOLUTELY NO WARRANTY.This is free software,
and you are welcome to redistribute it under certain conditions. and you are welcome to redistribute it under certain conditions.
See the GNU General Public License v3.0 for details. See the GNU General Public License v3.0 for details.
@ -31,10 +34,15 @@ ${PROGNAME} is dumping information related to the state of the server.
Usage: ${PROGNAME} --dump-dir=/path/to/dump/directory [OPTIONS] Usage: ${PROGNAME} --dump-dir=/path/to/dump/directory [OPTIONS]
Options Main options
-d, --dump-dir path to the directory where data will be stored -d, --dump-dir path to the directory where data will be stored
--backup-dir legacy option for dump directory --backup-dir legacy option for dump directory
-f, --force keep existing dump directory and its content -f, --force keep existing dump directory and its content
-v, --verbose print details about each step
-V, --version print version and exit
-h, --help print this message and exit
Dump options
--[no-]etc copy of /etc (default: no) --[no-]etc copy of /etc (default: no)
--[no-]dpkg-full copy of /var/lib/dpkg (default: no) --[no-]dpkg-full copy of /var/lib/dpkg (default: no)
--[no-]dpkg-status copy of /var/lib/dpkg/status (default: yes) --[no-]dpkg-status copy of /var/lib/dpkg/status (default: yes)
@ -56,9 +64,6 @@ Options
--[no-]dmesg copy of dmesg (default: yes) --[no-]dmesg copy of dmesg (default: yes)
--[no-]mysql copy of mysql processes (default: yes) --[no-]mysql copy of mysql processes (default: yes)
--[no-]systemctl copy of systemd services states (default: yes) --[no-]systemctl copy of systemd services states (default: yes)
-v, --verbose print details about each step
-V, --version print version and exit
-h, --help print this message and exit
END END
} }
debug() { debug() {