Do we have a feature or upcoming feature, where we set GIT to sync instead of FTP? Now a days I think that is more required then FTP … I am not sure if this feature is already available. What I see in this feature is
We define GIT Path,
Select Domain.
We set hook in our GIT repo (Webhook in github or gitlab) (We get that URL of hook from Panel.
Give authentication. And now whenever we commit to github it download through webhook.
I can do all this with custom Cron job or custom script, but if panel do this will make it easier.
I agree it is not “urgent” but I say it is important. I see this feature in Cpanel and Plesk [never use it though]. Plus it add security as need of FTP can be avoided on server controlled by individual organization.
It seems Cpanel acts as the git repository. Don’t think this is the overloaded route we need to follow.
Agree it would be nice if we can allow limited shell access via GNU Rush (https://github.com/hestiacp/hestiacp/issues/894) and then allow the use of svn/git/any other version control via CLI
If you’re looking for an incremental backup, I’ve been using restic to make offsite backups, and it works very well. In my case I’m backing up to Google Drive so I’m running it with rclone as well. Very cool, and it handles all the pruning as well. Just tell it to keep daily copies for the last three days and weekly copies for the last month, and it will figure everything out.
In fact it might be good to use that for internal backups to /backup/, but it would be a massive re-write of the code, so probably not …
Do we have any feature now that we can set so we can sync out git repo like in CI/CD? I am not very aware of CI/CD itself, but I have github repo that I want to auto sync with my hosting. Maybe there is some other way of doing it?
I feel the only way is to rely on os native git by using command line. It would be fantastic if some gui offered, either on the site dash, or the file manger.