2018-05-03 16:31:06 +01:00
---
title: "Memory"
description: "Rclone docs for Memory backend"
2022-12-20 21:05:05 +01:00
versionIntroduced: "v1.51"
2018-05-03 16:31:06 +01:00
---
2021-07-20 19:45:41 +01:00
# {{< icon "fas fa-memory" >}} Memory
2018-05-03 16:31:06 +01:00
The memory backend is an in RAM backend. It does not persist its
data - use the local backend for that.
2021-11-04 08:50:43 -03:00
The memory backend behaves like a bucket-based remote (e.g. like
2018-05-03 16:31:06 +01:00
s3). Because it has no parameters you can just use it with the
`:memory:` remote name.
2021-10-14 15:40:18 +02:00
## Configuration
2018-05-03 16:31:06 +01:00
You can configure it as a remote like this with `rclone config` too if
you want to:
2025-08-25 00:00:48 +02:00
```text
No remotes found, make a new one\?
2018-05-03 16:31:06 +01:00
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
name> remote
Type of storage to configure.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
[snip]
XX / Memory
\ "memory"
[snip]
Storage> memory
** See help for memory backend at: https://rclone.org/memory/ * *
Remote config
2024-08-16 12:05:43 +02:00
Configuration complete.
Options:
- type: memory
Keep this "remote" remote?
2018-05-03 16:31:06 +01:00
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y
```
Because the memory backend isn't persistent it is most useful for
2020-10-13 17:49:58 -04:00
testing or with an rclone server or rclone mount, e.g.
2018-05-03 16:31:06 +01:00
2025-10-31 21:58:24 +01:00
```console
2025-08-25 00:00:48 +02:00
rclone mount :memory: /mnt/tmp
rclone serve webdav :memory:
rclone serve sftp :memory:
```
2018-05-03 16:31:06 +01:00
2023-11-18 13:36:46 +01:00
### Modification times and hashes
2018-05-03 16:31:06 +01:00
The memory backend supports MD5 hashes and modification times accurate to 1 nS.
2021-10-14 15:40:18 +02:00
### Restricted filename characters
2018-05-03 16:31:06 +01:00
The memory backend replaces the [default restricted characters
set](/overview/#restricted -characters).
2025-11-04 14:56:55 +01:00
<!-- autogenerated options start - DO NOT EDIT - instead edit fs.RegInfo in backend/memory/memory.go and run make backenddocs to verify --> <!-- markdownlint-disable-line line-length -->
2024-03-10 11:22:43 +00:00
### Advanced options
Here are the Advanced options specific to memory (In memory object storage system.).
#### --memory-description
2024-06-14 16:04:51 +01:00
Description of the remote.
2024-03-10 11:22:43 +00:00
Properties:
- Config: description
- Env Var: RCLONE_MEMORY_DESCRIPTION
- Type: string
- Required: false
2025-11-04 14:56:55 +01:00
<!-- autogenerated options stop -->