it’s all about size: bareos · • ensuring we can move vm backup directories between different...

28
It’s all about size: Bareos

Upload: others

Post on 19-Sep-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

It’s all about size: Bareos

Page 2: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

The giants we stand on

Page 3: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Limits

• Not a general purpose backup system.

• No tapes. No weird hardware.

• Restore without tools.

• Dead-simple configuration.

Page 4: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Let’s take a tour

Page 5: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image
Page 6: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

simple!?!

Page 7: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Hello CLI

Page 8: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Running a single backup

Page 9: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Inspecting a backup

Page 10: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Inspecting a backup

Page 11: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Hello, daemon!

Page 12: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Daemon configuration

Page 13: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Scheduling

Page 14: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Scheduling

Page 15: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Purging

Page 16: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Purging

Page 17: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Scrubbing

• partial, random verification during backup against

source

• btrfs scrubbing

• Raid-6

Page 18: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Deleting a VM

• rewrite config, reload master

• rm -rf

Page 19: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Monitoring

• old state is uninteresting

• do I have to act?

Page 20: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Monitoring

Page 21: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image
Page 22: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

What did we leave out?

• Physical host backup

• Guesstimating achievable backup storage ratio

Page 23: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Future

• trim-ready - waiting for our whole stack (Guest,

Hypervisor, Ceph, …) to pass this through

• Hot reload of scheduler

• Ensuring we can move VM backup directories between

different backup hosts

Page 24: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Having your backup and

eating it!

Page 26: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Image Sources

• https://www.flickr.com/photos/galeria_stefbu/

4781641072/in/pool-fotoszene/

• https://www.flickr.com/photos/dlography/6982668385/

• https://www.flickr.com/photos/

127437845@N04/15142216255

• https://www.flickr.com/photos/

clement127/15440591160

Page 27: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Image Sources

• https://www.flickr.com/photos/galeria_stefbu/

4781641072/in/pool-fotoszene/

• https://www.flickr.com/photos/dlography/6982668385/

• https://www.flickr.com/photos/

127437845@N04/15142216255

• https://www.flickr.com/photos/

clement127/15440591160

Page 28: It’s all about size: Bareos · • Ensuring we can move VM backup directories between different backup hosts. Having your backup and eating it! @theuni ct@flyingcircus.io. Image

Image Sources

• https://www.flickr.com/photos/

clement127/15999160179

• https://www.flickr.com/photos/

63433965@N04/5814096531/

• private pictures