|
@@ -34,7 +34,7 @@ This will install the script to `/usr/bin/snap-slack` and place the configuratio
|
|
|
|
|
|
|
|
## Configuration
|
|
## Configuration
|
|
|
|
|
|
|
|
-The script reads its configuration from `/etc/manage_snapshots/config.toml`. You may need to edit this file to match your system's settings.
|
|
|
|
|
|
|
+The script reads its configuration from `/etc/snap-slack/config.toml`. You may need to edit this file to match your system's settings.
|
|
|
|
|
|
|
|
Here is an example configuration (`/etc/snap-slack/config.toml`):
|
|
Here is an example configuration (`/etc/snap-slack/config.toml`):
|
|
|
|
|
|
|
@@ -70,7 +70,7 @@ Once installed, you can use the `snap-slack` command to manage Btrfs snapshots a
|
|
|
To create a new Btrfs snapshot of the root subvolume, run:
|
|
To create a new Btrfs snapshot of the root subvolume, run:
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
-snap-slack create_snapshot
|
|
|
|
|
|
|
+snap-slack create
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
The script will:
|
|
The script will:
|
|
@@ -82,7 +82,7 @@ The script will:
|
|
|
To manage existing snapshots (e.g., clean up old snapshots and update `elilo.conf`), run:
|
|
To manage existing snapshots (e.g., clean up old snapshots and update `elilo.conf`), run:
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
-snap-slack manage_snapshots
|
|
|
|
|
|
|
+snap-slack manage
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
This will:
|
|
This will:
|
|
@@ -94,13 +94,13 @@ This will:
|
|
|
If you want to adopt a specific snapshot as the new root subvolume (rollback to a previous state), run:
|
|
If you want to adopt a specific snapshot as the new root subvolume (rollback to a previous state), run:
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
-snap-slack adopt_snapshot --snapshot <snapshot_name>
|
|
|
|
|
|
|
+snap-slack adopt --snapshot <snapshot_name>
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
For example:
|
|
For example:
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
-snap-slack adopt_snapshot --snapshot snapshot-20231015-123456
|
|
|
|
|
|
|
+snap-slack adopt --snapshot snapshot-20231015-123456
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
This will:
|
|
This will:
|