Skip to content

migrate-themes

This command completes the procedure for migrating notification themes from the file system to the database. It must be run after the import-notification-themes command, which imports notification themes from the file system to the database.

Syntax:

shell
sfiler-cli [options] migrate-database [command options]
Command optionsRequired / OptionalDescription
--dry-runOptionalSimulates the migration of notification themes without actually migrating them.

Example:

shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" migrate-themes --dry-run

This command validates whether any of the groups contain a notification theme identifier that does not exist in the database. If an error is detected, we recommend that you note the problematic groups and proceed to correct their respective notification themes using the web interface.

To complete the migration procedure, run the command without the --dry-run option.