# Backing up and restoring databases

Derby provides a way to back up a database while it is online. You can also restore a full backup from a specified location.

- Backing up a database
- Restoring a database from a backup copy
  To restore a database by using a full backup from a specified location, specify the restoreFrom=Path attribute in the boot time connection URL.
- Creating a database from a backup copy
  To create a database from a full backup copy at a specified location, specify the createFrom=Path attribute in the boot time connection URL.
- Roll-forward recovery
  Derby supports roll-forward recovery to restore a damaged database to the most recent state before a failure occurred.

Parent topic: Part two: Derby Administration Guide
Related concepts
Checking database consistency
Logging on a separate device
Obtaining locking information
Reclaiming unused space