incubate freeipa server

This commit is contained in:
2024-08-13 10:30:03 -04:00
parent 449c0cddbb
commit 596c214b5a
4 changed files with 128 additions and 7 deletions

View File

@@ -31,6 +31,7 @@ instructions for building a:
- [Snapshots](#snapshots)
- [Backups](#backups)
- [Backing up a snapshot](#backing-up-a-snapshot)
- [Restoring a snapshot](#restoring-a-snapshot)
- [Chroots](#chroots)
- [Hardware Management](#hardware-management)
- [Power Profiles](#power-profiles)
@@ -469,6 +470,7 @@ systemctl enable --now ufw
#### btrbk
```bash
sudo pacman -S mbuffer # for progress monitoring
cd Downloads
wget https://raw.githubusercontent.com/digint/btrbk/master/btrbk
clamdscan .
@@ -627,7 +629,7 @@ Now set up the backup:
Description=Runs btrbk with config file at /etc/btrbk/backups.conf
[Service]
ExecStart=/usr/bin/btrbk -c /etc/btrbk/backups.conf -v run
ExecStart=/usr/bin/btrbk -c /etc/btrbk/backups.conf --progress run
```
3. Create a timer to activate the service
@@ -662,6 +664,17 @@ pacman -S pv
btrfs send /mnt/btr_backup/root.20230727T1000 | pv | btrfs receive /mnt/btr_iscsi
```
##### Restoring a snapshot
```bash
export ROOT_SNAPSHOT_NAME=<name>
export HOME_SNAPSHOT_NAME=<name>
rsync -av --delete /btr_pools/root/.snapshots/${ROOT_SNAPSHOT_NAME}/ /btr_pools/root/root/
rsync -av --delete /btr_pools/root/.snapshots/${HOME_SNAPSHOT_NAME}/ /btr_pools/root/home/
pacman -Syu # This is only required if you're restoring a snapshot from an old kernel
reboot
```
#### Chroots
You can create chroot environments to run firejails or just use for testing purposes.