Open pgmillon opened 3 years ago
I'm just making note of the current process for backup and restore (as per the [p]backup
custom command in the main support server) here so that we may look at improvements as the current process (particularly on the restore side) is extremely inefficient, requiring a lot of user input to fully make the restore process happen that could potentially be automated
Current backup and restore process:
[p]load downloader
then [p]repo list
.[p]shutdown
.redbot-setup backup <instancename>
in your venv.redbot-setup
to create a new instance, except use the path you remembered above as your data path.[p]cog update
Point 2 and 3 might get addressed by #4063
Type of feature request
Other
Description of the feature you're suggesting
As Red instance maintainer, I'd like to deploy a fully operational instance from scratch on a new node, including but not limited to:
1 - Core Red core can be easily installed automated using pip
2 - Cogs Cogs can only be installed using
[p]cog install <repo> <cogs...>
Suggestion: Something similar to pip's requirement with the list of cogs to install on startup given a --cogs-requirements flag is specified3 - Community cogs Community cogs can only be install with both
[p]repo add <repo> <ul>
+[p]cog install <repo> <cogs...>
Suggestion: Same as 2/ but it would be smarter to split with a --repositories-list flag to a file with a list of repos4 - Config data If I want my new instance to be setup with some permissions, I need to start the instance with installed permission cog and then send a bunch of
[p]permissions addglobalrule allow <command> <target>
. Overwriting the settings.json file is not an options since data can be stored on a DB server. Suggestion: not much, maybe being able to specify a file with some startup commandsAnything else?
No response