Deployment Architecture

Backup question

christinmb
Path Finder

Hi, I was wondering, is it possible to backup the last 2 months of indexed information?

Tags (1)
0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

The data is stored in buckets per index.
And each bucket has his timerange in the folder name in epoch time.
see http://docs.splunk.com/Documentation/Splunk/5.0/Indexer/HowSplunkstoresindexes

It should not be difficult to write a script that will backup selectively all the buckets that contains any events more recent than 2 months ago.

PS: the hot buckets cannot be reliably copied because they are intensively written. A technique is to force them to roll to warm just before the backup.

View solution in original post

yannK
Splunk Employee
Splunk Employee

The data is stored in buckets per index.
And each bucket has his timerange in the folder name in epoch time.
see http://docs.splunk.com/Documentation/Splunk/5.0/Indexer/HowSplunkstoresindexes

It should not be difficult to write a script that will backup selectively all the buckets that contains any events more recent than 2 months ago.

PS: the hot buckets cannot be reliably copied because they are intensively written. A technique is to force them to roll to warm just before the backup.

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...