mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #1563] Error when running the new backup script #977
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#977
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @josvink66 on GitHub (Jul 13, 2023).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1563
Server Info (please complete the following information):
Installation Method:
Agent Info (please complete the following information):
Describe the bug
When running the new backup.sh script it throw an error (see screenhot). The backup process does continue but in the end the file necessary for the mongo to postgresql conversion is not created. So I can't use the backup for the restore on the new OS,
To be absolute sure I was using the latest backup.sh I made sure to remove the old version.
To Reproduce
Steps to reproduce the behavior:
wget -N https://raw.githubusercontent.com/amidaware/tacticalrmm/master/backup.sh
chmod +x backup.sh
./backup.sh
Expected behavior
A full backup file with the file necessary for the mongo to postgresql conversion.
Screenshots

Additional context

Running the command that throws the error manually gives the same error:
@dinger1986 commented on GitHub (Jul 13, 2023):
I just ran
node /meshcentral/node_modules/meshcentral --dbexporton my trmm server and it worked fine.Do you have anything else on that server?