Skip to content

Commit 45aa004

Browse files
committed
updated README.md
1 parent 41b6e58 commit 45aa004

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
11
# Arch Installation Script
22

3-
Installation script for my **Arch Linux** setup. Installs automaticly dependencies of my setup on a new installation. Also copies backed up data to new operating system.
3+
Post-installation script for **Arch Linux/EndeavourOS**. Installs automaticly packages that are declared within the `packages/**` files and transfers data from a borgbackup server to the current operating system.
44

55
# Getting Started
66

7-
For a complete installation & syncing, you can make use of `./src.main.sh`. Before that I recommend to change the locations declard in `./src/.rsync.sh` (look below).
7+
For a complete installation & syncing, make use of `./src/main.sh`. Before that It's recommend to change the mounting location declared in `./src/borgserver.sh`.
88

99
```bash
1010
#!/bin/bash
1111
./src/main.sh
1212
```
1313

14-
## <u> Rsync Backup Location </u>
14+
## <u> Borgbackup Server </u>
1515

16-
Change location of the declared variables `backup_mount_dir` and `backup_home_dir` to the wished ones in `./src/rsync.sh`. `rsync.sh` checks if the path exists. The backed up locations are also declared in the same script file as map/dict.
16+
Change location of the declared mounting directory `mount_dir` if needed. The location paths that are to transfer from the source (borgbackup archive) to the destination (current OS) are declared as map or dict. Also the script checks if both directories exits and tranfers the data via `rsync` to the destination.
1717

18+
## <u> Seperately Setting Up </u>
1819

19-
## <u> Seperatly Setting Up </u>
20+
It's also possible to use the scripts `./src/inst.sh` and `./src/borgserver.sh` seperately. The `./src/main.sh` does load first the installation script and after that the borgbackup server script. But only in `./src/main.sh` is the function to keep-alive the sudo permission implemented so for a unattended installation it's recommended to use that script.
2021

21-
It's also possible to use seperatly *either* the package installation script *or* the recovery of data using `rsync`. Here only the installation of packages declared in the package files located at `./src/packages/**.txt`.
22+
To install declared packages with Pacman, Yay and Flatpak. Afterwards it's loading manually the needed kernel modules (also declared in a file) and setting up services like database servers and more.
2223

2324
```bash
2425
#!/bin/bash
25-
./src/inst.sh # install packages with pacman, yay & flatpak
26+
./src/inst.sh # installing (via pacman, yay & flatpak) and enabling services
2627
```
2728

28-
Or only copying backup files to the newly installed operating system.
29+
To transfer data from borgbackup archive to current OS.
2930

3031
```bash
3132
#!/bin/bash
32-
./src/rsync.sh # recovery data using rsync
33+
./src/borgserver.sh # recovery data using rsync
3334
```

0 commit comments

Comments
 (0)