You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-10Lines changed: 8 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This is a collections of scripts, which automate the backup process of Linux server using [Attic](https://attic-backup.org/), a deduplicating backup tool.
4
4
5
-
The starting point is `*backup.sh`, which works in following way:
5
+
The starting point is `backup.sh`, which works in following way:
6
6
* The scripts starts.
7
7
***premount** scripts are executed.
8
8
* 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
75
75
76
76
## Restore data
77
77
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.
79
79
80
80
```
81
-
attic mount /my/backup/storage/myhostname/repository.attic::{backup point} /tmp/restore
81
+
attic list /my/backup/storage/myhostname/repository.attic/
82
82
```
83
83
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:
90
85
91
86
```
92
-
attic list /my/backup/storage/myhostname/repository.attic/
87
+
attic mount /my/backup/storage/myhostname/repository.attic::{backup point} /tmp/restore
93
88
```
94
89
90
+
**Warning!** Because of bug present in Attic, you always have to provide the full path to the repository.
91
+
92
+
95
93
### Restore MongoDB
96
94
97
95
These commands will erase the content from the database and replace it with version from the backup.
0 commit comments