1. Find some friends or people you trust to not sell you out to the police. Ideally, these people should be in another country.
2. Place a server box on their property. This box will be a replica of your every-day home-server and devices.
3. However, in order to stop law enforcement from technically [1] finding this replica-box, you will need to use Tor. This ensures your home-server does not store the ip address or the physical location of the replica-box.
4. If your home-server is taken by law enforcement, you can buy another home-server and use memorized details (or call your friends on a burner phone) to restore a backup from the remote device [2].
[1] Please note that law enforcement can legally compel you with threats of jail time to reveal where these replica boxes are.
[2] Since you will probably be under surveillance, it's unlikely law enforcement will allow you to freely communicate on the internet with new devices and servers.