diff --git a/freebsd/20_bastille.md b/freebsd/20_bastille.md index 632703e..786acf6 100644 --- a/freebsd/20_bastille.md +++ b/freebsd/20_bastille.md @@ -107,8 +107,28 @@ http:// ### 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 +```