You are not logged in.

#1 2021-02-17 13:45:51

cdwijs
Member
Registered: 2010-04-24
Posts: 289

Were to put my notes on 2 NAS boxes that synchronize to each other?

Hi all,

I've build 2 arch Linux machines. One is the master that hosts a samba share. It uses btrfs snapshots and btrfs send/receive to synchronize to the slave machine via ssh. I would like to publish my build notes on the arch linux wiki.

What is the best article name for this article?
What is the best category for this article? Should this be Category:Backup, Category:Synchronization, both or something else?

I'm planning on writing the following chapters. Is this the most logical way to present the information?

Cheers,
Cedric

== Overview ==

== Goals ==
 Silent
 Fast

== Disaster prevention ==

=== Ransomware / Unwanted file deletion ===
Btrfs snapshots

=== Drive crash === 
Btrfs raid 1

=== Data corruption on a drive ===
Btrfs checksum

=== Faulty System Update ===
Btrfs snapshots

=== Master NAS disappears ===
Synchronization to slave NAS
Backup ssh port and certificate and onion address

=== Slave NAS disappears ===
Synchronization to from master NAS

=== Unauthorized access to slave NAS drives ===
drive encryption (not implemented yet)

=== Unauthorized remote access to slave NAS ===
ssh certificates
firewall
unprivileged NAS user
sudo configuration

=== Unnoticed failures ===
logging
summary mailing

== Preparation ==
Explain the bootable arch linux medium can't be used to format the drives with btrfs, as btrfs-tools is missing (and has to be installed from source)

=== Prepare arch linux host computer ===
-> install linux install scripts
-> install btrfs-tools

== Install slave NAS ==
=== Storage layout ===

== Install master NAS ==
=== Storage layout ===
==== Snapshots ====
=== Samba configuration ===

== Master-slave synchronization ==
=== synchronization with all drives in one machine ===
=== synchronization via LAN ===
=== synchronization via SSH ===
=== synchronization via TOR ===

== Disaster recovery ==

=== Ransomware / Unwanted file deletion ===
Restoring files from slave NAS

=== Drive crash ===
Determining what drive is faulty 
Replacement of a drive, and adding new drive to to the array

=== Data corruption on a drive ===
Determining what drive is faulty 
Replacement of a drive, and adding new drive to to the array

=== Faulty System Update ===
Roll back snapshot of the system
Prepare for new system update

=== Master NAS disappears ===
Rebuild the master NAS
Reconnect to slave NAS (regenerate ssh certificate, get onion address of slave)
Retrieve secrets from slave NAS (ssh certificate, onion address)
(afterwards, follow the procedure from Ransomware)

=== Slave NAS disappears ===
Rebuild the slave NAS
Recreate ssh certificate and tor address
Synchronization to from master NAS

=== Unauthorized access to slave NAS drives ===
drive encryption (not implemented yet)

=== Unauthorized remote access to slave NAS ===
ssh certificates
firewall
unprivileged NAS user
sudo configuration

Offline

#2 2021-02-18 23:48:53

Omar007
Member
Registered: 2015-04-09
Posts: 368

Re: Were to put my notes on 2 NAS boxes that synchronize to each other?

This sounds like something that should be on a personal blog or something like that, not on the wiki.
Most of the individual tasks are already well-described on the wiki from what I can tell based on your list so it's mostly the aggregation/combination of pieces of information that resulted in your personalized setup/systems.

Also noticed a few untrue parts so you might want to do some double checking (e.g. about what you can or can't do with the Arch ISO) to simplify that blog post if you decide to create one.


That said, if you don't have a blog but do have a wiki account, you could use your personal page to describe your personal systems.

Last edited by Omar007 (2021-02-18 23:52:28)

Offline

Board footer

Powered by FluxBB