Clarify documentation about restoring a database: borgmatic does not create the database upon restore.

This commit is contained in:
Dan Helfman 2024-02-09 15:35:29 -08:00
commit 5586aab967
3 changed files with 9 additions and 1 deletions

View file

@ -262,6 +262,10 @@ systems that you'd like supported.
## Database restoration
When you want to replace an existing database with its backed-up contents, you
can restore it with borgmatic. Note that the database must already exist;
borgmatic does not currently create a database upon restore.
To restore a database dump from an archive, use the `borgmatic restore`
action. But the first step is to figure out which archive to restore from. A
good way to do that is to use the `rlist` action: