blob: 548eea7b61423ecf491f7456a4b466d8d228b72d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# SquashR
Manage backups based on SquashFS, OverlayFS and LUKS
## Installation
1. Clone this repository
2.
```bash
make
sudo make install
```
3. Adjust default config in `/etc/squashr.conf` or copy it to a custom directory.
## Usage
```
Usage: squashr [OPTIONS] <COMMAND>
Commands:
backup
minimize
new
mount
umount
delete
help Print this message or the help of the given subcommand(s)
Options:
-c, --config <CONFIG>
--squashr-root <SQUASHR_ROOT>
--squashr-n-snapshots-min <SQUASHR_N_SNAPSHOTS_MIN>
--squashr-n-snapshots-max <SQUASHR_N_SNAPSHOTS_MAX>
--squashr-include <SQUASHR_INCLUDE>
--squashr-exclude <SQUASHR_EXCLUDE>
--squashr-truncate <SQUASHR_TRUNCATE>
--squashr-compression-enable <SQUASHR_COMPRESSION_ENABLE>
[possible values: true, false]
--squashr-compression-algo <SQUASHR_COMPRESSION_ALGO>
--squashr-compression-args <SQUASHR_COMPRESSION_ARGS>
--squashr-cryptsetup-enable <SQUASHR_CRYPTSETUP_ENABLE>
[possible values: true, false]
--squashr-cryptsetup-create-args <SQUASHR_CRYPTSETUP_CREATE_ARGS>
--squashr-cryptsetup-open-args <SQUASHR_CRYPTSETUP_OPEN_ARGS>
-h, --help
Print help
-V, --version
Print version
```
## References
- [SquashFS](https://docs.kernel.org/filesystems/squashfs.html)
- [OverlayFS](https://docs.kernel.org/filesystems/overlayfs.html)
- [dm-crypt](https://docs.kernel.org/admin-guide/device-mapper/dm-crypt.html)
|