Skip to content

Commit 5aec306

Browse files
committed
Public
0 parents  commit 5aec306

23 files changed

+755
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Kopia Windows Service Installation Script
2+
3+
This script is designed to set up the Kopia service on a Windows 10 64-bit system.
4+
5+
## Script Overview
6+
7+
- **Platform Tested**: Windows 10 64-bit
8+
- **Service Account**: Runs using the user's Windows account
9+
- **Certificate**: Includes a Root CA certificate
10+
- **User Requirement**: Knowledge of installing Rclone and administrative rights to install the service
11+
12+
## Third-Party Tools
13+
14+
The script utilizes the following third-party tools, which are included with the script package. However, you can download them from their respective websites if needed:
15+
16+
- **OpenSSL (Win-64 3.3.1)** [OpenSSL](https://wiki.overbyte.eu/wiki/index.php/ICS_Download#Download_OpenSSL_Binaries)
17+
- **Rclone (v1.67.0)** [Rclone](https://rclone.org/downloads/)
18+
- **Shawl (v1.5.0)** [Shawl](https://github.com/mtkennerly/shawl)
19+
- **htpasswd (Apache 2.4.62-240718 Win64)** [htpasswd](https://www.apachelounge.com/download/)
20+
- **PrivMan (v1.0.2)** [PrivMan](https://github.com/Bill-Stewart/PrivMan)
21+
22+
## Installation Instructions
23+
24+
1. **Download and Extract the Script Package**: Download the entire code from the GitHub repository and extract it.
25+
2. **Run the Installation Script**: Execute the `kopia_windows_service_installation.cmd` file.
26+
27+
## Notes
28+
- For best results, place the Kopia folder in the root directory, such as `C:/` or `D:/`.
29+
- Ensure that all paths and configurations are correct before running the script.

configs/.htpasswd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

configs/rclone.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+

configs/tls.conf

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[req]
2+
prompt = no
3+
distinguished_name = kopia_local
4+
req_extensions = v3_req
5+
6+
[kopia_local]
7+
C = VN
8+
ST = Voz
9+
L = F13
10+
O = Kopia Topic
11+
#OU = Org Unit Name
12+
CN = Voz F13 Kopia Topic - Odoryande
13+
#emailAddress = info@example.com
14+
15+
[v3_req]
16+
basicConstraints = CA:FALSE
17+
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
18+
subjectAltName = @alt_names
19+
20+
[alt_names]
21+
DNS.1 = 127.0.0.1
22+
DNS.2 = kopia.local
23+
DNS.3 = www.kopia.local

kopia-service.cmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
%~dp0kopia.exe server start ^
2+
--config-file "%~dp0configs\repository.config" ^
3+
--log-dir %~dp0logs ^
4+
--address 127.0.0.1:51515 ^
5+
--htpasswd-file "%~dp0configs\.htpasswd" ^
6+
--tls-cert-file "%~dp0tls\kopia.crt" ^
7+
--tls-key-file "%~dp0tls\kopia.key"

kopia.exe

36.7 MB
Binary file not shown.

0 commit comments

Comments
 (0)