Full backup of a single node

Well this was an interesting exercise. First off, my data directory is /var/lib/elasticsearch. So, here's what I did in my tests:

curl -XPUT 'http://localhost:9200/_snapshot/my_backup' -d '{
    "type": "fs",
    "settings": {
        "location": "/media/backup/es/my_backup",
        "compress": true
    }
}'

take snapshot

curl -XPUT http://localhost:9200/_snapshot/my_backup/snapshot_1?wait_for_completion=true

at this point I verified the snapshot, stopped the es service then deleted /var/lib/elasticsearch/elasticsearch

I then attempted to restore the snapshot with:

curl -XPOST http://localhost:9200/_snapshot/my_backup/snapshot_1/_restore

this gave me:

{"error":"RepositoryMissingException[[my_backup] missing]","status":404}

yet the dir shows:

[18:29:11 dev:/media/backup/es/my_backup$] ls
index  indices  metadata-snapshot_1  snapshot-snapshot_1

So....long story short, if this is a single node, like mine is, it appears that just archiving /var/lib/elasticsearch is what I will do...I only need to do this to make sure that when I do my upgrade from 1.4.* to 1.7, I won't loose any data. Thanks again for all your help Magnus.