---
# System prepended metadata

title: rclone S3 Backup

---

# rclone S3 Backup
### Export Config
```bash
export RCLONE_CONFIG_DATABASEBCK_TYPE=s3
export RCLONE_CONFIG_DATABASEBCK_ACCESS_KEY_ID=XXXXXXXXXXXXXXXXXXXX
export RCLONE_CONFIG_DATABASEBCK_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export RCLONE_CONFIG_DATABASEBCK_ENDPOINT=s3.eu-central-1.wasabisys.com
```

### List from remote
```bash
rclone -P ls DATABASEBCK:/
```

### Copy from local to remote
```bash
rclone --transfers=10 -P copy /opt/something DATABASEBCK:/
```

### Copy from remote to local
```bash
rclone --transfers=10 -P copy DATABASEBCK:/something /opt/
```

### Sync from local to remote
```bash
rclone --transfers=10 -P sync /opt/something DATABASEBCK:/
```

### Arguments

- Copy
```
rclone copy	- Copy files from source to dest, skipping already copied
```
https://rclone.org/commands/rclone_copy/

- Sync
```
rclone sync	- Make source and dest identical, modifying destination only.
```
https://rclone.org/commands/rclone_sync/

- Parallel transfers
```
--transfers=N

The number of file transfers to run in parallel. It can sometimes be useful to set this to a smaller number if the remote is giving a lot of timeouts or bigger if you have lots of bandwidth and a fast remote.
The default is to run 4 file transfers in parallel
```

- Progress
```
-P, --progress
```