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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...