Backup/README.md
2022-12-17 23:24:40 +02:00

630 B

Backup

  • Asks for LUKS password from external server
  • Backup data from local disk to encrypted USB disk
  • Send details email

Password API

A Raspberry PI connected to local network can do the job of serving the password

# copy the files
cp password /opt/
cp password.service /etc/systemd/system/

# Install the depentencies
apt update
apt install python3-pip
pip install aiohttp

# Restart systemd daemon
systemctl daemon-reload && systemctl status password
systemctl start password && systemctl enable password

# Test the service
curl http://192.168.1.199:9999/andthepasswordis

TODO

  • send mails