Wuu Posted August 15, 2018 Report Share Posted August 15, 2018 sudo cat $BACKUPNAME | docker exec -i automation-pg psql -U postgres Šādi atjaunoju uz unix sistēmas. Bet kāds ir ekvivalents Windows sistēmā? ... Quote Link to comment Share on other sites More sharing options...
pcsssss Posted August 17, 2018 Report Share Posted August 17, 2018 Mans risinājums ir piemapots db dumpu folderis iekš postgres konteinera, kurā atrodas visi dumpi + restore.sh skripts, kuru pēc vajadzības izsauc iekš konteinera. Quote Link to comment Share on other sites More sharing options...
Wuu Posted August 20, 2018 Author Report Share Posted August 20, 2018 Njā, es apmēram tā arī izdarīju. Kopēju dumpy docker konteineri un manuāli atjaunoju. :/ Cik atceros, Windows vidē shared direktorijas nestrādā. (Vismaz man, dēļ iekšējiem uzņēmuma policies windowsā ) :/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.