Can't backup databases — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberLoader

Can't backup databases

I am using this script at https://extremeshok.com/5368/mysql-mariadb-dumpbackup-databases-single-separate-files/, test others but they are the same so.. it should work but I get:

[[email protected] /]# sh mysqldumpall.sh
mysqldumpall.sh: line 2: $'\r': command not found
mysqldumpall.sh: line 9: $'\r': command not found
mysqldumpall.sh: line 11: $'\r': command not found
: No such file or directoryusr/bin/mysql
mysqldumpall.sh: line 13: $'\r': command not found
mysqldumpall.sh: line 14: syntax error near unexpected token `$'do\r''
'ysqldumpall.sh: line 14: `for db in $databases; do

Comments

Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!