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