<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Plakar</title>
    <description>The latest articles on DEV Community by Plakar (plakar).</description>
    <link>https://dev.to/plakar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F11210%2Fdc460071-627b-47e3-a9df-978b72cea013.png</url>
      <title>DEV Community: Plakar</title>
      <link>https://dev.to/plakar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/plakar"/>
    <language>en</language>
    <item>
      <title>Free backup for KubeVirt VMs and OpenShift</title>
      <dc:creator>Victor Coisne</dc:creator>
      <pubDate>Wed, 28 Oct 2026 21:02:49 +0000</pubDate>
      <link>https://dev.to/plakar/free-backup-for-kubevirt-vms-and-openshift-33j6</link>
      <guid>https://dev.to/plakar/free-backup-for-kubevirt-vms-and-openshift-33j6</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://plakar.link/kubevirt-devto" rel="noopener noreferrer"&gt;Plakar blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Plakar's Kubernetes integration now backs up KubeVirt VMs: every disk plus the VM manifest, in one snapshot, consistent across disks. On OpenShift, a new &lt;code&gt;openshift&lt;/code&gt; package keeps restores from doing things you didn't ask for. Both are free.&lt;/p&gt;

&lt;p&gt;OpenShift Virtualization is Red Hat's packaging of upstream KubeVirt. A VM is a Kubernetes object, its disks are PVCs, so our Kubernetes integration should have covered them already. It didn't: it rejected &lt;code&gt;VolumeMode: Block&lt;/code&gt; outright, and most VM disks are block-mode. That was the actual blocker.&lt;/p&gt;

&lt;h2&gt;
  
  
  We don't freeze VMs. KubeVirt does.
&lt;/h2&gt;

&lt;p&gt;A disk snapshotted mid-write may not boot. A VM with three disks snapshotted a few seconds apart is worse. KubeVirt already solves this: its &lt;code&gt;VirtualMachineSnapshot&lt;/code&gt; freezes the guest through the qemu guest agent and coordinates every disk. So we drive it instead of reimplementing it.&lt;/p&gt;

&lt;p&gt;The flow: Plakar requests a &lt;code&gt;VirtualMachineSnapshot&lt;/code&gt;, a short-lived pod streams each disk out as raw blocks, and Plakar dedups, compresses and encrypts it into the same snapshot as the VM manifest. Restore goes the other way: fresh PVCs, data written back, manifest applied, into the original namespace or a new one.&lt;/p&gt;

&lt;p&gt;No guest agent, no freeze: Plakar gives up after 10 minutes instead of waiting forever. Install the agent.&lt;/p&gt;

&lt;h2&gt;
  
  
  OpenShift: restore what you backed up, nothing more
&lt;/h2&gt;

&lt;p&gt;Backup stays a complete record. Filtering happens on restore, because some objects come with side effects: restoring a &lt;code&gt;BuildConfig&lt;/code&gt; re-triggers a build, a &lt;code&gt;Route&lt;/code&gt; reassigns a host, &lt;code&gt;SecurityContextConstraints&lt;/code&gt; and OAuth tokens belong to the cluster. The &lt;code&gt;openshift&lt;/code&gt; package skips them. Its helper pod sets its security context explicitly, and it matches OpenShift's default restricted SCC: OpenShift doesn't let pods add capabilities anyway.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;Pre-built packages need a free Plakar account:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;plakar login
&lt;span class="nv"&gt;$ &lt;/span&gt;plakar pkg add k8s
&lt;span class="nv"&gt;$ &lt;/span&gt;plakar backup k8s+vm:/vms/my-vm
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On OpenShift:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;plakar pkg add openshift
&lt;span class="nv"&gt;$ &lt;/span&gt;plakar backup openshift+vm:/vms/my-vm
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RBAC roles and options are in the &lt;a href="https://plakar.io/docs/community/main/integrations/kubernetes/" rel="noopener noreferrer"&gt;Kubernetes docs&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it ships
&lt;/h2&gt;

&lt;p&gt;KubeVirt support lives in the Kubernetes integration, which is &lt;a href="https://github.com/PlakarKorp/integrations/tree/main/k8s" rel="noopener noreferrer"&gt;open source&lt;/a&gt; (ISC). The &lt;code&gt;openshift&lt;/code&gt; package is not open source, but it is free for everyone in the Plakar community: create a free account, run &lt;code&gt;plakar login&lt;/code&gt;, install it.&lt;/p&gt;

&lt;p&gt;Running VMs on Kubernetes? Break it and tell us on &lt;a href="https://discord.gg/uuegtnF2Q5" rel="noopener noreferrer"&gt;Discord&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>kubernetes</category>
      <category>kubevirt</category>
      <category>devops</category>
      <category>backup</category>
    </item>
    <item>
      <title>Backing up VMware for free with Plakar</title>
      <dc:creator>Victor Coisne</dc:creator>
      <pubDate>Mon, 26 Oct 2026 22:13:50 +0000</pubDate>
      <link>https://dev.to/plakar/backing-up-vmware-for-free-with-plakar-2gno</link>
      <guid>https://dev.to/plakar/backing-up-vmware-for-free-with-plakar-2gno</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Plakar's VMware integration, which was only available in the Plakar Control Plane before, is now available in Plakar OSS. Install the integration with one command, point it at your vCenter, and you get encrypted, deduplicated backups, stored in an open, portable format, while the VM keeps running. It is free for registered Plakar users.&lt;/p&gt;

&lt;p&gt;In case you have not heard of us before, Plakar is an open source backup platform, and it now has &lt;a href="https://www.plakar.io/integrations/" rel="noopener noreferrer"&gt;native integrations&lt;/a&gt; for many of the essential parts of a modern stack. That includes databases such as &lt;a href="https://www.plakar.io/posts/2026-04-03/backing-up-postgresql-with-plakar/" rel="noopener noreferrer"&gt;PostgreSQL&lt;/a&gt;, &lt;a href="https://www.plakar.io/integrations/mysql/" rel="noopener noreferrer"&gt;MySQL&lt;/a&gt;, and &lt;a href="https://www.plakar.io/posts/2026-09-08/agentless-vss-sql-server-backup/" rel="noopener noreferrer"&gt;SQL Server&lt;/a&gt;, Windows through &lt;a href="https://www.plakar.io/posts/2026-09-08/agentless-vss-sql-server-backup/" rel="noopener noreferrer"&gt;VSS&lt;/a&gt;, orchestrators such as &lt;a href="https://www.plakar.io/posts/2026-02-18/backing-up-kubernetes-clusters-with-plakar/" rel="noopener noreferrer"&gt;Kubernetes&lt;/a&gt;, hypervisors such as &lt;a href="https://www.plakar.io/integrations/proxmox/" rel="noopener noreferrer"&gt;Proxmox&lt;/a&gt;, and cloud and object storage such as &lt;a href="https://www.plakar.io/integrations/aws/" rel="noopener noreferrer"&gt;AWS&lt;/a&gt;, &lt;a href="https://www.plakar.io/integrations/gcp/" rel="noopener noreferrer"&gt;Google Cloud&lt;/a&gt;, &lt;a href="https://www.plakar.io/integrations/azblob/" rel="noopener noreferrer"&gt;Azure&lt;/a&gt; and &lt;a href="https://www.plakar.io/integrations/s3/" rel="noopener noreferrer"&gt;S3&lt;/a&gt;. It also covers identity and secrets tools like &lt;a href="https://www.plakar.io/integrations/msad/" rel="noopener noreferrer"&gt;Active Directory&lt;/a&gt; and &lt;a href="https://www.plakar.io/integrations/vault/" rel="noopener noreferrer"&gt;Vault&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Today, we're excited to announce the release of our VMware integration. If you run VMware, you can now protect it with the same tool, in the same open format, as the rest of your stack.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;plakar pkg add vmware
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That installs the integration. The full path to a first backup is a few more commands, shown below.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing and your first backup
&lt;/h2&gt;

&lt;p&gt;The VMware integration is free for Plakar users. It is not open source, so you install it as a ready-made package after a &lt;a href="https://www.plakar.io/docs/community/main/guides/logging-in-to-plakar/" rel="noopener noreferrer"&gt;&lt;code&gt;plakar login&lt;/code&gt;&lt;/a&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;plakar login &lt;span class="nt"&gt;-github&lt;/span&gt;
plakar pkg add vmware
plakar &lt;span class="nb"&gt;source &lt;/span&gt;add myvm vmware://&amp;lt;instance-uuid&amp;gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nv"&gt;vsphere_server&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;vcenter.example.com &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nv"&gt;vsphere_datacenter&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;datacenter-moref &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nv"&gt;vsphere_username&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&amp;lt;username&amp;gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nv"&gt;vsphere_password&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&amp;lt;password&amp;gt;
plakar at /var/backups create
plakar at /var/backups backup &lt;span class="s2"&gt;"@myvm"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each source is one VM, and you find its instance UUID with a tool like govc, make sure to pick the vCenter UUID. There is one protocol, &lt;code&gt;vmware&lt;/code&gt;, and it reads the disks in &lt;code&gt;nbd&lt;/code&gt; transport mode by default. See the &lt;a href="https://www.plakar.io/docs/community/main/integrations/vmware/" rel="noopener noreferrer"&gt;VMware integration docs&lt;/a&gt;, the &lt;a href="https://www.plakar.io/docs/community/main/guides/logging-in-to-plakar/" rel="noopener noreferrer"&gt;guide to logging in to Plakar&lt;/a&gt;, and the &lt;a href="https://www.plakar.io/docs/community/main/guides/managing-packages/" rel="noopener noreferrer"&gt;guide to managing packages&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two ways to read the disks
&lt;/h2&gt;

&lt;p&gt;Plakar can read the disks in two ways, set with the &lt;code&gt;transport_mode&lt;/code&gt; option. The default is &lt;code&gt;nbd&lt;/code&gt;: Plakar reads the raw disk from the ESXi host. The alternative is &lt;code&gt;nfchttp&lt;/code&gt;: vSphere exports each disk as a compressed, stream-optimized VMDK file that travels over your production network, and it only needs network access to your vCenter. Pick the transport that fits your network.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;Plakar takes a snapshot of the VM, reads the disks, encrypts and deduplicates them, and writes the result to a &lt;a href="https://www.plakar.io/posts/2025-04-29/kloset-the-immutable-data-store/" rel="noopener noreferrer"&gt;Kloset&lt;/a&gt;, Plakar's encrypted, deduplicated backup store that can live on a local disk, in S3 or on a remote server. The VM keeps running the whole time. The snapshot is removed when the backup ends.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F67c3gw43na7cxg6mhf8u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F67c3gw43na7cxg6mhf8u.png" alt="How VMware backup works: vCenter, Plakar with the vmware package, and a Kloset store" width="799" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Backing up and restoring
&lt;/h2&gt;

&lt;p&gt;Restore goes both ways. Put the disks back on the same VM, or create a new VM from the backup. You can even bring it back with its network disconnected, to look at it safely after an incident.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Plakar for VMware
&lt;/h2&gt;

&lt;p&gt;A VMware snapshot is not a backup. It lives next to the VM it protects, so it can be lost with it. A Plakar backup is a separate copy, stored where you choose. Here is what you get:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Encrypted and deduplicated.&lt;/strong&gt; Most tools make you choose. Plakar does both, so backups stay private and small.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your backup is a Kloset.&lt;/strong&gt; A portable store you can keep anywhere. It is not tied to a vendor's format.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No agent.&lt;/strong&gt; Nothing to install inside your VMs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Beyond simple backups
&lt;/h2&gt;

&lt;p&gt;Your VMware backups can live in the same kind of store as the rest of your Plakar backups. Keep a copy on more than one storage, and use the same tool for databases, Kubernetes, Windows and Proxmox. One tool and one format across your stack.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;New to Plakar? &lt;a href="https://www.plakar.io/download/?utm_source=devto&amp;amp;utm_medium=crosspost&amp;amp;utm_campaign=vmware-oss" rel="noopener noreferrer"&gt;Download it&lt;/a&gt; for macOS, FreeBSD, Alpine, Debian, other Linux distributions, Windows and more.&lt;/p&gt;

&lt;p&gt;Plakar is on &lt;a href="https://github.com/PlakarKorp/plakar?utm_source=devto&amp;amp;utm_medium=crosspost&amp;amp;utm_campaign=vmware-oss" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;. If it's useful to you, a star helps other people find it.&lt;/p&gt;

&lt;p&gt;Install the integration, back up a VM, and share your feedback or questions on &lt;a href="https://discord.gg/uuegtnF2Q5" rel="noopener noreferrer"&gt;Discord&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Stay safe!&lt;/p&gt;

</description>
      <category>vmware</category>
      <category>backup</category>
      <category>devops</category>
      <category>sysadmin</category>
    </item>
  </channel>
</rss>
