[Check_mk (english)] Backup strategies

Hello,

What do you use as a backup strategy for your site?

I’ve used three various ones with mixed results:

  • rsync’ing the wato snapshots off to another location --> This is my preferred because I’ve restored successfully this way

  • using ‘cmk --backup’ as the site user --> This is my least preferred due to inconsistent results. For example, running this command on 2.8p9 leads to a tiny .tgz with an empty main.mk and other empty dirs

  • using 'omd backup '. --> This seems to be mentioned by people in this forum, but the problem is it’s very slow due to all the .RRD files it has to copy over, many small files.

What do you use?

Matt

Hi Mathieu,

if I want a consistent backup what I can also easily restore “omd backup” is the first choice.

The speed depends on the capabilities of your disc system. A big site with SSD discs take 10-15 Minutes. As the actual versions don’t need to stop the site for an “omd backup” it is not so important how long it takes.

br

Andreas

···

Mathieu Levi mlevi+cmk@collective.com schrieb am Do., 12. Okt. 2017 um 19:21 Uhr:

Hello,

What do you use as a backup strategy for your site?

I’ve used three various ones with mixed results:

  • rsync’ing the wato snapshots off to another location → This is my preferred because I’ve restored successfully this way
  • using ‘cmk --backup’ as the site user → This is my least preferred due to inconsistent results. For example, running this command on 2.8p9 leads to a tiny .tgz with an empty main.mk and other empty dirs
  • using ‘omd backup ’. → This seems to be mentioned by people in this forum, but the problem is it’s very slow due to all the .RRD files it has to copy over, many small files.

What do you use?

Matt


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Thanks, Andreas. I have it running as a nightly job along with snapshots copied off the host as an extra measure. I see it runs an rsync under the hood (not quite as fast as a cp), and even with the --no-rrds option it takes quite a while on my site which is about 80 gigs large. RAID 10 config of 10K disks - not quite SSD, of course.

Matt

···

On Thu, Oct 12, 2017 at 4:50 PM, Andreas Döhler andreas.doehler@gmail.com wrote:

Hi Mathieu,

if I want a consistent backup what I can also easily restore “omd backup” is the first choice.

The speed depends on the capabilities of your disc system. A big site with SSD discs take 10-15 Minutes. As the actual versions don’t need to stop the site for an “omd backup” it is not so important how long it takes.

br

Andreas

Mathieu Levi mlevi+cmk@collective.com schrieb am Do., 12. Okt. 2017 um 19:21 Uhr:

Hello,

What do you use as a backup strategy for your site?

I’ve used three various ones with mixed results:

  • rsync’ing the wato snapshots off to another location → This is my preferred because I’ve restored successfully this way
  • using ‘cmk --backup’ as the site user → This is my least preferred due to inconsistent results. For example, running this command on 2.8p9 leads to a tiny .tgz with an empty main.mk and other empty dirs
  • using ‘omd backup ’. → This seems to be mentioned by people in this forum, but the problem is it’s very slow due to all the .RRD files it has to copy over, many small files.

What do you use?

Matt


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

80 Gig without RRD files? That would be way to large :slight_smile:
One thing i do from time to time is search and remove obsolete/old RRD files.

My big single instances are not bigger then 20GB with RRD files. In one distributed system there some of these instances then but no single instances larger then 20-25GB.

br

Andreas

···

On Thu, Oct 12, 2017 at 4:50 PM, Andreas Döhler andreas.doehler@gmail.com wrote:

Hi Mathieu,

if I want a consistent backup what I can also easily restore “omd backup” is the first choice.

The speed depends on the capabilities of your disc system. A big site with SSD discs take 10-15 Minutes. As the actual versions don’t need to stop the site for an “omd backup” it is not so important how long it takes.

br

Andreas

Mathieu Levi mlevi+cmk@collective.com schrieb am Do., 12. Okt. 2017 um 19:21 Uhr:

Hello,

What do you use as a backup strategy for your site?

I’ve used three various ones with mixed results:

  • rsync’ing the wato snapshots off to another location → This is my preferred because I’ve restored successfully this way
  • using ‘cmk --backup’ as the site user → This is my least preferred due to inconsistent results. For example, running this command on 2.8p9 leads to a tiny .tgz with an empty main.mk and other empty dirs
  • using ‘omd backup ’. → This seems to be mentioned by people in this forum, but the problem is it’s very slow due to all the .RRD files it has to copy over, many small files.

What do you use?

Matt


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en