Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eimrek committed Dec 7, 2023
1 parent b88d0ee commit f5476a5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ and does not require a server running.

----------------------------------------------

:fa:`bookmark,mr-1` **Making a backup**
:fa:`bookmark,mr-1` **Making backups**

Information on how to back up a container.

Expand Down
16 changes: 15 additions & 1 deletion docs/pages/backup.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Backing up the container
# Making backups

## User instructions

Expand Down Expand Up @@ -44,6 +44,20 @@ Options:

```

Example usage:

```console
$ dostore backup /path/to/backup
INFO:Last backup is '/path/to/backup/backup_20231207142602_ymqf', using it for rsync --link-dest.
INFO:Transferred /path/to/dostore/loose to /path/to/backup/live-backup
INFO:Dumped the SQLite database to /tmp/tmpgewwse3f/packs.idx
INFO:Transferred SQLite database to /path/to/backup/live-backup
INFO:Transferred /path/to/dostore/packs to /path/to/backup/live-backup
INFO:Backup moved from '/path/to/backup/live-backup' to '/path/to/backup/backup_20231207142913_pz7m'.
INFO:Added symlink 'last-backup' to 'backup_20231207142913_pz7m'.
INFO:Deleted old backup: /path/to/backup/backup_20231207131741_zar7
```

For more detailed information about how the backup is made, see the next section.

## Detailed info/design
Expand Down

0 comments on commit f5476a5

Please sign in to comment.