BiblioViva Documentation
Screen

Backups

The Backups page shows the safety copies of the database, makes it possible to make one at once, download it and restore the data or the configuration. It is reserved for the admin account and opens from the Backups tab of Administration. The program makes a copy of the database by itself every night; the time and the retention are chosen in the Backup section of the Configuration. The procedures are in the guide Make and download a backup; for restoring from the terminal and for the copy outside the computer see Restart from a backup and Backups.

The Backups page with the list of copies and the restore panel
Figure 1. The Backups page with the list of copies and the restore panel
  1. The Export everything and Back up now buttons.
  2. The "What the backup contains" box.
  3. The "Backup or export of some parts" box.
  4. The state of the off-site copy.
  5. The list of copies, with Download and Restore… on every row.
  6. The "Restore" panel.

Back up now

The Back up now button creates a full copy of the database at once. When it finishes the message "Backup created" appears with the name of the file; if the retention deleted old copies, the message says how many.

Export everything

The Export everything button downloads a single ZIP file with the database, photos, covers and the whole configuration, templates and images included, ready for restoring with bun run backup:restore. In the public demo the download is disabled.

What the backup contains

The box summarises the content of the nightly copy.

Backup or export of some parts

The box allows including only some parts. The parts are in three groups:

The All and None commands of each group choose or empty the items. Some parts need others to be restored: the page points it out. Create backup saves the choice in the list; Download downloads it to the computer.

Off-site copy

The "Last off-site copy" box says whether the copy outside the computer (with rclone) is active and how it went:

The list of copies

Each row shows the name of the file, the creation date and the size. A copy made at start because the scheduled one was missed (computer off) carries the Made up at start label. With no copies "No backups yet. The first one runs at the scheduled time, or press "Back up now"." appears.

Restore

The "Restore" panel brings back only the chosen parts; the others stay as they are. Start from a copy of the list with Restore…, or upload a BiblioViva archive with Upload an archive (a backup, Export everything or the configuration archive; the maximum size is written on the page, a larger one is copied into the backups folder of the server). Before restoring, the page checks everything and shows:

The Restore button asks for confirmation ("Restore the chosen parts?"): the chosen data and configuration are replaced by those of the backup. The configuration can be taken back from the History; for the data it is better to make a backup first, if there is no recent one. When the operation ends "Restore completed" appears.

A–Z index