Hi all
I could use some help getting my head around the snapshot and restore
functionality in ES.
I have a requirement to do incremental daily tape backups and full backups
weekly using EMC's Avamar backup software.
I'd really appreciate if someone can tell me if the following plan is going
to work -
-
Export an NFS filesystem from the storage node to both ES data nodes,
and mount that as /mnt/backup on both nodes.
-
From one of the ES nodes register this directory as the shared
repository: curl -XPUT 'http://localhost:9200/_snapshot/backup' -d
'{"type": "fs","settings": {"location": "/mnt/backup"}}'
-
On Saturday do a full backup:
i. Get a list of all snapshots using: curl -XGET
'localhost:9200/_snapshot/_status'
ii. For each of these delete using a command like: curl -XDELETE
'localhost:9200/_snapshot/backup/snapshot_20140830'
iii. Create a full backup using: curl -XPUT
"localhost:9200/snapshot/backup/snapshot$(date
+%Y%m%d)?wait_for_completion=true"
iv. Copy the /mnt/backup directory to tape telling Avamar to take a full
backup
- On Sunday to Friday do incremental backups based on the Saturday backup:
i. Simply run: curl -XPUT "localhost:9200/snapshot/backup/snapshot$(date
+%d%m%Y)?wait_for_completion=true"
ii. Copy /mnt/backup to tape telling Avamar to take an incremental backup
Is this plan going to work? Is there a better way?
Thanks very much in advance.
Best regards,
Alex
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2a21ece7-533c-480e-9ac1-218d76d85385%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I could still use feedback on this plan.
On Sunday, August 31, 2014 9:08:12 PM UTC+10, Alex Harvey wrote:
Hi all
I could use some help getting my head around the snapshot and restore
functionality in ES.
I have a requirement to do incremental daily tape backups and full backups
weekly using EMC's Avamar backup software.
I'd really appreciate if someone can tell me if the following plan is
going to work -
-
Export an NFS filesystem from the storage node to both ES data nodes,
and mount that as /mnt/backup on both nodes.
-
From one of the ES nodes register this directory as the shared
repository: curl -XPUT 'http://localhost:9200/_snapshot/backup' -d
'{"type": "fs","settings": {"location": "/mnt/backup"}}'
-
On Saturday do a full backup:
i. Get a list of all snapshots using: curl -XGET
'localhost:9200/_snapshot/_status'
ii. For each of these delete using a command like: curl -XDELETE
'localhost:9200/_snapshot/backup/snapshot_20140830'
iii. Create a full backup using: curl -XPUT
"localhost:9200/snapshot/backup/snapshot$(date
+%Y%m%d)?wait_for_completion=true"
iv. Copy the /mnt/backup directory to tape telling Avamar to take a full
backup
- On Sunday to Friday do incremental backups based on the Saturday
backup:
i. Simply run: curl -XPUT
"localhost:9200/snapshot/backup/snapshot$(date
+%d%m%Y)?wait_for_completion=true"
ii. Copy /mnt/backup to tape telling Avamar to take an incremental backup
Is this plan going to work? Is there a better way?
Thanks very much in advance.
Best regards,
Alex
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6bea9d13-5137-41e6-842c-32fbe71c56b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.