{"id":245,"date":"2012-01-24T13:01:07","date_gmt":"2012-01-24T12:01:07","guid":{"rendered":"http:\/\/elkano.org\/blog\/?p=245"},"modified":"2012-01-24T13:01:07","modified_gmt":"2012-01-24T12:01:07","slug":"vzdump-create-kvm-backups-with-an-specific-name","status":"publish","type":"post","link":"https:\/\/elkano.org\/blog\/vzdump-create-kvm-backups-with-an-specific-name\/","title":{"rendered":"vzdump: create KVM backups with an specific name"},"content":{"rendered":"<p>With Proxmox VE, the virtual environment I am using,  you can configure KVM backups, but you are going to get dump files like this:<\/p>\n<p><strong>vzdump-qemu-117-YYYY_MM_DD-HH_MM_SS.tgz<\/strong><\/p>\n<p>The names of these files are not very representative and you should rename them if you want to easily identify your KVM backups in your storage. <\/p>\n<p>I am using this command for KVM backups to get the files with their server names:<\/p>\n<pre class=\"brush: text; gutter: false; first-line: 1; highlight: []; html-script: false\">\r\n#\r\n# vzdump --compress  --snapshot --storage pve-backups --maxfiles 2 --stdout 117 &gt; \/mnt\/pve\/pve-backups\/myserver_YYYY_MM_DD.tgz\r\n# \r\n<\/pre>\n<p>You can put this command in a cron if you want.<\/p>\n<p>To restore the machine simply run:<\/p>\n<pre class=\"brush: text; gutter: false; first-line: 1; highlight: []; html-script: false\">#\r\n# qmrestore \/mnt\/pve\/pve-backups\/myserver_YYYY_MM_DD.tgz 117\r\n#\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>With Proxmox VE, the virtual environment I am using, you can configure KVM backups, but you are going to get dump files like this: vzdump-qemu-117-YYYY_MM_DD-HH_MM_SS.tgz The names of these files are not very representative and you should rename them if you want to easily identify your KVM backups in your storage. I am using this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,7],"tags":[147,35,36,34],"_links":{"self":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/245"}],"collection":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/comments?post=245"}],"version-history":[{"count":9,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/245\/revisions"}],"predecessor-version":[{"id":254,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/245\/revisions\/254"}],"wp:attachment":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/media?parent=245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/categories?post=245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/tags?post=245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}