The current docker-entrypoint.sh supports restoring a gateway backup when the image loads, but it does not support passing the --local parameter with the backup to include the local configuration on restore. When passing -r to the script it only accepts a file name, even though gwcmd.sh supports restoring a backup with local configurations by passing --local. This feature is really useful if the gateways share the same certificate authority for SSL and for cases where the UUID needs to stay the same on restore.