initialize borg
This commit is contained in:
22
systemd/incubating/borg/borg.md
Normal file
22
systemd/incubating/borg/borg.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# Borg Backup
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dnf install -y borgbackup
|
||||||
|
```
|
||||||
|
|
||||||
|
## Server Setup
|
||||||
|
|
||||||
|
```bash
|
||||||
|
btrfs sub create /backups
|
||||||
|
btrfs prop set /backups ro true
|
||||||
|
```
|
||||||
|
|
||||||
|
Mount the backup folder over nfs
|
||||||
|
|
||||||
|
/etc/fstab
|
||||||
|
|
||||||
|
```conf
|
||||||
|
10.1.2.10:/mnt/backup2/borg0 /backups nfs rw,hard,intr,rsize=8192,wsize=8192,timeo=14 0 0
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user