Skip to content

Commit e6b0eba

Browse files
authored
Fix README organization.
1 parent 267e382 commit e6b0eba

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is a collections of scripts, which automate the backup process of Linux server using [Attic](https://attic-backup.org/), a deduplicating backup tool.
44

5-
The starting point is `*backup.sh`, which works in following way:
5+
The starting point is `backup.sh`, which works in following way:
66
* The scripts starts.
77
* **premount** scripts are executed.
88
* If Attic repository is remote, it's mounted.
@@ -75,23 +75,21 @@ The very first run deduplicates your whole filesystem, it'll take long. The subs
7575

7676
## Restore data
7777

78-
The most convenient way is to use Attic *mount* feature:
78+
List list existing backups and choose the one which suits your needs the best.
7979

8080
```
81-
attic mount /my/backup/storage/myhostname/repository.attic::{backup point} /tmp/restore
81+
attic list /my/backup/storage/myhostname/repository.attic/
8282
```
8383

84-
**Warning!** Because of bug present in Attic, you always have to provide the full path to the repository.
85-
86-
87-
## List mounting points
88-
89-
To get list of mounting points (`{backup point}` from [Restore data](#restore-data)):
84+
Then access the files. The most convenient way is to use Attic *mount* feature:
9085

9186
```
92-
attic list /my/backup/storage/myhostname/repository.attic/
87+
attic mount /my/backup/storage/myhostname/repository.attic::{backup point} /tmp/restore
9388
```
9489

90+
**Warning!** Because of bug present in Attic, you always have to provide the full path to the repository.
91+
92+
9593
### Restore MongoDB
9694

9795
These commands will erase the content from the database and replace it with version from the backup.

0 commit comments

Comments
 (0)