github.com/10XDev/rclone@v1.52.3-0.20200626220027-16af9ab76b2a/docs/content/memory.md (about)

     1  ---
     2  title: "Memory"
     3  description: "Rclone docs for Memory backend"
     4  ---
     5  
     6  {{< icon "fas fa-memory" >}} Memory
     7  -----------------------------------------
     8  
     9  The memory backend is an in RAM backend. It does not persist its
    10  data - use the local backend for that.
    11  
    12  The memory backend behaves like a bucket based remote (eg like
    13  s3). Because it has no parameters you can just use it with the
    14  `:memory:` remote name.
    15  
    16  You can configure it as a remote like this with `rclone config` too if
    17  you want to:
    18  
    19  ```
    20  No remotes found - make a new one
    21  n) New remote
    22  s) Set configuration password
    23  q) Quit config
    24  n/s/q> n
    25  name> remote
    26  Type of storage to configure.
    27  Enter a string value. Press Enter for the default ("").
    28  Choose a number from below, or type in your own value
    29  [snip]
    30  XX / Memory
    31     \ "memory"
    32  [snip]
    33  Storage> memory
    34  ** See help for memory backend at: https://rclone.org/memory/ **
    35  
    36  Remote config
    37  
    38  --------------------
    39  [remote]
    40  type = memory
    41  --------------------
    42  y) Yes this is OK (default)
    43  e) Edit this remote
    44  d) Delete this remote
    45  y/e/d> y
    46  ```
    47  
    48  Because the memory backend isn't persistent it is most useful for
    49  testing or with an rclone server or rclone mount, eg
    50  
    51      rclone mount :memory: /mnt/tmp
    52      rclone serve webdav :memory:
    53      rclone serve sftp :memory:
    54  
    55  ### Modified time and hashes ###
    56  
    57  The memory backend supports MD5 hashes and modification times accurate to 1 nS.
    58  
    59  #### Restricted filename characters
    60  
    61  The memory backend replaces the [default restricted characters
    62  set](/overview/#restricted-characters).
    63  
    64  {{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/memory/memory.go then run make backenddocs" >}}
    65  {{< rem autogenerated options stop >}}