Skip to content

A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.

2.0 KB
Raw Blame
const koofrSettings = [
	{
		label: 'Storage Provider',
		value: 'provider',
		fieldType: 'select',
		authFieldType: 'client',
		required: true,
		default: 'koofr',
		options: [
			{ label: 'Koofr', value: 'koofr' },
			{ label: 'Digi Storage', value: 'digistorage' },
			{ label: 'Other', value: 'other' },
		],
		description: 'Choose your storage provider.',
		command: '--koofr-provider',
	},
	{
		label: 'Username',
		value: 'user',
		fieldType: 'string',
		authFieldType: 'client',
		required: true,
		default: '',
		description: 'Your user name.',
		command: '--koofr-user',
	},
	{
		label: 'App Password',
		value: 'password',
		fieldType: 'password',
		authFieldType: 'client',
		required: true,
		default: '',
		description:
			'Your app password. Generate one at https://app.koofr.net/app/admin/preferences/password.',
		command: '--koofr-password',
	},
	{
		label: 'API Endpoint',
		value: 'endpoint',
		fieldType: 'string',
		required: false,
		default: '',
		description: 'The Koofr API endpoint to use.',
		command: '--koofr-endpoint',
	},
	{
		label: 'Mount ID',
		value: 'mountid',
		fieldType: 'string',
		required: false,
		default: '',
		description: 'Mount ID of the mount to use. If omitted, the primary mount is used.',
		command: '--koofr-mountid',
	},
	{
		label: 'Set Modification Time',
		value: 'setmtime',
		fieldType: 'bool',
		required: false,
		default: true,
		description:
			'Does the backend support setting modification time. Set this to false if you use a mount ID that points to a Dropbox or Amazon Drive backend.',
		command: '--koofr-setmtime',
	},
	{
		label: 'Encoding',
		value: 'encoding',
		fieldType: 'encoding',
		required: false,
		default: 'slash,backslash,del,ctl,invalidutf8,dot',
		description: 'The encoding for the backend.',
		command: '--koofr-encoding',
	},
	{
		label: 'Description',
		value: 'description',
		fieldType: 'string',
		required: false,
		default: '',
		description: 'Description of the Storage.',
		command: '--koofr-description',
	},
];

export default koofrSettings;