> For the complete documentation index, see [llms.txt](https://helpcenter.xopero.com/xopero-one-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.xopero.com/xopero-one-en/common-issues/workstations-and-servers/backup-task-ends-with-a-dv0270-user-defined-script-failed-error.md).

# Backup task ends with a "DV0270: User-defined script failed" error

## Issue

> Backup task ends with error: **"DV0270: User-defined script failed"**.

***

## Cause

This occurs because the path to **MySQL** dump is missing from the operating system **PATH** variable.

***

## Resolution

Add the **MySQL dump** utility to the system **PATH** (this is required to allow the **MySQL** database backup script installed on **Linux** to properly define its arguments):

1. Run the terminal as root, for example:

<figure><img src="/files/AU3VCJP64r9hCbX4B3wD" alt=""><figcaption></figcaption></figure>

2. Execute the following commands:&#x20;

```bash
mv /usr/bin/mysqldump /usr/bin/mysqldump0
echo '#!/bin/bash' > /usr/bin/mysqldump
echo 'export LD_LIBRARY_PATH=' >> /usr/bin/mysqldump
echo '/usr/bin/mysqldump0 $@' >> /usr/bin/mysqldump
chmod a+x /usr/bin/mysqldump
```

<figure><img src="/files/qQcmbhaQQRraoOIlULVW" alt=""><figcaption><p><em>Executing the suggested commands in terminal.</em></p></figcaption></figure>

3. Assigning the path to the **MySQL** dump utility should resolve issues with backing up **MySQL** databases.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpcenter.xopero.com/xopero-one-en/common-issues/workstations-and-servers/backup-task-ends-with-a-dv0270-user-defined-script-failed-error.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
