In case you are using the default KiWi backend, it actually uses a relational database.
So you can use the tools already offered by them, in case of !PostgreSQL:
This concrete command produces a custom-format dump, which is not a sql script, but instead must be restored by executing something like:
Marmotta uses a home directory where it stores some things (logs and so) that you may want to have a backup. The most important file there is
system-config.properties, since it's the file containing all Marmotta configurations.
For taking a snapshot of the directory you can take the way you prefer, for instance:
Change the admin password
Access the admin interface ad login as
admin, and then navigate to:
users -> me
Change lost admin password
In case you lost the admin password, you would need to change it manually in the settings by:
- Stop Marmotta
2. Change the password (read bellow) 3. Start Marmotta again
In the file
/path/to/lmf/home/system-config.properties there is a key '
user.admin.pwhash', which follows the following schema:
By default the system encodes passwords using
sha1, so you should have something like:
In any unix-based system you can easily generate the sha1 hash by executing:
Also plain text passwords are allowed, but it's not recommendable for production systems: