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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...