Guest User

Untitled

a guest
Aug 26th, 2025
36
0
5 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. Google Drive with rclone on unraid
  2.  
  3. User script at startup of array:
  4. -----
  5. #!/bin/bash
  6. #backgroundOnly=true
  7.  
  8. mkdir -p /mnt/cache/crypt
  9. mkdir -p /mnt/cache/rclonecache
  10. rm -R /mnt/cache/rclonecache/*
  11.  
  12. rclone mount --uid 1000 --gid 100 --allow-other --buffer-size 128M --dir-cache-time 720h --drive-chunk-size 256M --log-level ERROR --allow-non-empty --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off --vfs-cache-mode writes --cache-dir /mnt/cache/rclonecache/drive crypt: /mnt/cache/crypt &
  13. -----
  14.  
  15. meanwhile my rclone setup:
  16. -----
  17. [drive]
  18. type = drive
  19. scope = drive
  20. root_folder_id = *****
  21. token = ******
  22.  
  23. [crypt]
  24. type = crypt
  25. remote = drive:
  26. filename_encryption = standard
  27. directory_name_encryption = true
  28. password = *****
  29. password2 = *****
  30. -----
  31.  
  32. meanwhile my SMB config:
  33. -----
  34. #Clound Config
  35. [crypt]
  36. path = /mnt/cache/crypt
  37. comment =
  38. browseable = yes
  39. public = no
  40. valid users = *****
  41. writable = yes
  42. guest ok = no
  43. read only = no
  44. vfs objects =
  45. -----
  46.  
Advertisement
Add Comment
Please, Sign In to add comment