{"id":131307,"date":"2025-12-31T14:28:04","date_gmt":"2025-12-31T19:28:04","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=131307"},"modified":"2026-10-12T08:57:22","modified_gmt":"2026-10-12T12:57:22","slug":"backup-manager-bare-metal-servers","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/","title":{"rendered":"Using Backup Manager on Bare Metal Servers"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You have a bare metal server and you want scheduled backups with a clear way to restore them. This guide covers <strong>Backup Manager bare metal<\/strong> setup: install the client, open the dashboard, restore files and databases from the command line, and prepare MySQL, MariaDB, or PostgreSQL so scheduled backups can dump your databases.<\/p>\n\n\n\n<p class=\"alert alert-info wp-block-paragraph\"><strong>Note:<\/strong> This guide is only for bare metal servers. Servers with cPanel use a different Backup Manager client. If you run a cPanel VPS or Dedicated server, see the <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-vps-dedicated\/\">Backup Manager cPanel Guide for VPS\/Dedicated Servers<\/a> or the <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-and-restore\/backup-manager-whm-vps-dedicated\/\">Backup Manager WHM Guide for VPS\/Dedicated Servers<\/a>.<\/p>\n\n\n\n<p class=\"alert alert-warning wp-block-paragraph\"><strong>Important:<\/strong> Troubleshooting bare metal servers is outside the scope of InMotion Hosting support. For hands-off setup, backup configuration, and ongoing server management, contact <a href=\"https:\/\/www.inmotionhosting.com\/solutions\/inmotion-solutions\">InMotion Solutions<\/a>. For anything else, consult your operating system documentation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Backup Manager Bare Metal Requirements<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Check these items before you install the client.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Either systemd 229 or later, or a cron daemon that can read <code>\/etc\/cron.d\/<\/code>.<\/li>\n\n\n\n<li>OpenSSL.<\/li>\n\n\n\n<li>curl.<\/li>\n\n\n\n<li>bash.<\/li>\n\n\n\n<li>libc or glibc. The musl library is not supported.<\/li>\n\n\n\n<li>An init system: SysV, systemd, or upstart.<\/li>\n\n\n\n<li>If MySQL or MariaDB is installed, root must be able to run <code>mysql<\/code> and <code>mysqldump<\/code> without a password prompt. See <a href=\"#mysql-mariadb-configuration\">MySQL and MariaDB configuration<\/a> later in this guide.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Tested operating systems<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">InMotion Hosting tested the Backup Manager client on these distributions. Newer releases of the supported distributions, such as Ubuntu 24.04 and Debian 13, should also work. The Python column shows each distribution&#8217;s default Python version.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Distribution<\/th><th>Family<\/th><th>Default Python version<\/th><th>Supported<\/th><\/tr><\/thead><tbody><tr><td>Ubuntu 20.04 LTS Focal<\/td><td>Debian<\/td><td>3.8<\/td><td>Yes<\/td><\/tr><tr><td>Ubuntu 22.04 LTS Jammy<\/td><td>Debian<\/td><td>3.10<\/td><td>Yes<\/td><\/tr><tr><td>Debian 12 Bookworm<\/td><td>Debian<\/td><td>3.11<\/td><td>Yes<\/td><\/tr><tr><td>Debian 11 Bullseye<\/td><td>Debian<\/td><td>3.9<\/td><td>Yes<\/td><\/tr><tr><td>Debian 10 Buster<\/td><td>Debian<\/td><td>3.7<\/td><td>Yes<\/td><\/tr><tr><td>CentOS 6<\/td><td>RedHat<\/td><td>2.6<\/td><td>No (GCC and Python are too old)<\/td><\/tr><tr><td>CentOS 7<\/td><td>RedHat<\/td><td>3.6<\/td><td>Yes<\/td><\/tr><tr><td>AlmaLinux 8<\/td><td>RedHat<\/td><td>3.6<\/td><td>Yes<\/td><\/tr><tr><td>AlmaLinux 9<\/td><td>RedHat<\/td><td>3.9<\/td><td>Yes<\/td><\/tr><tr><td>OpenSUSE Leap 15.5<\/td><td>SUSE<\/td><td>3.6<\/td><td>Yes<\/td><\/tr><tr><td>Alpine 3.18.6<\/td><td>(none)<\/td><td>3.11<\/td><td>No (Alpine uses musl)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If your distribution is on the supported list, you can install the client next.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install Backup Manager<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run every command in this section as the root user. The installer must run as root.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Install wget<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You download the installer with <code>wget<\/code>, so install it first. On Debian and Ubuntu:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">apt-get<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-y<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">install<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">wget<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">On RedHat-family systems, including Fedora, CentOS, and AlmaLinux:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">yum<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-y<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">install<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">wget<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Run the installation script<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Run these commands one at a time:<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Switch to the root user:<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">sudo<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">su<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">-<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<ol start=\"2\" class=\"wp-block-list article_list\">\n<li>Move to root&#8217;s home directory:<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">cd<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">\/root<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<ol start=\"3\" class=\"wp-block-list article_list\">\n<li>Download the installer:<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">wget<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-O<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">bakmgr-setup.sh<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">https:\/\/proxy-cache.inmotionhosting.com\/network-images\/backups\/bakmgr\/bakmgr-setup.txt<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<ol start=\"4\" class=\"wp-block-list article_list\">\n<li>Make the installer executable:<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">chmod<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">+x<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">bakmgr-setup.sh<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<ol start=\"5\" class=\"wp-block-list article_list\">\n<li>Run the installer with your server name:<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">.\/bakmgr-setup.sh<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">--host<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">$(<\/span><span style=\"color: #B392F0\">hostname<\/span><span style=\"color: #9ECBFF\"> <\/span><span style=\"color: #79B8FF\">-s<\/span><span style=\"color: #9ECBFF\">)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<ol start=\"6\" class=\"wp-block-list article_list\">\n<li>Delete the installer when it finishes:<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">rm<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-f<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">bakmgr-setup.sh<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"alert alert-warning wp-block-paragraph\"><strong>Important:<\/strong> The hostname must match your server&#8217;s machine name in the Account Management Panel (AMP). If you changed the server&#8217;s hostname, replace <code>$(hostname -s)<\/code> with your server ID (for example, <code>ded1234<\/code>) after <code>--host<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The installer runs these actions in order:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Stops with an error if the standard Backup Manager client (<code>\/opt\/backups\/bin\/backup_runner<\/code>) is already installed. That client is the one used on managed cPanel servers.<\/li>\n\n\n\n<li>Installs <code>gcc<\/code>, <code>openssl<\/code>, <code>curl<\/code>, and <code>bzip2<\/code> with yum, dnf, zypper, or apt-get, whichever your system has.<\/li>\n\n\n\n<li>Tries to open TCP port 4001 in ufw, firewalld, CSF, and APF so the dashboard is reachable.<\/li>\n\n\n\n<li>Downloads the Backup Manager client through the update script.<\/li>\n\n\n\n<li>Registers the server under the name you passed with <code>--host<\/code>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">With the client installed, you can see where it logs and which tools it added.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Log File Locations<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Check these first when a backup does not behave as expected.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Main log: <code>\/var\/log\/bakmgr.log<\/code><\/li>\n\n\n\n<li>Dashboard log on SysV systems: <code>\/var\/log\/bakmgr-dash.log<\/code><\/li>\n\n\n\n<li>Dashboard log on systemd and upstart systems: syslog<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Next, here are the scripts the installer adds.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Available Scripts<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Script<\/th><th>Purpose<\/th><\/tr><\/thead><tbody><tr><td><code>\/usr\/bin\/bakmgr<\/code><\/td><td>Command-line tool for validating configuration changes and restoring data. It is a symlink to <code>\/opt\/bakmgr\/bin\/bakmgr<\/code>, and <code>\/usr\/bin\/backup<\/code> points to it too. Run <code>-h<\/code> on any subcommand for help.<\/td><\/tr><tr><td><code>\/opt\/bakmgr\/bin\/cron<\/code><\/td><td>Runs from cron to create scheduled backups.<\/td><\/tr><tr><td><code>\/opt\/bakmgr\/bin\/bakmgr-setup<\/code><\/td><td>Runs during initial setup and after each update.<\/td><\/tr><tr><td><code>\/opt\/bakmgr\/bin\/bakmgr-update<\/code><\/td><td>Applies automatic updates through cron, without a package manager.<\/td><\/tr><tr><td><code>\/opt\/bakmgr\/bin\/bakmgr-uninstall<\/code><\/td><td>Removes Backup Manager. It leaves <code>\/etc\/bakmgr\/.auth.json<\/code> and <code>\/usr\/bin\/restic<\/code> in place.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Three configuration files control what gets backed up and how the dashboard runs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuration Files<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/etc\/bakmgr\/bakmgr.yaml<\/code>: controls what the backups include. You can edit it by hand, but the dashboard is the better tool when it can do the job.<\/li>\n\n\n\n<li><code>\/etc\/bakmgr\/.auth.json<\/code>: stores the API credentials the client receives when it registers. You should not need to edit it.<\/li>\n\n\n\n<li><code>\/etc\/bakmgr\/dash.yaml<\/code>: holds the dashboard settings. Restart the <code>bakmgr<\/code> service to apply changes. A default template lives at <code>\/etc\/bakmgr\/dash.yaml.example<\/code>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Most day-to-day changes happen in the dashboard, which the next section covers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Use the Backup Manager Dashboard<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The dashboard is a web interface for managing your backups. It runs on TCP port 4001.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Open the dashboard<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Browse to your server&#8217;s hostname on port 4001. Remember to use <code>https:\/\/<\/code> when you connect to this port.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;&lt;your-server-hostname&gt;:4001<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>&lt;your-server-hostname&gt;<\/code> with your server&#8217;s hostname. The dashboard is password protected. To set the password the first time, or to reset it later, run this command as root on the server:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">bakmgr<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">dash-password<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The dashboard login page also shows these instructions.<\/p>\n\n\n\n<p class=\"alert alert-info wp-block-paragraph\"><strong>Note:<\/strong> The installer tries to open TCP port 4001 automatically in ufw, firewalld, CSF, and APF. If your server uses a different firewall, open TCP port 4001 in it manually.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install a custom SSL certificate<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The dashboard uses a self-signed certificate by default, so your browser may show a security warning. To replace it with your own, place the files here:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SSL certificate: <code>\/etc\/bakmgr\/dash.crt<\/code><\/li>\n\n\n\n<li>Private key: <code>\/etc\/bakmgr\/dash.key<\/code><\/li>\n\n\n\n<li>CA bundle (optional): <code>\/etc\/bakmgr\/dash.cabundle<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Then restart the <code>bakmgr<\/code> service so the dashboard loads the new files. On systemd systems, run:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">systemctl<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">restart<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">bakmgr<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">On SysV or upstart systems, restart the <code>bakmgr<\/code> service with your init system&#8217;s own restart command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Backups are only useful if you can get data back, so the next section covers restores.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Restore Data from the Command Line<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>bakmgr<\/code> command restores files and databases.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Restore files<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>\/path\/to\/file<\/code> with the file or directory you want back:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">bakmgr<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">restore-files<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">\/path\/to\/file<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Export a MySQL database<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>restore-mysql<\/code> exports a database backup to the file path you give. The dump contains the output of the <code>dump_cmd<\/code> setting in <code>\/etc\/bakmgr\/bakmgr.yaml<\/code>.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">bakmgr<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">restore-mysql<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">\/path\/to\/export\/database.sql<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>\/path\/to\/export\/database.sql<\/code> with the location and file name you want.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">PostgreSQL databases<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For PostgreSQL, use <code>restore-pgsql<\/code>. Like <code>restore-mysql<\/code>, it writes a dump file to the path you give and does not change your live database. Run <code>bakmgr restore-pgsql -h<\/code> to see its options.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">bakmgr<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">restore-pgsql<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">\/path\/to\/export\/database.sql<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Get help and skip the backup prompt<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Every restore command has its own help page. For files:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">bakmgr<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">restore-files<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-h<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">For MySQL:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">bakmgr<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">restore-mysql<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-h<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">For PostgreSQL:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">bakmgr<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">restore-pgsql<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-h<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"alert alert-info wp-block-paragraph\"><strong>Note:<\/strong> If more than one backup exists for the type you request, Backup Manager asks which one to restore.<\/p>\n\n\n\n<p class=\"alert alert-success wp-block-paragraph\"><strong>Tip:<\/strong> Add <code>--latest<\/code> to pick the most recent backup automatically, which is useful in scripts:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">bakmgr<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">restore-files<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">--latest<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">\/path\/to\/file<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Database backups depend on how your database server handles logins, which the next section covers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Advanced Configuration: Database Server Setup<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Backup Manager dumps each database with its own snapshot. It does not store database credentials in <code>bakmgr.yaml<\/code>. Instead, it relies on the local operating system user logging in to the database server without a password prompt. The next sections cover what MySQL, MariaDB, and PostgreSQL need for that to work.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Put database client binaries in the fixed PATH<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Backup Manager calls <code>mysqldump<\/code>, <code>pg_dump<\/code>, and the other clients by bare name. Every <code>bakmgr<\/code> process (the scheduled backup, the dashboard, <code>bakmgr restore-*<\/code>, and the installer) replaces its inherited <code>PATH<\/code> with this fixed value when it starts:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Changes to <code>PATH<\/code> in <code>.bashrc<\/code>, <code>\/etc\/profile.d\/*<\/code>, <code>\/etc\/environment<\/code>, or systemd drop-ins have no effect on Backup Manager. The clients must resolve from one of those directories. Distribution packages already put them there, and packages from the PostgreSQL YUM Repository (PGDG) add links in <code>\/usr\/bin<\/code> through alternatives.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your binaries live somewhere else, such as <code>\/usr\/pgsql-16\/bin<\/code> without alternatives, <code>\/opt\/<\/code>, or a Software Collection, symlink them into <code>\/usr\/local\/bin<\/code>:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F97583\">for<\/span><span style=\"color: #E1E4E8\"> b <\/span><span style=\"color: #F97583\">in<\/span><span style=\"color: #E1E4E8\"> psql pg_dump pg_dumpall; <\/span><span style=\"color: #F97583\">do<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">    <\/span><span style=\"color: #B392F0\">ln<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-s<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">\/usr\/pgsql-16\/bin\/<\/span><span style=\"color: #E1E4E8\">$b <\/span><span style=\"color: #9ECBFF\">\/usr\/local\/bin\/<\/span><span style=\"color: #E1E4E8\">$b<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F97583\">done<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">To see what Backup Manager will find, run this check. Each tool you use should print a path:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">env<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">\\<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">    <\/span><span style=\"color: #9ECBFF\">sh<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-c<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">&#39;command -v mysql mysqldump psql pg_dump pg_dumpall&#39;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 id=\"mysql-mariadb-configuration\" class=\"wp-block-heading\">MySQL and MariaDB configuration<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Backup Manager runs <code>mysql<\/code> and <code>mysqldump<\/code> as root, so it uses whatever client configuration root has, usually <code>\/root\/.my.cnf<\/code>. Root must log in without a password prompt.<\/p>\n\n\n\n<p class=\"alert alert-success wp-block-paragraph\"><strong>Tip:<\/strong> MariaDB 10.4.0 and later let root log in through socket authentication, with no password, by default. For MySQL, it depends on how the server was installed. Run <code>mysql<\/code> as root: if it connects without asking for a password, you do not need a <code>.my.cnf<\/code> file. Create one if root needs a password.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To give root explicit credentials:<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Create <code>\/root\/.my.cnf<\/code> with these contents, replacing <code>CHANGEME<\/code> with the root password:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;client]\nuser=root\npassword=CHANGEME<\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list article_list\">\n<li>Restrict the file so only root can read it. The file holds a plain-text password, so this step protects it:<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">chmod<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">600<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">\/root\/.my.cnf<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The account Backup Manager uses needs enough privileges to list and dump every database, along with its routines, views, and triggers. Using <code>root@localhost<\/code> is the simplest option. If you prefer a dedicated account, this grant should be enough:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>GRANT SELECT, SHOW VIEW, TRIGGER, EVENT, LOCK TABLES, PROCESS,\n      SHOW DATABASES, RELOAD ON *.* TO 'backup'@'localhost';<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This grant is a recommendation. Backup Manager does not check it.<\/p>\n\n\n\n<p class=\"alert alert-warning wp-block-paragraph\"><strong>Important:<\/strong> Use the InnoDB storage engine. Dumps run with <code>--single-transaction --skip-lock-tables<\/code>, so InnoDB tables get a consistent snapshot without locking. MyISAM tables are not locked, so a dump taken while data is being written may be inconsistent.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To confirm the setup, list your databases:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">mysql<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">--batch<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">--skip-column-names<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-e<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">&#39;SHOW DATABASES&#39;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Then print the start of a dump. Replace <code>&lt;some_db><\/code> with one of your database names:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">mysqldump<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">--single-transaction<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">--skip-lock-tables<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">&lt;<\/span><span style=\"color: #9ECBFF\">some_d<\/span><span style=\"color: #E1E4E8\">b<\/span><span style=\"color: #F97583\">&gt;<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">|<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">head<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Two behaviors to know about:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Backup Manager skips <code>information_schema<\/code>, <code>performance_schema<\/code>, and <code>sys<\/code>. It does back up the <code>mysql<\/code> system database, which holds users and grants.<\/li>\n\n\n\n<li>Dumps use <code>--force<\/code>, so a dump continues past errors such as a broken view. Backup Manager marks the run as failed only if the dump exits with a non-zero code.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If you run PostgreSQL instead, or as well, the next section covers it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">PostgreSQL configuration<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Backup Manager runs <code>psql<\/code>, <code>pg_dump<\/code>, and <code>pg_dumpall<\/code> as the <code>postgres<\/code> operating system user, with <code>HOME<\/code> set to that user&#8217;s home directory, and connects to the <code>postgres<\/code> database. If no <code>postgres<\/code> user exists, it runs them as root instead. The rest of the environment passes through unchanged, including the fixed <code>PATH<\/code> described earlier.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure all of the following are true:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>psql<\/code>, <code>pg_dump<\/code>, and <code>pg_dumpall<\/code> resolve from the fixed <code>PATH<\/code>.<\/li>\n\n\n\n<li>The <code>postgres<\/code> user can log in without a password prompt. The stock <code>pg_hba.conf<\/code> rule already allows this: <code>local   all   postgres   peer<\/code><\/li>\n\n\n\n<li>The connecting role is a superuser. <code>pg_dumpall --globals-only<\/code> (roles and tablespaces) needs superuser rights, and so does reading every database.<\/li>\n\n\n\n<li>If PostgreSQL listens on a non-default socket directory or port, configure that through libpq (the PostgreSQL client library), for example in <code>~postgres\/.pg_service.conf<\/code> or with a <code>PGHOST<\/code> and <code>PGPORT<\/code> systemd drop-in. Backup Manager does not pass a host or port itself, and settings in a shell rc file do not reach scheduled runs.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If you changed local connections to <code>md5<\/code> or <code>scram-sha-256<\/code>, either restore <code>peer<\/code> for the <code>postgres<\/code> user in <code>pg_hba.conf<\/code>, or create <code>~postgres\/.pgpass<\/code> with mode 0600 and this line, replacing <code>CHANGEME<\/code> with the password:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>localhost:5432:*:postgres:CHANGEME<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To verify the setup, list the non-template databases:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">sudo<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-u<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">postgres<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">psql<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-d<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">postgres<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-At<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">\\<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">  <\/span><span style=\"color: #79B8FF\">-c<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">&#39;SELECT datname FROM pg_database WHERE NOT datistemplate&#39;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Then print the start of the roles and tablespaces dump:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">sudo<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-u<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">postgres<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">pg_dumpall<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">--globals-only<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">|<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">head<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Two more details:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Backup Manager skips template databases. It saves roles and tablespaces separately under <code>dbname:__globals__<\/code>.<\/li>\n\n\n\n<li>Dumps use <code>pg_dump --clean<\/code>, so restoring a dump drops existing objects before it recreates them.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If a backup still fails after this setup, the troubleshooting tables in the next section map common messages to causes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Installer errors<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If the installer stops right away, match the message to this table.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Message<\/th><th>Likely cause<\/th><\/tr><\/thead><tbody><tr><td><code>bakmgr installer must run as root<\/code><\/td><td>You ran the installer as a non-root user. Switch to root and run it again.<\/td><\/tr><tr><td><code>Cannot install alongside imh-backup-client<\/code><\/td><td>The standard Backup Manager client is already on the server. This guide does not apply to that server.<\/td><\/tr><tr><td><code>usage: ... --host HOSTNAME<\/code><\/td><td>The <code>--host<\/code> option or its value is missing. Pass your server name after <code>--host<\/code>.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Database backup errors<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When Backup Manager cannot list your databases, the dashboard configuration page shows the error. For scheduled-run errors, check <code>journalctl -u bakmgr-cron<\/code> and <code>\/var\/log\/bakmgr.log<\/code>. Match the message you see to this table.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Message<\/th><th>Likely cause<\/th><\/tr><\/thead><tbody><tr><td>Dashboard: <code>mysql not found<\/code> or <code>psql not found<\/code>. Scheduled run: <code>Could not find mysqldump<\/code><\/td><td>The client is not in the fixed <code>PATH<\/code>. See the PATH section earlier in this guide.<\/td><\/tr><tr><td><code>Exit code 1 ... Access denied<\/code><\/td><td>MySQL: <code>\/root\/.my.cnf<\/code> is missing or has the wrong credentials.<\/td><\/tr><tr><td><code>Peer authentication failed<\/code> or <code>password authentication failed<\/code><\/td><td>PostgreSQL: <code>pg_hba.conf<\/code> or <code>.pgpass<\/code> is misconfigured.<\/td><\/tr><tr><td><code>Timed out after 30s listing databases<\/code><\/td><td>The database server is hung or unreachable.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Backup Manager is now installed on your bare metal server, with a reachable dashboard, restore commands you know how to run, and database access set up for scheduled runs. Open the dashboard on port 4001 and review what <code>bakmgr.yaml<\/code> includes. If you would rather hand the setup to experts, <a href=\"https:\/\/www.inmotionhosting.com\/solutions\/inmotion-solutions\">InMotion Solutions<\/a> can configure it for you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You have a bare metal server and you want scheduled backups with a clear way to restore them. This guide covers Backup Manager bare metal setup: install the client, open the dashboard, restore files and databases from the command line, and prepare MySQL, MariaDB, or PostgreSQL so scheduled backups can dump your databases. Note: This<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/\"> Read More ><\/a><\/p>\n","protected":false},"author":56983,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_ayudawp_aiss_exclude":false,"_ayudawp_aiss_exclude_summary":false,"_ayudawp_aiss_summary":"This guide covers Backup Manager bare metal setup: install the client, open the dashboard, restore files and databases from the command line, and prepare MySQL, MariaDB, or PostgreSQL so scheduled backups can dump your databases. If you run a cPanel VPS or Dedicated server, see the Backup Manager cPanel Guide for VPS\/Dedicated Servers or the Backup Manager WHM Guide for VPS\/Dedicated Servers. Backup Manager is now installed on your bare metal server, with a reachable dashboard, restore commands you know how to run, and database access set up for scheduled runs.","_ayudawp_aiss_summary_provider":"extractive","_ayudawp_aiss_summary_hash":"991fc77b33e8e09c30d5312a10adb47b551708fe","_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[4416],"tags":[],"class_list":["post-131307","post","type-post","status-publish","format-standard","hentry","category-backup-manager"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Backup Manager Bare Metal Servers: Install and Restore<\/title>\n<meta name=\"description\" content=\"Set up Backup Manager bare metal backups: install the client, use the dashboard, restore data, and configure MySQL and PostgreSQL.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Backup Manager Bare Metal Servers: Install and Restore\" \/>\n<meta property=\"og:description\" content=\"Set up Backup Manager bare metal backups: install the client, use the dashboard, restore data, and configure MySQL and PostgreSQL.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-12-31T19:28:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-12T12:57:22+00:00\" \/>\n<meta name=\"author\" content=\"Carrie Smaha\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@carriesmaha\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Carrie Smaha\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/product-guides\\\/backup-manager\\\/backup-manager-bare-metal-servers\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/product-guides\\\/backup-manager\\\/backup-manager-bare-metal-servers\\\/\"},\"author\":{\"name\":\"Carrie Smaha\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/person\\\/595948dab2995d347a87076abdae19d8\"},\"headline\":\"Using Backup Manager on Bare Metal Servers\",\"datePublished\":\"2025-12-31T19:28:04+00:00\",\"dateModified\":\"2026-10-12T12:57:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/product-guides\\\/backup-manager\\\/backup-manager-bare-metal-servers\\\/\"},\"wordCount\":1916,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#organization\"},\"articleSection\":[\"Backup Manager\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/product-guides\\\/backup-manager\\\/backup-manager-bare-metal-servers\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/product-guides\\\/backup-manager\\\/backup-manager-bare-metal-servers\\\/\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/product-guides\\\/backup-manager\\\/backup-manager-bare-metal-servers\\\/\",\"name\":\"Backup Manager Bare Metal Servers: Install and Restore\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#website\"},\"datePublished\":\"2025-12-31T19:28:04+00:00\",\"dateModified\":\"2026-10-12T12:57:22+00:00\",\"description\":\"Set up Backup Manager bare metal backups: install the client, use the dashboard, restore data, and configure MySQL and PostgreSQL.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/product-guides\\\/backup-manager\\\/backup-manager-bare-metal-servers\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/product-guides\\\/backup-manager\\\/backup-manager-bare-metal-servers\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/product-guides\\\/backup-manager\\\/backup-manager-bare-metal-servers\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using Backup Manager on Bare Metal Servers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inmotionhosting\\\/\",\"https:\\\/\\\/x.com\\\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/person\\\/595948dab2995d347a87076abdae19d8\",\"name\":\"Carrie Smaha\",\"description\":\"Carrie Smaha is a digital strategy, web development, and SEO leader with 20 years of experience. She built her foundation in fast-paced agency environments before moving in-house to InMotion Hosting, where she leads go-to-market programs, agency initiatives, and technical product marketing that connects product capability to real customer decisions.\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/carriesmaha\\\/\",\"https:\\\/\\\/x.com\\\/carriesmaha\"],\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/author\\\/carries\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Backup Manager Bare Metal Servers: Install and Restore","description":"Set up Backup Manager bare metal backups: install the client, use the dashboard, restore data, and configure MySQL and PostgreSQL.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/","og_locale":"en_US","og_type":"article","og_title":"Backup Manager Bare Metal Servers: Install and Restore","og_description":"Set up Backup Manager bare metal backups: install the client, use the dashboard, restore data, and configure MySQL and PostgreSQL.","og_url":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2025-12-31T19:28:04+00:00","article_modified_time":"2026-10-12T12:57:22+00:00","author":"Carrie Smaha","twitter_card":"summary_large_image","twitter_creator":"@carriesmaha","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Carrie Smaha","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/"},"author":{"name":"Carrie Smaha","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/595948dab2995d347a87076abdae19d8"},"headline":"Using Backup Manager on Bare Metal Servers","datePublished":"2025-12-31T19:28:04+00:00","dateModified":"2026-10-12T12:57:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/"},"wordCount":1916,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Backup Manager"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/","url":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/","name":"Backup Manager Bare Metal Servers: Install and Restore","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2025-12-31T19:28:04+00:00","dateModified":"2026-10-12T12:57:22+00:00","description":"Set up Backup Manager bare metal backups: install the client, use the dashboard, restore data, and configure MySQL and PostgreSQL.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/backup-manager-bare-metal-servers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Using Backup Manager on Bare Metal Servers"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/595948dab2995d347a87076abdae19d8","name":"Carrie Smaha","description":"Carrie Smaha is a digital strategy, web development, and SEO leader with 20 years of experience. She built her foundation in fast-paced agency environments before moving in-house to InMotion Hosting, where she leads go-to-market programs, agency initiatives, and technical product marketing that connects product capability to real customer decisions.","sameAs":["https:\/\/www.linkedin.com\/in\/carriesmaha\/","https:\/\/x.com\/carriesmaha"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/carries\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","primary_category":{"id":4416,"name":"Backup Manager","slug":"backup-manager","link":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/backup-manager\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/131307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/56983"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=131307"}],"version-history":[{"count":9,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/131307\/revisions"}],"predecessor-version":[{"id":900680,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/131307\/revisions\/900680"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=131307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=131307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=131307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}