mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-19 10:52:04 +00:00
e84753f9b9
* docs: bring doc titles and descriptions into SEO length limits Rewrite the frontmatter title and description of every published doc so the rendered <title> lands in 50-60 characters (including the site suffix) and the meta description lands in 150-160 characters. * docs: move SEO titles to a seoTitle field and restore display titles The frontmatter title renders as the page H1 and the sidebar label, so tuning it for the title tag shortened nothing and lengthened the visible navigation. Put the search-facing string in seoTitle and give title back its original value.
74 lines
1.7 KiB
Markdown
74 lines
1.7 KiB
Markdown
---
|
|
title: "Hybrid Sync"
|
|
seoTitle: "Hybrid Sync Between Spinifex and AWS — Spinifex Docs"
|
|
description: "Synchronise data bidirectionally between Spinifex and AWS when connectivity allows, so local infrastructure stays usable at intermittently connected sites."
|
|
category: "Migration"
|
|
tags:
|
|
- hybrid
|
|
- sync
|
|
- s3
|
|
resources:
|
|
- title: "Spinifex Repository"
|
|
url: "https://github.com/mulgadc/spinifex"
|
|
---
|
|
|
|
# Hybrid Sync
|
|
|
|
> Synchronize data between Spinifex and AWS when network connectivity is available.
|
|
|
|
## Table of Contents
|
|
|
|
- [Overview](#overview)
|
|
- [Instructions](#instructions)
|
|
- [Troubleshooting](#troubleshooting)
|
|
|
|
---
|
|
|
|
## Overview
|
|
|
|
Spinifex's hybrid mode enables bidirectional data synchronization between local infrastructure and AWS cloud services. Ideal for intermittent connectivity environments.
|
|
|
|
## Instructions
|
|
|
|
## Prerequisites
|
|
|
|
- A running Spinifex cluster (see [Setting Up Your Cluster](/docs/setting-up-your-cluster))
|
|
- AWS CLI configured with the `spinifex` profile:
|
|
|
|
```bash
|
|
export AWS_PROFILE=spinifex
|
|
```
|
|
|
|
## Push Local to Cloud
|
|
|
|
```bash
|
|
aws s3 sync s3://local-bucket/ s3://cloud-bucket/ \
|
|
--source-region spinifex --region us-east-1
|
|
```
|
|
|
|
## Pull Cloud to Local
|
|
|
|
```bash
|
|
aws s3 sync s3://cloud-bucket/ s3://local-bucket/ \
|
|
--source-region us-east-1 --region spinifex
|
|
```
|
|
|
|
## EBS Volume Backup
|
|
|
|
```bash
|
|
rsync -avz /data/ user@cloud-server:/backup/spinifex-data/
|
|
```
|
|
|
|
## Troubleshooting
|
|
|
|
## Sync Fails Mid Transfer
|
|
|
|
S3 sync is idempotent — re-run the same command to resume where it left off:
|
|
|
|
```bash
|
|
aws s3 sync s3://local-bucket/ s3://cloud-bucket/ \
|
|
--source-region spinifex --region us-east-1
|
|
```
|
|
|
|
Only changed or missing files will be transferred on subsequent runs.
|