rclone.conf.j2 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. [b2-unencrypted]
  2. type = b2
  3. account = {{ b2_account_key }}
  4. key = {{ b2_key_id }}
  5. hard_delete = true
  6. [wasabi-unencrypted]
  7. type = s3
  8. provider = Wasabi
  9. env_auth = false
  10. access_key_id = {{ wasabi_access_key }}
  11. secret_access_key = {{ wasabi_secret_access_key }}
  12. endpoint = s3.us-west-1.wasabisys.com
  13. {% if backups == 'all' or 'full_images' in backups %}
  14. [b2-backups]
  15. type = crypt
  16. remote = b2-unencrypted:{{ b2_backups_bucket }}
  17. filename_encryption = standard
  18. password = {{ b2_backups_config_encryption_password }}
  19. password2 = {{ b2_backups_config_encryption_salt }}
  20. [wasabi-backups]
  21. type = crypt
  22. remote = wasabi-unencrypted:{{ wasabi_backups_bucket }}
  23. filename_encryption = standard
  24. password = {{ b2_backups_config_encryption_password }}
  25. password2 = {{ b2_backups_config_encryption_salt }}
  26. {% endif %}
  27. {% if backups == 'all' or 'nasdata' in backups %}
  28. [b2-data]
  29. type = crypt
  30. remote = b2-unencrypted:{{ b2_data_bucket }}
  31. filename_encryption = standard
  32. directory_name_encryption = true
  33. password = {{ b2_data_config_encryption_password }}
  34. password2 = {{ b2_data_config_encryption_salt }}
  35. [b2-music]
  36. type = crypt
  37. remote = b2-unencrypted:{{ b2_music_bucket }}
  38. filename_encryption = standard
  39. directory_name_encryption = true
  40. password = {{ b2_music_config_encryption_password }}
  41. password2 = {{ b2_music_config_encryption_salt }}
  42. [b2-photos]
  43. type = crypt
  44. remote = b2-unencrypted:{{ b2_photos_bucket }}
  45. filename_encryption = standard
  46. directory_name_encryption = true
  47. password = {{ b2_photos_config_encryption_password }}
  48. password2 = {{ b2_photos_config_encryption_salt }}
  49. {% endif %}
  50. {% if backups == 'all' or 'containers' in backups %}
  51. [b2-container-data]
  52. type=crypt
  53. remote = b2-unencrypted:{{ b2_container_data_bucket }}
  54. filename_encryption = standard
  55. directory_name_encryption = true
  56. password = {{ b2_container_data_encryption_password }}
  57. password2 = {{ b2_container_data_encryption_salt }}
  58. {% endif %}