FreeBSD
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user