Skip to content

Maintenance

jano42 edited this page Jul 8, 2016 · 1 revision

Maintenance

This page helps to backup the database.

Backing up database is not available for all database engines.

  • SQLite : supported
  • PostgreSQL : not supported (not managed by yadoms)

SQLite database backup

Setup the backup location

Open the configuration file "yadoms.ini" then set this rule:

;Define the database backup path
;If database backup exist, it will be overwritten
;Default value : yadoms_backup.db3
sqlite.databaseBackupPath = yadoms_backup.db3

The backup file path MUST NOT be different from database path

Then restart yadoms.

Make backup

Open the dashboard and activate the maintenance page

Click on the "Start a database backup" button

The backup operation could take a while depending on the database size.

When the backup ends, some information about last backup are displayed

  • size of backup
  • date of backup
  • the location on the server

This section will be available until backup file is not deleted.

Download it to client

As the backup file could be located on the yadoms server (which can be another computer/target), you can download it to the client by clicking the download button

Delete backup

To delete the backup from the server location, click the "delete" button

Clone this wiki locally