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
Commits
b90aceeb
Commit
b90aceeb
authored
10 months ago
by
Radoslav Bodó
Browse files
Options
Downloads
Patches
Plain Diff
general: readme cosmetics
parent
f02523f9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#7754
failed
10 months ago
Stage: code_quality
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+8
-6
8 additions, 6 deletions
README.md
with
8 additions
and
6 deletions
README.md
+
8
−
6
View file @
b90aceeb
...
@@ -17,7 +17,7 @@ S3 provides robust data protection with features like versioning and object
...
@@ -17,7 +17,7 @@ S3 provides robust data protection with features like versioning and object
locking (WORM). When versioning is enabled on a bucket, any updates to objects
locking (WORM). When versioning is enabled on a bucket, any updates to objects
are stored as new versions. Access permissions for manipulating objects and
are stored as new versions. Access permissions for manipulating objects and
versions can be finely controlled through access policies, allowing delegation
versions can be finely controlled through access policies, allowing delegation
to
access keys or
users with precise granularity.
to users with precise granularity.
RWM supports the standard restic backup process. For each backup performed, it
RWM supports the standard restic backup process. For each backup performed, it
records the final bucket state, including all objects and their latest version
records the final bucket state, including all objects and their latest version
...
@@ -101,7 +101,7 @@ Two S3 accounts in the same tenant are required (*admin*, *user1*)
...
@@ -101,7 +101,7 @@ Two S3 accounts in the same tenant are required (*admin*, *user1*)
# create storage
# create storage
cp examples/rwm-admin.conf admin.conf
cp examples/rwm-admin.conf admin.conf
rwm --confg admin.conf storage-list
rwm --confg admin.conf storage-list
rwm --confg admin.conf storage-create bucket1
user1
rwm --confg admin.conf storage-create bucket1
target_username
# do backups
# do backups
cp examples/rwm-backups.conf rwm.conf
cp examples/rwm-backups.conf rwm.conf
...
@@ -114,7 +114,8 @@ rwm restic mount /mnt/restore
...
@@ -114,7 +114,8 @@ rwm restic mount /mnt/restore
rwm --confg admin.conf storage-drop-versions bucket1
rwm --confg admin.conf storage-drop-versions bucket1
# if storage gets corrupted, state can be restored to other bucket
# if storage gets corrupted, state can be restored to other bucket
rwm --confg admin.conf storage-info bucket1 # select existing state file from here
## select existing state file from storage-info
rwm --confg admin.conf storage-info bucket1
rwm --confg admin.conf storage-restore-state bucket1 bucket1-restore rwm/state_[timestamp].json.gz
rwm --confg admin.conf storage-restore-state bucket1 bucket1-restore rwm/state_[timestamp].json.gz
```
```
...
@@ -165,12 +166,13 @@ rwm restic mount /mnt/restore
...
@@ -165,12 +166,13 @@ rwm restic mount /mnt/restore
*
`project_backedresource2`
*
`project_backedresource2`
*
...
*
...
Add these identities as members of the project_backup group.
Add these identities as members of the
`
project_backup
`
group.
4.
Generate S3 access credentials for each identity through the DS web portal.
4.
Generate S3 access credentials for each identity through the DS web portal.
5.
Utilize the
`project_admin`
identity to create policed storage buckets. Note
5.
Utilize the
`project_admin`
identity to create policed storage buckets. Note
that bucket names cannot be changed once created.
that bucket names cannot be changed once created. Bucket target_username is
DU S3 username assigned by Gatekeeper, not an E-INFRA login.
6.
Perform backups using the designated resource identities
6.
Perform backups using the designated resource identities
(
`project_backedresource1`
and
`project_backedresource2`
).
(
`project_backedresource1`
and
`project_backedresource2`
).
...
@@ -190,7 +192,7 @@ make coverage lint
...
@@ -190,7 +192,7 @@ make coverage lint
```
```
## Gitlab Runner
##
#
Gitlab Runner
```
```
git clone https://gitlab.cesnet.cz/radoslav_bodo/rwm.git /opt/rwm
git clone https://gitlab.cesnet.cz/radoslav_bodo/rwm.git /opt/rwm
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment