Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Alain Takoudjou
slapos
Commits
16372e53
Commit
16372e53
authored
Apr 17, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "metabase: fix restoring backups"
This reverts commit
8218f34a
. This did not work at all
parent
76045cfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
software/metabase/buildout.hash.cfg
software/metabase/buildout.hash.cfg
+1
-1
software/metabase/instance.cfg.in
software/metabase/instance.cfg.in
+2
-3
No files found.
software/metabase/buildout.hash.cfg
View file @
16372e53
[instance-profile]
[instance-profile]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
c79f0bcf9dac25060340aa829c4f291c
md5sum =
0e74c862401f266111552b7a3611f7bf
software/metabase/instance.cfg.in
View file @
16372e53
...
@@ -190,13 +190,12 @@ wrapper-path = $${directory:bin}/$${:_buildout_section_name_}
...
@@ -190,13 +190,12 @@ wrapper-path = $${directory:bin}/$${:_buildout_section_name_}
command-line =
command-line =
sh -e -c "\
sh -e -c "\
echo 'This will replace current database with latest backup. Hit Ctrl+C to cancel';
echo 'This will replace current database with latest backup. Hit Ctrl+C to cancel';
sleep
5
;
sleep
30
;
$${postgresql:bin}/pg_restore \
$${postgresql:bin}/pg_restore \
--exit-on-error \
--exit-on-error \
--clean \
--create \
-h $${postgresql:pgdata-directory} \
-h $${postgresql:pgdata-directory} \
-U $${postgresql:superuser} \
-U $${postgresql:superuser} \
-d $${postgresql:dbname} \
$${postgresql-backup:backup-file}"
$${postgresql-backup:backup-file}"
[cron]
[cron]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment