ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Telling ProxMox a Backup Target is Mounted Externally

    Scheduled Pinned Locked Moved IT Discussion
    proxmoxstoragepvepvesmvirtualizationbackup
    1 Posts 1 Posters 26 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      While generally not recommended, sometimes we need to back up to a USB drive or other hard mounted backup location in ProxMox.

      Problem: USB and other external devices can easily lose their mount while a system is already online causing the mount point to unmount forcefully and leaving a folder where the mountpoint had been. Rarely do we want the backup function of ProxMox to backup to that local folder, we rather want the backup mechanism to fail and then have an opportunity to alert us to fix the backup location issue.

      Solution: Inform ProxMox at an application level that the backup location is a mountpoint and not a local folder so that it runs detection prior to backing up.

      What to do?

      1. Get your list of storage locations from ProxMox
        pvesm status

      2. Find your backup location NAME on that list. It is a ProxMox label, not the folder name. For many of you it might just be called something like "backup"

      3. Inform ProxMox to test if the location is mounted prior to backing up. Replace the word backup in this example with the NAME you got from step 2.
        pvesm set backup --is_mountpoint yes

      4. You are done if that succeeds silently, but you can double check that the change has been made by looking for it in this file:
        cat /etc/pve/storage.cfg

      1 Reply Last reply Reply Quote 1
      • 1 / 1
      • First post
        Last post