Skip to content

Commit

Permalink
clarify migration commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sellth committed Apr 2, 2024
1 parent 409b061 commit 03d0304
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bih-cluster/docs/help/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Please see the memory part of the answer to [My job terminated before being done
## How can I create a new project?

You can create a project if you are either a group leader of an AG or a delegate of an AG.
If this is the case, please follow [these instructions](../../admin/getting-access/#projects).
If this is the case, please follow [these instructions](../admin/getting-access.md#projects).

## I cannot create PNGs in R

Expand Down
13 changes: 10 additions & 3 deletions bih-cluster/docs/storage/migration-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@ You should also use `tmux` to not risk connection loss during long running trans

## Useful commands

1. Define source and target location and copy contents.
1. Define source and target location and copy contents. The example code below copies a user home folder.
Please replace the parts in curly brackets with your actual folder names.
```sh
$ SOURCE=/data/gpfs-1/work/projects/my_project/
$ TARGET=/data/cephfs-2/unmirrored/projects/my-project/
$ SOURCE=/data/gpfs-1/home/users/{username_c}/
$ TARGET=/data/cephfs-1/home/users/{username_c}/
$ rsync -ah --stats --progress --dry-run $SOURCE $TARGET
```
This is how it would look like for a project folder:
```sh
$ SOURCE=/data/gpfs-1/work/projects/{my_project}/
$ TARGET=/data/cephfs-2/unmirrored/projects/{my-project}/
$ rsync -ah --stats --progress --dry-run $SOURCE $TARGET
```

Expand Down

0 comments on commit 03d0304

Please sign in to comment.