Skip to content

Dump process failed with exitcode 2 : Misuse of shell builtins  #401

@robertrutenge

Description

@robertrutenge

Hi ,
I got this error when backup:run command is executed .

Exception trace: #0 /home/bandali/public_html/ivc/vendor/spatie/db-dumper/src/DbDumper.php(222): Spatie\DbDumper\Exceptions\DumpFailed::processDidNotEndSuccessfully(Object(Symfony\Component\Process\Process)) #1 /home/bandali/public_html/ivc/vendor/spatie/db-dumper/src/Databases/MySql.php(111): Spatie\DbDumper\DbDumper->checkIfDumpWasSuccessFul(Object(Symfony\Component\Process\Process), '/home/bandali/p...')`

I know it has to do with permission to access the mysqldump file on the server . At the moment i am on shared hosting , and i talked with the support team and they said the user/bin directory can't be accessed on a shared hosting . Is there any workaround to make this work ? If not , how can i backup just the files without exporting the database ?
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions