Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rwm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Radoslav Bodó
rwm
Compare revisions
afb7571a7763cf3b27e06190c8a04c876f8e2840 to ef25ea63cdc9528e378650ec3fb3c195365b4472
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
radoslav_bodo/rwm
Select target project
No results found
ef25ea63cdc9528e378650ec3fb3c195365b4472
Select Git revision
Swap
Target
radoslav_bodo/rwm
Select target project
radoslav_bodo/rwm
1 result
afb7571a7763cf3b27e06190c8a04c876f8e2840
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
scripts: restore postgresql usage docs
· 5d984785
Radoslav Bodó
authored
10 months ago
5d984785
general: update changelog
· ef25ea63
Radoslav Bodó
authored
10 months ago
ef25ea63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+8
-0
8 additions, 0 deletions
CHANGELOG.md
scripts/restore_postgresql.sh
+11
-0
11 additions, 0 deletions
scripts/restore_postgresql.sh
with
19 additions
and
0 deletions
CHANGELOG.md
View file @
ef25ea63
# RWM changelog
# RWM changelog
## 1.2 - Holodeck preserver
*
changed: cron, use .conf, propagate return code, prune logs
*
changed: rwm, require to select state version for storage-restore-state
*
changed: microceph, use bigger disk (improves cluster stability)
*
added: postgresql backup scripts (plain and docker version)
## 1.1 - Brahms tuning
## 1.1 - Brahms tuning
*
added: storage-state command
*
added: storage-state command
...
...
This diff is collapsed.
Click to expand it.
scripts/restore_postgresql.sh
View file @
ef25ea63
#!/bin/bash
#!/bin/bash
#
# Restores all databases (might throw errros, see pg docs).
# Might require to regrant privileges or ownership of created objects.
#
# ```
# \c database
# GRANT ALL PRIVILEGES ON SCHEMA public TO y;
# GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO y;
# GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO y;
# ```
`
set
-ex
set
-ex
umask
077
umask
077
...
...
This diff is collapsed.
Click to expand it.