Open
Description
Summary
The interactive restore script is broken in many ways.
- The
DEFAULT_CREATE_LATEST_SYMLINK=TRUE
does not work. I dont have any symlink. - When restoring the mongo db I have to press
ENTER
when I get asked to select the db name since I want to restore all. Otherwise it wont work. - I will be asked for user and password since the script can't find it any more. They are in
DB01_
and I can see them in the environment - backups work.
The non interactive restore script is broken:
- I can't define empty db name and
ALL
is not recognized - I can't define the option if I want to drop db before restoring. Meaning it drops me to an interactive shell.
I ended up now restoring manually because to many things are broken to find workarounds for it:
mongorestore --gzip -d= -h=db --port=27017 --drop -u=service_account -p=my_secret_pw--archive=/backup/mongo__db_20250328-121235.archive.gz
Environment
tiredofit/db-backup:4.1.16