rclone.conf.j2 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [b2-unencrypted]
  2. type = b2
  3. account = {{ b2_account_key }}
  4. key = {{ b2_key_id }}
  5. hard_delete = true
  6. {% if backups == 'all' or 'full_images' in backups %}
  7. [b2-backups]
  8. type = crypt
  9. remote = b2-unencrypted:{{ b2_backups_bucket }}
  10. filename_encryption = standard
  11. password = {{ b2_backups_config_encryption_password }}
  12. password2 = {{ b2_backups_config_encryption_salt }}
  13. {% endif %}
  14. {% if backups == 'all' or 'nasdata' in backups %}
  15. [b2-data]
  16. type = crypt
  17. remote = b2-unencrypted:{{ b2_data_bucket }}
  18. filename_encryption = standard
  19. directory_name_encryption = true
  20. password = {{ b2_data_config_encryption_password }}
  21. password2 = {{ b2_data_config_encryption_salt }}
  22. [b2-music]
  23. type = crypt
  24. remote = b2-unencrypted:{{ b2_music_bucket }}
  25. filename_encryption = standard
  26. directory_name_encryption = true
  27. password = {{ b2_music_config_encryption_password }}
  28. password2 = {{ b2_music_config_encryption_salt }}
  29. [b2-photos]
  30. type = crypt
  31. remote = b2-unencrypted:{{ b2_photos_bucket }}
  32. filename_encryption = standard
  33. directory_name_encryption = true
  34. password = {{ b2_photos_config_encryption_password }}
  35. password2 = {{ b2_photos_config_encryption_salt }}
  36. {% endif %}
  37. {% if backups == 'all' or 'containers' in backups %}
  38. [b2-container-data]
  39. type=crypt
  40. remote = b2-unencrypted:{{ b2_container_data_bucket }}
  41. filename_encryption = standard
  42. directory_name_encryption = true
  43. password = {{ b2_container_data_encryption_password }}
  44. password2 = {{ b2_container_data_encryption_salt }}
  45. {% endif %}