Skip to content

VPS Setup

Updating

To keep the VPS up to date, use the following:

# Show upgradeable packages:
apt list --upgradable

# check for updates and dependencies, upgrade and restart
sudo apt update && sudo apt upgrade -y
sudo reboot

Backup of docker compose

Creating a local backup of the docker compose file

cp docker-compose.yml docker-compose_bak_$(date +%Y%m%d_%H%M%S).yml