From 35fff89f119ae57dc99e2f8c776ecb4a5a4c6612 Mon Sep 17 00:00:00 2001 From: Robin Raymond Date: Wed, 28 Feb 2018 13:59:44 +0100 Subject: [PATCH] Move backup section to wiki --- README.md | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/README.md b/README.md index fc2bb70..503b007 100644 --- a/README.md +++ b/README.md @@ -104,21 +104,7 @@ Check out the [Complete Setup Guide](https://github.com/r-raymond/nixos-mailserv ## How to Backup -This is really easy. First off you should have a backup of your -`configuration.nix` file where you have the server config (but that is already -in a git repository right?) - -Next you need to backup `/var/vmail` or whatever you have specified for the -option `mailDirectory`. This is where all the mails reside. Good options are a -cron job with `rsync` or `scp`. But really anything works, as it is simply a -folder with plenty of files in it. If your backup solution does not preserve the -owner of the files don't forget to `chown` them to `virtualMail:virtualMail` if you copy -them back (or whatever you specified as `vmailUserName`, and `vmailGoupName`). - -Finally you can (optionally) make a backup of `/var/dkim` (or whatever you -specified as `dkimKeyDirectory`). If you should lose those don't worry, new ones -will be created on the fly. But you will need to repeat step `B)5` and correct -all the `dkim` keys. +Checkout the [Complete Backup Guide](https://github.com/r-raymond/nixos-mailserver/wiki/A-Complete-Backup-Guide). Backups are easy with `SNM`. ## How to Test for Development