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
2. Copy `kopia-configs.template.yaml` to `kopia-configs.yaml`
34
-
3. Edit `kopia-configs.yaml` with your repository paths and sources
33
+
2. Copy `kopia-helpers.template.yaml` to `kopia-helpers.yaml`
34
+
3. Edit `kopia-helpers.yaml` with your repository paths and sources
35
35
4. Set your password (see below)
36
36
5. Run `python kopia-start-backups.py` as Administrator
37
37
6. Run `python kopia-health-check.py --register` to enable backup monitoring
38
38
39
-
Your `kopia-configs.yaml` is re-read each time the scheduled task runs, so config changes take effect automatically. You can also safely re-run steps 5 and 6 anytime to re-register the tasks (but not required). Uou will receive a Windows Toast Notification if there are backup failures or lack of backup activity.
39
+
Your `kopia-helpers.yaml` is re-read each time the scheduled task runs, so config changes take effect automatically. You can also safely re-run steps 5 and 6 anytime to re-register the tasks (but not required). Uou will receive a Windows Toast Notification if there are backup failures or lack of backup activity.
40
40
41
41
## Password Configuration
42
42
43
43
Passwords can be set in multiple ways (checked in this order):
44
44
45
45
### Option 1: In config file (simplest)
46
46
```yaml
47
-
# kopia-configs.yaml
47
+
# kopia-helpers.yaml
48
48
repositories:
49
49
- name: my-backup
50
50
password: your-password-here
@@ -65,7 +65,7 @@ set KOPIA_PASSWORD=your-password
65
65
# .env.local
66
66
KOPIA_PASSWORD_MY_BACKUP1=your-password
67
67
```
68
-
**Note:** The variable name is based on the repository `name` in your `kopia-configs.yaml`, converted to uppercase with dashes replaced by underscores.
68
+
**Note:** The variable name is based on the repository `name` in your `kopia-helpers.yaml`, converted to uppercase with dashes replaced by underscores.
@@ -75,7 +75,7 @@ Run as Administrator to auto-register with Windows Task Scheduler:
75
75
python kopia-start-backups.py
76
76
```
77
77
78
-
This creates a task that runs every 15 minutes (configurable in kopia-configs.yaml).
78
+
This creates a task that runs every 15 minutes (configurable in kopia-helpers.yaml).
79
79
80
80
## Health Check
81
81
@@ -84,58 +84,141 @@ Register the health check to alert if backups stop:
84
84
python kopia-health-check.py --register
85
85
```
86
86
87
-
This checks every 3 hours and shows a toast notification if no backups for 7 days (configurable in kopia-configs.yaml).
87
+
This checks every 3 hours and shows a toast notification if no backups for 7 days (configurable in kopia-helpers.yaml).
88
88
89
-
## Cloud Backup (OneDrive, Google Drive, etc.)
89
+
## Syncing to Cloud / Remote Storage
90
90
91
-
For cloud destinations, these scripts use [rclone](https://rclone.org/) to sync your local Kopia repository to the cloud. This is more reliable than the OneDrive desktop client for automated backups (which warns about bulk deletes, has character encoding issues, etc.).
91
+
After Kopia creates local snapshots, you can sync them to cloud storage or other destinations using Kopia's built-in `repository sync-to` command. This properly handles repository structure (sharding) and supports multiple destinations per repository.
92
92
93
93
### How it works
94
94
95
-
1. Kopia writes snapshots to a local directory repo as per normal
96
-
2. After backup completes, rclone syncs the kopia repo to your cloud destination
97
-
3.The cloud provider's desktop client can sync back for fast local restores
95
+
1. Kopia writes snapshots to a local directory repository
96
+
2. After backup completes, `kopia repository sync-to` syncs to each configured destination
97
+
3.Each destination can have its own sync interval
98
98
99
-
### Setup
99
+
### Supported backends
100
+
101
+
| Backend | Description | Setup Required |
102
+
|---------|-------------|----------------|
103
+
|`rclone`| OneDrive, Dropbox, and [50+ providers](https://rclone.org/overview/)|[rclone](https://rclone.org/downloads/) installed + configured |
104
+
|`s3`| Amazon S3 and S3-compatible storage | Access keys |
0 commit comments