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
f64b112b
Commit
f64b112b
authored
1 year ago
by
Radoslav Bodó
Browse files
Options
Downloads
Patches
Plain Diff
general: readme cleanup
parent
f82cef3a
No related branches found
No related tags found
No related merge requests found
Pipeline
#7294
passed
1 year ago
Stage: code_quality
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+9
-27
9 additions, 27 deletions
README.md
with
9 additions
and
27 deletions
README.md
+
9
−
27
View file @
f64b112b
...
@@ -60,6 +60,7 @@ cd /opt/rwm
...
@@ -60,6 +60,7 @@ cd /opt/rwm
make install
make install
```
```
### Low-level S3
### Low-level S3
```
```
...
@@ -80,6 +81,7 @@ rwm rclone_crypt sync /data rwmbe:/
...
@@ -80,6 +81,7 @@ rwm rclone_crypt sync /data rwmbe:/
rwm rclone_crypt lsl rwmbe:/
rwm rclone_crypt lsl rwmbe:/
```
```
### Restic: manual restic backup
### Restic: manual restic backup
```
```
...
@@ -90,8 +92,6 @@ rwm restic snapshots
...
@@ -90,8 +92,6 @@ rwm restic snapshots
rwm restic mount /mnt/restore
rwm restic mount /mnt/restore
```
```
note: executed tools stdout is buffered, mount does not have immediate output as normal
`restic mount`
would
### RWM: simple backups
### RWM: simple backups
...
@@ -107,7 +107,11 @@ rwm restic mount /mnt/restore
...
@@ -107,7 +107,11 @@ rwm restic mount /mnt/restore
## Notes
## Notes
#### Development
*
executed tools stdout is buffered, eg.
`restic mount`
does not print immediate output as normal
*
passthrough full arguments to underlying tool with "--" (eg.
`rwm rclone -- ls --help`
).
## Development
```
```
git clone git@gitlab.flab.cesnet.cz:bodik/rwm.git /opt/rwm
git clone git@gitlab.flab.cesnet.cz:bodik/rwm.git /opt/rwm
cd /opt/rwm
cd /opt/rwm
...
@@ -117,28 +121,6 @@ make venv
...
@@ -117,28 +121,6 @@ make venv
```
```
### Passing arguments
## Mainline backups
Passthrough full arguments to underlyin tool with "--" (eg.
`rwm rclone -- ls --help`
).
### rclone sync
*
https://rclone.org/commands/rclone_sync/
It is always the contents of the directory that is synced, not the directory itself.
TBD
So when source:path is a directory, it's the contents of source:path that are copied,
not the directory name and contents. See extended explanation in the copy command if unsure.
### rclone crypt
*
corect, fails to download corrupted files
```
2024/03/23 16:54:31 ERROR : testfile.txt: Failed to copy: failed to open source object: not an encrypted file - bad magic string
2024/03/23 16:54:31 ERROR : Attempt 1/3 failed with 1 errors and: failed to open source object: not an encrypted file - bad magic string
```
*
corect, skips bad filenames
```
2024/03/23 16:53:56 DEBUG : 6p78fe3tlp5o7ngi241jsjl2qX: Skipping undecryptable file name: illegal base32 data at input byte 25
```
\ No newline at end of file
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