Last updated: March 24, 2025

<span aria-hidden="true" id="export-files-to-wasabi-with-rclone"></span>

# Export files to wasabi with Rclone

![Kevin van Zonneveld](/assets/images/teammates/avatar-kvz-4.jpg?dpl=dpl_C6YH6XrtnwbHLJcm1LDKywQn4CB3)

#### Kevin van Zonneveld

Co-founder · Amsterdam, The Netherlands · Show bio

[](https://x.com/kvz)[](https://github.com/kvz)

Wasabi is a popular cloud storage provider known for its affordability, speed, and compatibility with Amazon S3 APIs. Developers often choose Wasabi for its predictable pricing model and high-performance storage capabilities.

In this DevTip, we'll explore how to efficiently export files to Wasabi using the powerful command-line tool, rclone.

<span aria-hidden="true" id="what-is-wasabi-and-why-use-it-for-cloud-storage"></span>

## What is wasabi and why use it for cloud storage?

Wasabi provides cloud storage solutions that are fully compatible with Amazon S3 APIs, making it easy to integrate into existing workflows. It offers:

* Predictable and affordable pricing
* High-speed data transfers
* Strong security and compliance
* No egress or API request charges

<span aria-hidden="true" id="how-does-rclone-simplify-file-management-in-the-cloud"></span>

## How does Rclone simplify file management in the cloud?

rclone is an open-source command-line tool designed to manage files across various cloud storage providers. It simplifies file transfers, synchronization, and backups with a straightforward CLI interface.

<span aria-hidden="true" id="installing-and-configuring-rclone-for-wasabi"></span>

## Installing and configuring Rclone for wasabi

<span aria-hidden="true" id="installation"></span>

### Installation

You can install rclone using one of these methods:

```bash
# Script installation (recommended)
sudo -v ; curl https://rclone.org/install.sh | sudo bash

# Or package manager installation
brew install rclone    # macOS with Homebrew
sudo apt install rclone # Debian/Ubuntu

```

Verify the installation:

```bash
rclone --version

```

<span aria-hidden="true" id="configuration"></span>

### Configuration

Configure rclone to connect to Wasabi:

```bash
rclone config

```

Follow the interactive prompts:

1. Choose `n` for a new remote.
2. Enter a name for the remote (e.g., `wasabi`).
3. Choose `Wasabi Object Storage` from the storage options.
4. Enter your Wasabi access key and secret key.
5. Choose the correct endpoint for your region (e.g., `s3.wasabisys.com`).
6. Leave the location constraint empty.
7. Choose `private` or `public-read` for the ACL.
8. Confirm the configuration.

<span aria-hidden="true" id="security-considerations"></span>

## Security considerations

When working with cloud storage credentials, security is paramount:

* Store your configuration file securely - it contains sensitive credentials.
* Default config location: `~/.config/rclone/rclone.conf` (Linux/macOS) or`%USERPROFILE%\.config\rclone\rclone.conf` (Windows).
* Use the `--config` flag to specify a different config location.
* Consider using environment variables for credentials in automated scripts.

<span aria-hidden="true" id="basic-rclone-commands-for-exporting-files"></span>

## Basic Rclone commands for exporting files

<span aria-hidden="true" id="copy-files"></span>

### Copy files

To copy files from your local machine to Wasabi:

```bash
rclone copy /local/path wasabi:bucket-name/path

```

<span aria-hidden="true" id="sync-files"></span>

### Sync files

To synchronize a local directory with Wasabi:

```bash
rclone sync /local/path wasabi:bucket-name/path

```

<span aria-hidden="true" id="advanced-rclone-features-for-efficient-file-transfer"></span>

## Advanced Rclone features for efficient file transfer

<span aria-hidden="true" id="parallel-transfers"></span>

### Parallel transfers

Increase transfer speed by adjusting parallel transfers:

```bash
rclone copy /local/path wasabi:bucket-name/path --transfers=8

```

<span aria-hidden="true" id="filtering-files"></span>

### Filtering files

Use filters to include or exclude specific files:

```bash
rclone sync /local/path wasabi:bucket-name/path --exclude "*.tmp"

```

<span aria-hidden="true" id="bandwidth-control"></span>

### Bandwidth control

Limit bandwidth usage to avoid network congestion:

```bash
rclone copy /local/path wasabi:bucket-name/path --bwlimit=10M

```

<span aria-hidden="true" id="automating-file-exports-to-wasabi-with-rclone-scripts"></span>

## Automating file exports to wasabi with Rclone scripts

Automate regular backups or exports by creating a simple bash script:

```bash
#!/bin/bash

# Backup script to wasabi
rclone sync /local/path wasabi:bucket-name/path --transfers=8 --exclude "*.tmp"

```

Make the script executable and schedule it with cron:

```bash
chmod +x backup-to-wasabi.sh
crontab -e

```

Add a cron job to run daily at midnight:

```cron
0 0 * * * /path/to/backup-to-wasabi.sh

```

<span aria-hidden="true" id="troubleshooting-common-rclone-issues-with-wasabi"></span>

## Troubleshooting common Rclone issues with wasabi

<span aria-hidden="true" id="common-issues"></span>

### Common issues

1. **Error 403** - Check your access credentials and bucket permissions.
2. **Connection reset** - Verify your endpoint matches your bucket region.
3. **Config file not found** - Use the absolute path with the `--config` flag.

<span aria-hidden="true" id="verification-commands"></span>

### Verification commands

Use these commands to test your configuration and diagnose issues:

```bash
# Test configuration
rclone lsd wasabi:

# Check bucket access
rclone ls wasabi:your-bucket

# Test upload speed
rclone copy --progress test.file wasabi:your-bucket/

```

<span aria-hidden="true" id="debugging"></span>

### Debugging

For more detailed error information, use the `-v` flag:

```bash
rclone -v copy /local/path wasabi:bucket-name/path

```

For even more verbose output, use `-vv` or `-vvv`.

<span aria-hidden="true" id="conclusion"></span>

## Conclusion

Using rclone to export files to Wasabi simplifies cloud storage management, offering powerful features like parallel transfers, filtering, and automation. It's an excellent choice for developers looking for efficient and reliable file handling.

Transloadit offers native Wasabi integration via the[🤖 /wasabi/store Robot](/docs/robots/wasabi-store.md) as part of our[File Exporting service](/services/file-exporting.md).

[#devtips](/devtips.md)#wasabi#rclone#cli#cloud-storage#file-exporting-service

### 👩‍💻 Join 20k+ developers

Sign up for our [monthly newsletter](/newsletters.md) to receive direct links to 3 exclusive tech — and 2 product updates. No less, no more.

Your email:

Get access

## File uploading and encoding. Made simple.

Transloadit streamlines file handling for developers, trusted by brands like Coursera and The New York Times. We’re known for a reliable API, top-notch support, and a strong commitment to open source, with projects like [Uppy⁠](https://uppy.io) and [Tus⁠](https://tus.io) setting standards in file processing.

[Sign up](/c/)[Book a Demo](https://survey.typeform.com/to/kRg47Xi5)

No credit card needed · 5 GB included in the free plan

Cancel anytime
