Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving backup_and_restore.sh script before new-coming features #6030

Open
wants to merge 31 commits into
base: staging
Choose a base branch
from
Open
Changes from 27 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
e3311ae
Adding `print_usage` function to `backup_and_restore.sh` script
h3ssan Aug 19, 2024
2460a98
Add colored messages in `backup_and_restore.sh` script
h3ssan Aug 19, 2024
5eceecf
Move the `thread count notice` into the usage menu
h3ssan Aug 19, 2024
82def75
Fix: Double quoted variable `BACKUP_LOCATION`.
h3ssan Aug 19, 2024
a621aea
Bug Fix: overwriting filesystem possible
h3ssan Aug 19, 2024
0d95962
Simplify the check expression of `THREADS`
h3ssan Aug 19, 2024
67ba81a
Implement `check_required_tools` function
h3ssan Aug 20, 2024
f64efb3
Clarifying the duplicate assigning of `MAILCOW_BACKUP_LOCATION`
h3ssan Aug 20, 2024
cfe13b0
Fix Bug: `backup_and_restore.sh` script, increment `i` only if needed
h3ssan Aug 20, 2024
4d00ca6
Fix: Crash on entering non-numeric value
h3ssan Aug 20, 2024
a2ab527
Fix: backup_location should be exists, for the restore
h3ssan Aug 20, 2024
ea24505
Fix: Crash on entering non-numeric value
h3ssan Aug 20, 2024
c45b860
Implement `declare_restore_point` function
h3ssan Aug 21, 2024
de743cd
Typo in `calling declare_restore_point`
h3ssan Aug 21, 2024
728a995
Fix: `grep: warning: stray \ before :`
h3ssan Aug 21, 2024
d398eca
Implement `declare_file_selection` function
h3ssan Aug 21, 2024
bd229b9
Implement `restore_docker_component` to restore components in one place
h3ssan Aug 21, 2024
d0b38b7
Fix last `grep: warning: stray \ before :`
h3ssan Aug 21, 2024
93fc601
Write a clarification comment for function `restore_docker_component`
h3ssan Aug 21, 2024
78a6266
Introduce new `help` screen, with new flags depends script
h3ssan Aug 22, 2024
92118b4
Use named colors, instead of ANSI codes
h3ssan Aug 22, 2024
a50bf61
Fix: THREADS not printed in `backup_and_restore.sh`
h3ssan Aug 22, 2024
85aa1fb
Fix: Double quote array expansions to avoid re-splitting elements
h3ssan Aug 23, 2024
b7abccc
Fix: mysql component not shown when trying to restore it
h3ssan Aug 27, 2024
9b4bae8
Fix: Make sure there's components before restoring process
h3ssan Aug 27, 2024
cd75642
Add `grep`, `find` and `sed` to the required_tools, also BusyBox check.
h3ssan Aug 27, 2024
4cac270
Remove duplicate threads notice for backup process
h3ssan Aug 27, 2024
48592ab
Implement `--yes` flag, to automate `--delete` and `--backup` script
h3ssan Aug 27, 2024
9d97377
Fix: `find: No such file or directory` when directory not contains data
h3ssan Aug 27, 2024
a20d927
Fix dovecot resync: failed: Connection refused
h3ssan Aug 29, 2024
e8b6eb3
Fix: dovecot resync: failed connection refused
h3ssan Aug 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading