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
Romain Courteaud
slapos
Commits
9faa3e08
Commit
9faa3e08
authored
Nov 24, 2022
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
peertube: backup test fixup
parent
3aadd960
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
software/peertube/buildout.hash.cfg
software/peertube/buildout.hash.cfg
+1
-1
software/peertube/template-peertube-restore.sh.in
software/peertube/template-peertube-restore.sh.in
+1
-1
No files found.
software/peertube/buildout.hash.cfg
View file @
9faa3e08
...
@@ -54,4 +54,4 @@ md5sum = 58d1a4fe246169dea94d7d243b4bac9e
...
@@ -54,4 +54,4 @@ md5sum = 58d1a4fe246169dea94d7d243b4bac9e
[template-peertube-restore-script]
[template-peertube-restore-script]
filename = template-peertube-restore.sh.in
filename = template-peertube-restore.sh.in
md5sum =
d3189a97e1898cc319acb7bc28ef3245
md5sum =
ad94a08007a879af14c35f0f58503f1e
software/peertube/template-peertube-restore.sh.in
View file @
9faa3e08
...
@@ -24,7 +24,7 @@ if [ -e "$pid_file" ]; then
...
@@ -24,7 +24,7 @@ if [ -e "$pid_file" ]; then
fi
fi
# 2. Restore database
# 2. Restore database
$${postgresql:bin}/pg_restore -h $${postgresql:pgdata-directory} -
C -c
-U peertube $${directory:srv}/backup/peertube_prod-dump.db
$${postgresql:bin}/pg_restore -h $${postgresql:pgdata-directory} -
-exit-on-error -c -d peertube_prod
-U peertube $${directory:srv}/backup/peertube_prod-dump.db
# 3.
# 3.
echo "Starting postgresql..."
echo "Starting postgresql..."
...
...
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