File tree Expand file tree Collapse file tree 5 files changed +5
-2
lines changed Expand file tree Collapse file tree 5 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1- 3.1.3
1+ 3.1.4
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ def create_empty [] {
3737
3838 # start server
3939 bf-postgresql ctl init
40+ bf-postgresql conf generate
4041 bf-postgresql ctl start
4142
4243 # create role for user
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ use bf-s6
33bf env load
44
55# Append backup task to crontab
6- def main [] { bf-s6 crontab append -- min (random int 1 .. 59 ) -- hour " */8" " pg-dump" }
6+ def main [] { bf-s6 crontab append -- min (random int 1 .. 59 | into string ) -- hour " */8" " pg-dump" }
Original file line number Diff line number Diff line change 11use bf
2+ use conf .nu
23use ctl .nu
34
45# the name of the restoring environment variable
@@ -32,6 +33,7 @@ export def main [] {
3233 # restart the PostgreSQL service
3334 bf write debug " .. reinitialising cluster" restore
3435 ctl init
36+ conf generate
3537 ctl start
3638
3739 # run restore
You can’t perform that action at this time.
0 commit comments