-
Notifications
You must be signed in to change notification settings - Fork 2
/
wrestic.toml
120 lines (106 loc) · 4.06 KB
/
wrestic.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# You can add as many settings as you want, just make sure the id is unique
# and remember, if your repository doesn't exist, it will be created
# and password will be set to the one you provided in RESTIC_PASSWORD
#################################
# BACKBLAZE B2 EXAMPLE PROFILE
#################################
[settings.backblaze_profile]
BACKEND = "b2"
RESTIC_PASSWORD = "your_backblaze_restic_repo_password"
REPOSITORY = "your_backblaze_bucket_name:your_backblaze_repository"
BACKUP_FOLDER = "/home/username/backup_this_folder"
RESTORE_FOLDER = "/home/username/restore_to_this_folder"
KEEP_LAST = 10
[settings.backblaze_profile.env]
B2_ACCOUNT_ID = "backblaze_application_key_id"
B2_ACCOUNT_KEY = "backblaze_application_key"
#################################
# AWS S3 EXAMPLE PROFILE
#################################
[settings.aws_profile]
BACKEND = "s3"
RESTIC_PASSWORD = "your_aws_restic_repo_password"
REPOSITORY = "s3.amazonaws.com/bucket_name"
BACKUP_FOLDER = "/home/username/backup_this_folder"
RESTORE_FOLDER = "/home/username/restore_to_this_folder"
KEEP_LAST = 10
[settings.aws_profile.env]
AWS_ACCESS_KEY_ID = "aws_access_key"
AWS_SECRET_ACCESS_KEY = "aws_secret_access_key"
#################################
# GOOGLE CLOUD STORAGE EXAMPLE PROFILE
#################################
[settings.google_cloud_storage_profile]
BACKEND = "gs"
RESTIC_PASSWORD = "your_google_cloud_storage_restic_repo_password"
REPOSITORY = "your_bucket_name:/path/to/your/repo"
BACKUP_FOLDER = "/home/username/backup_this_folder"
RESTORE_FOLDER = "/home/username/restore_to_this_folder"
KEEP_LAST = 10
[settings.google_cloud_storage_profile.env]
# you can use the following:
GOOGLE_PROJECT_ID = "google_cloud_storage_project_id"
GOOGLE_APPLICATION_CREDENTIALS = "$HOME/.config/gs-secret-restic-key.json"
# or you can use GOOGLE_ACCESS_TOKEN instead:
GOOGLE_ACCESS_TOKEN = "ya29.a0AfH6SMC78..."
#################################
# AZURE EXAMPLE PROFILE
#################################
[settings.azure_profile]
BACKEND = "azure"
RESTIC_PASSWORD = "your_azure_restic_repo_password"
REPOSITORY = "your_bucket_name:/path/to/your/repo"
BACKUP_FOLDER = "/home/username/backup_this_folder"
RESTORE_FOLDER = "/home/username/restore_to_this_folder"
KEEP_LAST = 10
[settings.azure_profile.env]
AZURE_ACCOUNT_NAME = "azure_account_name"
# for autenthication export one of the following:
AZURE_ACCOUNT_KEY = "azure_secret_key" # for storage account key
AZURE_ACCOUNT_SAS = "azure_sas_token" # for sas
#################################
# MINIO EXAMPLE PROFILE
#################################
[settings.minio_profile]
BACKEND = "s3"
RESTIC_PASSWORD = "your_minio_restic_repo_password"
REPOSITORY = "http://localhost:9000/repo"
BACKUP_FOLDER = "/home/username/backup_this_folder"
RESTORE_FOLDER = "/home/username/restore_to_this_folder"
KEEP_LAST = 10
[settings.minio_profile.env]
AWS_ACCESS_KEY_ID = "minio_access_key"
AWS_SECRET_ACCESS_KEY = "minio_secret_access_key"
#################################
# WASABI EXAMPLE PROFILE
#################################
[settings.wasabi_profile]
BACKEND = "s3"
RESTIC_PASSWORD = "your_aws_restic_repo_password"
REPOSITORY = "https://wasabi_service_url/wasabi_bucket_name"
BACKUP_FOLDER = "/home/username/backup_this_folder"
RESTORE_FOLDER = "/home/username/restore_to_this_folder"
KEEP_LAST = 10
[settings.wasabi_profile.env]
AWS_ACCESS_KEY_ID = "wasabi_access_key"
AWS_SECRET_ACCESS_KEY = "wasabi_secret_access_key"
#################################
# LOCAL EXAMPLE PROFILE
#################################
[settings.local_profile]
BACKEND = "local"
RESTIC_PASSWORD = "your_local_restic_repo_password"
REPOSITORY = "/path/to/your/local/repo"
BACKUP_FOLDER = "/home/username/backup_this_folder"
RESTORE_FOLDER = "/home/username/restore_to_this_folder"
KEEP_LAST = 8
#################################
# SFTP EXAMPLE PROFILE
#################################
[settings.sftp_profile]
BACKEND = "sftp"
RESTIC_PASSWORD = "your_sftp_restic_repo_password"
REPOSITORY = "user@host:/path/to/repo"
BACKUP_FOLDER = "/home/username/backup_this_folder"
RESTORE_FOLDER = "/home/username/restore_to_this_folder"
KEEP_LAST = 8