definition.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. title: Local File System
  2. icon: '/_assets/icons/ultraviolet-hdd.svg'
  3. banner: '/_assets/storage/disk.jpg'
  4. description: Store files on the local file system or over network attached storage. Note that you must use replicated storage if using high-availability instances.
  5. vendor: Wiki.js
  6. website: 'https://js.wiki'
  7. assetDelivery:
  8. isStreamingSupported: true
  9. isDirectAccessSupported: false
  10. defaultStreamingEnabled: true
  11. defaultDirectAccessEnabled: false
  12. contentTypes:
  13. defaultTypesEnabled: ['images', 'documents', 'others', 'large']
  14. defaultLargeThreshold: '5MB'
  15. versioning:
  16. isSupported: false
  17. defaultEnabled: false
  18. sync: false
  19. internalSchedule: P1D
  20. props:
  21. path:
  22. type: String
  23. title: Path
  24. hint: Absolute path without a trailing slash (e.g. /home/wiki/backup, C:\wiki\backup)
  25. icon: symlink-directory
  26. order: 1
  27. createDailyBackups:
  28. type: Boolean
  29. default: false
  30. title: Create Daily Backups
  31. hint: A tar.gz archive containing all content will be created daily in subfolder named _daily. Archives are kept for a month.
  32. icon: archive-folder
  33. order: 2
  34. actions:
  35. dump:
  36. label: Dump all content to disk
  37. hint: Output all content from the DB to the local disk. If you enabled this module after content was created or you temporarily disabled this module, you'll want to execute this action to add the missing files.
  38. icon: downloads
  39. backup:
  40. label: Create Backup
  41. hint: Will create a manual backup archive at this point in time, in a subfolder named _manual, from the contents currently on disk.
  42. icon: archive-folder
  43. importAll:
  44. label: Import Everything
  45. hint: Will import all content currently in the local disk folder.
  46. icon: database-daily-import