By carefully setting options on all create_path() calls, and by creating "/var/lib/proxmox-backup" at api server startup.