---
title: "JBOD: Backing up your files for long term storage"
breaks: false
tags: General
---
# JBOD: Backing up your files for long term storage
### Quick steps
- Server structure
- **[Notes on CBG Servers](https://docs.google.com/document/d/1X8k7WkpY91hjR0XBA5lXrgmkLWFLgC20HRaeSur5WD4/edit/)**
- We are aiming to back up critical files (JBOD)
- Raw data file (eg fasta.gz)
- Output files (vcf tools) - mainly what submitted for publication
- JBOD
- can be accessed through "Curie" 10.2.0.53
- location of folder on curie ":/data/labs/Fant"
- folder structure within folder should be "/User/project/raw" and "/User/project/output"
- Rsync
- Use rsync to move files over.
- Some websites
- **[atlantic.net](https://www.atlantic.net/vps-hosting/how-to-use-rsync-copy-sync-files-servers/)**
:::info
Example of rsync code for
```bash!
rsync -rtu --delete SOURCE root@x.x.x.x:/DESTINATION
```
--delete = to remove the folder
-t = copy over timestamp
-r = copy everything in a folder
-u = update only different/changed/added files
:::
:::danger
Tried to rysnc
```
rsync -rtu jbf420@quest.northwestern.edu:/projects/b1042/Schipma/ToShare/Fant47_3.22.20
24 jfant@10.2.0.53:/data/labs/Fant/Cohen/
```
```
Error:
ssh: connect to host 10.2.0.53 port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.2]
```