If you want to back up (dump) all databases hosted on your Plesk server with a single command, you can use our custom-built script.
This tool automatically detects all databases in your Plesk configuration and creates individual SQL dump files for each.
Optionally, you can schedule this script as a cron job to perform regular automatic backups and keep your system secure.
Alternatively:

All backup files will be located in the
This tool automatically detects all databases in your Plesk configuration and creates individual SQL dump files for each.
Optionally, you can schedule this script as a cron job to perform regular automatic backups and keep your system secure.
🖥️ 1. Connect to Your Server via SSH
First, connect to your server using the root or a privileged user account:Note: For better security, it is recommended to use a user with sudo privileges instead of direct root access.
📂 2. Download the Script File
You can download the Bash script to your server using eitherwget or curl. Run one of the following commands:
Bash:
wget https://dosya.jetto.net/sql.sh
Alternatively:
Bash:
curl -O https://dosya.jetto.net/sql.sh
🔐 3. Grant Execute Permissions
Make the script executable by assigning the proper permissions:
Bash:
chmod 755 sql.sh
🗃️ 4. Run the Script
Now execute the script to start the backup (dump) process:
Bash:
sh sql.sh
✅ 5. Example Output
Once the script finishes running, you should see an output similar to this:

All backup files will be located in the
/root/db_backups directory.