Export/Import script #28
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Create a script that can export all data running on the GCL container + DB, and a corresponding script that can import it.
The export script should produce a tarball (containg a database dump + site data + forum user data + wiki uploaded files) and the import script should be able to consume the produced tarball, set up the docker services (if they are not already running), set up the database, and unpack the files.
The export script can optionally include a docker-compose file with the generated tarfile, so the import script can use it to set up the service.
The goal is to have only a script and tarball which can run on a server, which might be running docker already. Possibly the script can be concatenated onto the tarball so the tarball can be executable.