Jump to content

ionstorm66

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by ionstorm66

  1. Will there ever be support for using your own valid certs? Everything on my network uses my own certs with local dns, and the public facing services get proxies via the same domain remotely. I have my own valid cert and key installed in unraid, and would like to still use the remote system as it's a bit less convoluted than vpn.

  2. On 11/25/2019 at 4:04 PM, limetech said:

    I've been doing this for a long time now via command line with my important VM's.

     

    First, my VM vdisk's are in the domains share, where I have created the individual VM directory as a btrfs subvolume instead of a normal directory, ie:

    btrfs subv create /mnt/cache/domains/my-vm

    results in:

    /mnt/cache/domains/my-vm  <--- a btrfs subvolume

    Then let vm-manager create vdisks in here normally and create your VM.

     

    Next, when I want to take a snapshot I hibernate the VM (win10) or shut it down.  Then from host:

    btrfs subv snapshot -r /mnt/cache/domains/my-vm /mnt/cache/domains/my-vm/backup

     

    Of course you can name the snapshot anything, perhaps include a timestamp.  In my case, after taking this initial backup snapshot, a subsequent backup will do something like this:

    btrfs subv snapshot -r /mnt/cache/domains/my-vm /mnt/cache/domains/my-vm/backup-new

     

    Then I send the block differences to a backup directory on /mnt/disk1

    btrfs send -p /mnt/cache/domains/myh-vm/backup /mnt/cache/domains/myh-vm/backup-new | pv | btrfs receive /mnt/disk1/Backup/domains/my-vm

    and then delete backup and rename backup-new to backup.

     

    What we want to do is add option in VM manager that says, "Create snapshot upon shut-down or hibernation" and then add a nice GUI to handle snapshots and backups.  I have found btrfs send/recv somewhat fragile which is one reason we haven't tackled this yet.

     

    Maybe there's some interest in a blog post describing the process along with the script I use?

     

    Why not use libvirt's built in snapshot? https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit

     

     

    • Thanks 1
×
×
  • Create New...