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?

Thanks!
Nicolas Kruchten

Question information

Language:
English Edit question
Status:
Expired
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jeff Wasilko (jwasilko) said :
#1

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

Revision history for this message
Jeff Wasilko (jwasilko) said :
#2

(to clarify) i moved it with rsync.

Revision history for this message
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" ?

Thanks,
Nick

Revision history for this message
Launchpad Janitor (janitor) said :
#4

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

Revision history for this message
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

Revision history for this message
Nicolas Kruchten (nicolas-hb) said :
#6

Thanks very much!