Currently, it seems there is no possibility of backing up and restoring the Dokploy instance. In other words, consider a scenario where a user has a setup with 10+ apps running on a server. If something goes wrong with the machine, the user must set up Dokploy from scratch, recovering and re-configuring all the apps. This might be a lot of work or even not feasible for larger-scale products.
In other words, consider a scenario where a user has a setup with 10+ apps running on a server. If something goes wrong with the machine, the user must set up Dokploy from scratch, recovering and re-configuring all the apps. This might be a lot of work or even not feasible for larger-scale
Describe the solution you'd like
It would be nice to have the possibility to backup Dokploy and an option to "Set up the machine from a backup" when the instance is initialized. I.e., so that if a user installs Dokploy, it gives you the option:
Set up a new Dokploy instance
Recover from a backup. It would be nice to have the possibility to back up Dokploy and an option to "Set up the machine from a backup" when the instance is initialized.
Additionally, it might help users who may want to switch from Dokploy to Dokploy Cloud to "import" their whole set up instead of recreating it from scratch.want to switch from Dokploy to Dokploy Cloud to "import" their whole setup
Describe alternatives you've considered
The only viable alternative seems to be regular backups of the whole machine (one could, of course, only back up Dokploy's configuration, but since the internal configuration and directories in question are subject to change, it would not be a reliable strategy to simply copy some directories or the Dokploy database associated with a current version of Dokploy).
Another alternative "workaround" that I considered is using Dokploy Cloud, as I suppose that it should perform backups anyway. However, from what I understood, Dokploy Cloud does not allow you to "import" the existing Dokploy setup (and manually re-creating a complex setup is very costly and error-prone).
What problem will this feature address?
Currently, it seems there is no possibility of backing up and restoring the Dokploy instance. In other words, consider a scenario where a user has a setup with 10+ apps running on a server. If something goes wrong with the machine, the user must set up Dokploy from scratch, recovering and re-configuring all the apps. This might be a lot of work or even not feasible for larger-scale products.
In other words, consider a scenario where a user has a setup with 10+ apps running on a server. If something goes wrong with the machine, the user must set up Dokploy from scratch, recovering and re-configuring all the apps. This might be a lot of work or even not feasible for larger-scale
Describe the solution you'd like
It would be nice to have the possibility to backup Dokploy and an option to "Set up the machine from a backup" when the instance is initialized. I.e., so that if a user installs Dokploy, it gives you the option:
Additionally, it might help users who may want to switch from Dokploy to Dokploy Cloud to "import" their whole set up instead of recreating it from scratch.want to switch from Dokploy to Dokploy Cloud to "import" their whole setup
Describe alternatives you've considered
The only viable alternative seems to be regular backups of the whole machine (one could, of course, only back up Dokploy's configuration, but since the internal configuration and directories in question are subject to change, it would not be a reliable strategy to simply copy some directories or the Dokploy database associated with a current version of Dokploy).
Another alternative "workaround" that I considered is using Dokploy Cloud, as I suppose that it should perform backups anyway. However, from what I understood, Dokploy Cloud does not allow you to "import" the existing Dokploy setup (and manually re-creating a complex setup is very costly and error-prone).
Additional context
Related to (a more elaborate version of?) https://github.com/Dokploy/dokploy/issues/668