What is the recommended backup method?

Asked by Nicolas Kruchten on 2012-01-10

Can I simply rsync the whisper files while carbon and graphite are running, or is there some other procedure to follow?

Nicolas Kruchten

Question information

English Edit question
Graphite Edit question
No assignee Edit question
Last query:
Last reply:
Jeff Wasilko (jwasilko) said : #1

I moved data from one graphite server to another and it seemed to work ok.

Jeff Wasilko (jwasilko) said : #2

(to clarify) i moved it with rsync.

Nicolas Kruchten (nicolas-hb) said : #3

Thanks Jeff!

Is Graphite designed/built/tested for such an operation or is it just "this works most of the time" ?


Launchpad Janitor (janitor) said : #4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Michael Leinartas (mleinartas) said : #5

Short answer would be 'yes' - The storage system was built to be 'just a directory tree' to keep management simple. For instance, removing a metric is as simple as deleting a file.

As far as the safety of copying files, it is i think possible for a copy to pick up an incomplete write, but since the files are fixed size and written in-place, the worse i could imagine is that a single point might be lost (most likely the most recent unless data was being backfilled). I'd say it's low-risk

Nicolas Kruchten (nicolas-hb) said : #6

Thanks very much!