750 B
750 B
Backup
- Asks for LUKS password from external server
- Backup data from local disk to encrypted USB disk
- Send details email
Crontab
0 1 * * * /opt/backup.sh --host=10.0.0.1 --dir=Documents --user=myuser --pass=mypass --title=server
Password API
A Raspberry PI connected to local network can do the job of serving the password
# copy the files
cp password.py /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