This commit is contained in:
2026-01-02 00:41:13 -05:00
parent d272772e2b
commit bb86e27490

View File

@@ -107,8 +107,28 @@ http://<IP-ADDRESS:3000>
### 10. Create a Buckup Snapshot
Once Gitea is configured and working, create a ZFS snapshot for easy backup:
Once Gitea is configured and working, create a ZFS snapshot for easy backup.
``` sh
sudo zfs snapshot zroot/bastille/jails/gitea/root@fresh-install
```
### 11. Rollback Buckup Snapshot
⚠️ WARNING: This destroys all changes made after the snapshot was created!
``` sh
sudo bastille stop gitea
```
Rollback to the Snapshot
``` sh
sudo zfs rollback zroot/bastille/jails/gitea/root@fresh-install
```
Start the Container
``` sh
sudo bastille start gitea
```