From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Alexandre DERUMIER <aderumier@odiso.com>
Cc: Proxmox VE user list <pve-user@lists.proxmox.com>
Subject: Re: [PVE-User] Proxmox Backup Server (beta)
Date: Wed, 15 Jul 2020 06:52:51 +0200 [thread overview]
Message-ID: <b06df320-fb8b-7627-6d49-96ff59be7aa0@proxmox.com> (raw)
In-Reply-To: <1788232040.275836.1594761436288.JavaMail.zimbra@odiso.com>
On 14.07.20 23:17, Alexandre DERUMIER wrote:
>>> Proxmox Backup Server effectively does that too, but independent from the
>>> source storage. We always get the last backup index and only upload the chunks
>>> which changed. For running VMs dirty-bitmap is on to improve this (avoids
>>> reading of unchanged blocks) but it's only an optimization - the backup is
>>> incremental either way.
>
> What happen if a vm or host crash ? (I think on clean shutdown, the dirty-bitmap is saved, but on failure ?)
> does it need to re-read all blocks to find diff ? or make a new full backup ?
There's never a new "full backup" as long as the PBS has at least one.
But yes, it needs to re-read everything to get the diff for the first
backup after the VM process starts, from then the tracking is active again.
>
> Is it possible to read files inside a vm backup, without restoring it first ?
> (Don't have check vma format recently, but I think it was not possible because of out of orders blocks)
There's support for block and file level backup, CTs are using a file level
backup, you can then even browse the backup on the server (if it's not encrypted)
As said, there's a block backend driver for it in QEMU, Stefan made it with
Dietmar's libproxmox-backup-qemu0 library. So you should be able to get a backup
as block device over NBD and mount it, I guess. (did not tried that yet fully
myself).
>
> I really think it could be great to add some storage snapshot feature in the future.
The storage would need to allow us diffing from the outside between the previous
snapshot and the current state though, not sure where that's possible in such
away that it could be integrated into PBS in a reasonable way.
The ceph RBD diff format wouldn't seem to bad, though:
https://docs.ceph.com/docs/master/dev/rbd-diff/
> For ceph, the backup speed is really faster because it's done a bigger block than 64K. (I think it's 4MB object).
We use 4MiB chunks for block-level backup by default too, for file-level they're
dynamic and scale between 64KiB and 4MiB.
> and also, I really need a lot of space for my backups, and I can't fill them in a single local storage. (don't want to play with multiple datastores)
What are your (rough) space requirements?
You could always attach a big CephFS or RBD device with local FS as a storage too.
Theoretically PBS could live on your separate "backup only" ceph cluster node, or
be directly attached to it over 25 to 100G.
> Bonus, it could also be used for disaster recovery management :)
Something like that would be nice, what's in your mind for your use case?
next prev parent reply other threads:[~2020-07-15 4:52 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-10 10:56 Martin Maurer
2020-07-10 11:42 ` Roland
2020-07-10 12:09 ` Dietmar Maurer
2020-07-10 12:24 ` Roland
2020-07-10 13:43 ` Thomas Lamprecht
2020-07-10 14:06 ` Roland
2020-07-10 14:15 ` Thomas Lamprecht
2020-07-10 14:46 ` Roland
2020-07-10 17:31 ` Roland
2020-07-10 13:44 ` Dietmar Maurer
[not found] ` <mailman.77.1594381090.12071.pve-user@lists.proxmox.com>
2020-07-10 11:45 ` Dietmar Maurer
[not found] ` <a92c7f1d-f492-2d43-00b9-15bdb0e805ec@binovo.es>
2020-07-10 13:50 ` Thomas Lamprecht
2020-07-10 12:03 ` Lindsay Mathieson
2020-07-10 12:13 ` Dietmar Maurer
2020-07-10 15:41 ` Dietmar Maurer
2020-07-11 11:03 ` mj
2020-07-11 11:38 ` Thomas Lamprecht
2020-07-11 13:34 ` mj
2020-07-11 13:47 ` Thomas Lamprecht
2020-07-11 14:40 ` Dietmar Maurer
2020-07-14 14:30 ` Alexandre DERUMIER
2020-07-14 15:52 ` Thomas Lamprecht
2020-07-14 21:17 ` Alexandre DERUMIER
2020-07-15 4:52 ` Thomas Lamprecht [this message]
[not found] ` <176392164.4390.1594849016963.JavaMail.zimbra@numberall.com>
2020-07-16 7:33 ` Thomas Lamprecht
[not found] ` <mailman.204.1594849027.12071.pve-user@lists.proxmox.com>
2020-07-16 10:17 ` Wolfgang Bumiller
2020-07-16 14:36 ` Mark Schouten
2020-07-16 17:04 ` Thomas Lamprecht
2020-07-16 13:03 ` Tom Weber
2020-07-17 7:31 ` Fabian Grünbichler
2020-07-17 13:23 ` Tom Weber
2020-07-17 17:43 ` Thomas Lamprecht
2020-07-18 14:59 ` Tom Weber
2020-07-18 18:07 ` Thomas Lamprecht
2020-07-10 12:45 ` Iztok Gregori
2020-07-10 13:41 ` Dietmar Maurer
2020-07-10 15:20 ` Iztok Gregori
2020-07-10 15:31 ` Dietmar Maurer
2020-07-10 16:29 ` Iztok Gregori
2020-07-10 16:46 ` Dietmar Maurer
[not found] ` <a1e5f8dd-efd5-f8e2-50c1-683d42b0f61b@truelite.it>
2020-07-10 14:23 ` Thomas Lamprecht
2020-07-10 15:59 ` Lindsay Mathieson
[not found] ` <mailman.86.1594396120.12071.pve-user@lists.proxmox.com>
2020-07-10 16:32 ` Dietmar Maurer
2020-10-06 13:12 ` Lee Lists
2020-10-08 8:21 ` Thomas Lamprecht
2020-10-09 9:27 ` Lee Lists
2020-10-09 12:10 Lee Lists
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b06df320-fb8b-7627-6d49-96ff59be7aa0@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=aderumier@odiso.com \
--cc=pve-user@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox