You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+[Configuration with API](#configuration-with-api)
25
+
*[Monitoring](#monitoring)
26
+
*[Example requests and responses](#example-requests-and-responses)
27
+
+[Backup](#backup)
28
+
+[Restore](#restore)
28
29
-[FAQ](#faq)
29
-
*[What happens when a backup doesn’t finish before another starts (for the same routine)?](#what-happens-when-a-backup-doesnt-finish-before-another-starts-for-the-same-routine)
30
-
*[Can multiple backup routines be performed simultaneously?](#can-multiple-backup-routines-be-performed-simultaneously)
31
-
*[How does the backup service identify what data to back up during incremental backups?](#how-does-the-backup-service-identify-what-data-to-back-up-during-incremental-backups)
32
-
*[Which storage providers are supported?](#which-storage-providers-are-supported)
30
+
*[What happens when a backup doesn’t finish before another starts (for the same routine)?](#what-happens-when-a-backup-doesnt-finish-before-another-starts-for-the-same-routine)
31
+
*[Can multiple backup routines be performed simultaneously?](#can-multiple-backup-routines-be-performed-simultaneously)
32
+
*[How does the backup service identify what data to back up during incremental backups?](#how-does-the-backup-service-identify-what-data-to-back-up-during-incremental-backups)
33
+
*[Which storage providers are supported?](#which-storage-providers-are-supported)
33
34
-[Build from source](#build-from-source)
34
35
+[Prerequisites](#prerequisites)
35
36
+[Build the service](#build-the-service)
36
37
+[Build Docker image](#build-docker-image)
37
38
+[Build Linux packages](#build-linux-packages)
38
39
+[Release](#release)
39
40
-[Migration Guide](#migration-guide)
40
-
*[v3 -> v3.1](#v3---v31)
41
-
*[v2 -> v3](#v2---v3)
41
+
*[v3 -> v3.1](#v3---v31)
42
+
*[v2 -> v3](#v2---v3)
42
43
43
44
<!-- tocstop -->
44
45
45
46
# Getting started
46
47
47
-
Aerospike Backup Service reads configurations from a YAML file that is provided when the service is launched.
48
+
Aerospike Backup Service reads configurations from a YAML file that is provided when the service is launched.
48
49
See [Run](#run) for specific syntax.
49
50
50
51
Linux installation packages are available
@@ -113,7 +114,8 @@ docker run -d -p 8080:8080 -v config.yml:/app/config.yml --name backup-service b
113
114
114
115
#### Service
115
116
116
-
Run as a service. The default path for the configuration file is `/etc/aerospike-backup-service/aerospike-backup-service.yml`.
117
+
Run as a service. The default path for the configuration file is
@@ -579,21 +625,32 @@ To manage resource utilization, you can configure the `cluster.max-parallel-scan
579
625
threads operating on a single cluster.
580
626
581
627
## How does the backup service identify what data to back up during incremental backups?
582
-
The Aerospike Backup Service uses Aerospike’s scan operation to identify and backup records,
583
-
with different behaviors for full and incremental backups:
584
-
* **Full Backups:**
585
-
* Capture all records in the specified namespaces/sets without any time filter.
586
-
The service uses a scan operation with no lower time boundary (modAfter = 0).
587
-
588
-
* **Incremental Backups:**:
589
-
* Only capture records that have been modified since the last successful backup (full or incremental). The service tracks the timestamp of the last backup in a metadata YAML file stored alongside the backup data. This timestamp becomes the lower time boundary (modAfter parameter) for the next incremental backup.
590
-
For the upper time boundary (modBefore), two approaches are available:
591
628
592
-
- **Default Behavior (Open-ended)**: No upper time boundary is set. This means records modified during the backup process itself might be included in the backup, but with unpredictable results. For example, if a backup starts at 12:00 and runs for 5 minutes, a record created at 12:01 might be included with either its new or old version—there’s no guarantee which state will be captured.
593
-
- **Sealed Backups**: When the sealed property in the backup policy is set to true, the backup service will only include records modified before the backup start time. While this creates a more precise point-in-time snapshot, there’s still unpredictability: if a record is updated during the backup process, it might be captured in its old state or excluded entirely from the backup.
594
-
595
-
Users should select the appropriate approach based on their recovery point objectives and consistency requirements. The default open-ended approach ensures better data coverage but with some state unpredictability, while sealed backups provide better point-in-time consistency but might miss records updated during the backup process.
629
+
The Aerospike Backup Service uses Aerospike’s scan operation to identify and backup records,
630
+
with different behaviors for full and incremental backups:
596
631
632
+
* **Full Backups:**
633
+
* Capture all records in the specified namespaces/sets without any time filter.
634
+
The service uses a scan operation with no lower time boundary (modAfter = 0).
635
+
636
+
* **Incremental Backups:**:
637
+
* Only capture records that have been modified since the last successful backup (full or incremental). The service
638
+
tracks the timestamp of the last backup in a metadata YAML file stored alongside the backup data. This timestamp
639
+
becomes the lower time boundary (modAfter parameter) for the next incremental backup.
640
+
For the upper time boundary (modBefore), two approaches are available:
641
+
642
+
- **Default Behavior (Open-ended)**: No upper time boundary is set. This means records modified during the
643
+
backup process itself might be included in the backup, but with unpredictable results. For example, if a
644
+
backup starts at 12:00 and runs for 5 minutes, a record created at 12:01 might be included with either its new
645
+
or old version—there’s no guarantee which state will be captured.
646
+
- **Sealed Backups**: When the sealed property in the backup policy is set to true, the backup service will only
647
+
include records modified before the backup start time. While this creates a more precise point-in-time
648
+
snapshot, there’s still unpredictability: if a record is updated during the backup process, it might be
649
+
captured in its old state or excluded entirely from the backup.
650
+
651
+
Users should select the appropriate approach based on their recovery point objectives and consistency requirements. The
652
+
default open-ended approach ensures better data coverage but with some state unpredictability, while sealed backups
653
+
provide better point-in-time consistency but might miss records updated during the backup process.
0 commit comments