From fb717988b7a953de85802901bd4b0fb6219ca140 Mon Sep 17 00:00:00 2001 From: Gratien D'haese Date: Tue, 22 Oct 2024 13:55:34 +0200 Subject: [PATCH] Create backup_netfs.md --- docs/basics/backup_netfs.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/basics/backup_netfs.md diff --git a/docs/basics/backup_netfs.md b/docs/basics/backup_netfs.md new file mode 100644 index 00000000..8b075790 --- /dev/null +++ b/docs/basics/backup_netfs.md @@ -0,0 +1,31 @@ +# Configuring BACKUP=NETFS example + +This configuration will create a bootable ISO image and store the backup on an NFS server. + +## Configuration Example + +1. Create or edit the local.conf file: + +``bash +# /etc/rear/local.conf +OUTPUT=ISO +BACKUP=NETFS +BACKUP_OPTIONS="nfsvers=3,nolock" +BACKUP_URL=nfs:///path/to/backup +`` +2. Explanation: + +* `OUTPUT=ISO`: Specifies that the output should be a bootable ISO image. +* `BACKUP=NETFS`: Uses the NETFS method for backup, which supports network file systems like NFS. +* `BACKUP_OPTIONS="nfsvers=3,nolock"`: Sets the NFS mount options. Here, it specifies NFS version 3 and disables file locking. +* `BACKUP_URL=nfs:///path/to/backup`: The URL of the NFS server where the backup will be stored. Replace with the actual IP address of your NFS server and /path/to/backup with the actual path on the NFS server. + +## Running the Backup + +To create the backup, run the following command: + +``bash +rear -v mkbackup +`` + +This command will create the backup and store it on the specified NFS share.