mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
19.05.2021 84af79cade5b35334e88ae8b444844a5aeafb142
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Micromata BorgBackup-Butler
===========================
Micromata GmbH, Kai Reinhard
:toc:
:toclevels: 4
 
Copyright (C) 2019-2021
 
ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
== Development
=== Creating test data
1. Install virtual debian system (including user `borgbutler).
2. Enable ssh:
   .. Port-forward: Virtual box network settings: [name=SSH], [protocol=TCP], [Host IP=127.0.0.1], [Host Port=2222], [Guest IP=10.0.0.15], [Guest Port=22]
   .. Connect to virtual machine: `ssh -p 2222 borgbutler@127.0.0.1
3. `apt install net-tools curl`
4. Execute script `./createFiles.sh` as root on debian host (borg is installed automatically)
5. See and get the result files in `out.tar`:
   .. `cp out.tar /home/borgbutler`
   .. From host system: `scp -P 2222 borgbutler@127.0.0.1:out.tar`