Connect my local discourse to my discourse on vps via git

(SMHassanAlavi) #1

Hey guys.
I want connect my site to my local discourse and have my own website and database on my local.
is there any way to do it?

for example by typing something like git pull in terminal every night I get the whole website on my local
(I want to do this because of two reasons: 1. getting backup(it is very easy if happened) helps me testing my codes safely on website)

(Stefano Costa) #2

I don’t think your intended way of doing this is possible (git pull) but the default Backup / Restore feature should work pretty well for your use case

And the download of backup zipballs can be done programmatically via API calls: