A possibility is to buy a private NAS (as suggested) and to opt for a hybrid cloud solution:
(e.g.) OwnCloud supports DropBox as an external storage,
this should be sufficient to grant cross-platform compatibility
and to encrypt the uploaded content (if you turn encryption on).
This is sufficient to protect your privacy from first-level inspections,
although the used encryption will not be 100% bulletproof for advanced techniques.