amidaware / tacticalrmm

A remote monitoring & management tool, built with Django, Vue and Go.
https://docs.tacticalrmm.com
Other
3.25k stars 448 forks source link

Error when running the new backup script #1563

Closed josvink66 closed 1 year ago

josvink66 commented 1 year ago

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 image

Additional context Running the command that throws the error manually gives the same error: image

dinger1986 commented 1 year ago

I just ran node /meshcentral/node_modules/meshcentral --dbexport on my trmm server and it worked fine.

Do you have anything else on that server?