Backing up a UnprivilegedLXC?

Discussion in 'Proxmox VE: Installation and configuration' started by dragon2611, Jan 14, 2019.

  1. dragon2611

    dragon2611 Member

    Joined:
    Jul 2, 2010
    Messages:
    52
    Likes Received:
    1
    Need some recommendations for backing up an Unprivileged LXC container that's on an Iscsi LVM and managed by HA manager to an target that's an NFS share.

    Snapshot fails because of permissions issues, Stop doesn't want to work either because vzdump won't auto stop a VM managed by HA.

    The common recommendation seems to be to set a TMP directory but that's not really an option either as the servers themselves only have small SSD's to hold proxmox on so they don't have enough local storage for that.

    I'm thinking I might have to write a script to call the stop command against the VM run the vzdump then call the start command again (I don't mind it going down overnight for a backup, the HA is just incase a node dies during the day)
     
  2. oguz

    oguz Proxmox Staff Member
    Staff Member

    Joined:
    Nov 19, 2018
    Messages:
    510
    Likes Received:
    50
    What kind of permission issues? Can you be a bit more specific?


    You can do '--mode suspend' in vzdump instead of '--mode stop' and it should work.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice