I recently setup an elasticsearch with 3 nodes and tried using and automated snapshot process. Below are the configs i used. But seeing the size i am wondering if this is really expected one. As of now i haven't started pushing data to this cluster though.
Script:-
!/bin/bash
index=backup
date=date +%Y.%m.%d
time=date +"%T"
#echo "Starting Backup"
curl -XPUT 'http://localhost:9200/_snapshot/test/'$index'-'$date'-'$time''
And the backup folder output for ls -lrth
-rw-r--r-- 1 elasticsearch elasticsearch 249 Aug 26 22:30 snapshot-backup-2015.08.26-22:30:01
-rw-r--r-- 1 elasticsearch elasticsearch 257 Aug 27 22:30 snapshot-backup-2015.08.27-22:30:01
-rw-r--r-- 1 elasticsearch elasticsearch 262 Aug 28 22:30 snapshot-backup-2015.08.28-22:30:01
-rw-r--r-- 1 elasticsearch elasticsearch 267 Aug 29 22:30 snapshot-backup-2015.08.29-22:30:01
-rw-r--r-- 1 elasticsearch elasticsearch 275 Aug 30 22:30 snapshot-backup-2015.08.30-22:30:01
-rw-r--r-- 1 elasticsearch elasticsearch 285 Aug 31 22:30 snapshot-backup-2015.08.31-22:30:01
-rw-r--r-- 1 elasticsearch elasticsearch 296 Sep 1 22:30 snapshot-backup-2015.09.01-22:30:01
-rw-r--r-- 1 elasticsearch elasticsearch 319 Sep 2 22:30 snapshot-backup-2015.09.02-22:30:01
-rw-r--r-- 1 elasticsearch elasticsearch 331 Sep 3 22:30 snapshot-backup-2015.09.03-22:30:01
-rw-r--r-- 1 elasticsearch elasticsearch 336 Sep 4 22:30 snapshot-backup-2015.09.04-22:30:01
-rw-r--r-- 1 elasticsearch elasticsearch 335 Sep 5 22:30 snapshot-backup-2015.09.05-22:30:01
-rw-r--r-- 1 elasticsearch elasticsearch 337 Sep 6 22:30 snapshot-backup-2015.09.06-22:30:01
-rw-r--r-- 1 elasticsearch elasticsearch 343 Sep 7 22:30 snapshot-backup-2015.09.07-22:30:01
This has resulted in 4 Gigs of disk space and see the increasing disk size each time. Is this really expected in incremental snapshots.