Configuration NAS Mystique: Difference between revisions

From miki
Jump to navigation Jump to search
Line 62: Line 62:
== Backup strategy ==
== Backup strategy ==
=== Wolverine ===
=== Wolverine ===
The table below list the shared folder of ''Wolverine'' and how they are backed up.
The table below list the shared folder of ''Wolverine'' and how they are backed up to ''Mystique''.


{| class=wikitable
{| class=wikitable
|-
|-
!Shared folder !! Strategy
!Shared folder !! Backup strategy
|-
|-
|family
|family
Line 78: Line 78:
|-
|-
|NetBackup
|NetBackup
|'''NOT''' backup
|'''NOT''' backup (empty)
|-
|-
|photo
|photo
Line 89: Line 89:
Notes:
Notes:
* Because we use ''rsync'' to sync the {{file|homes}} share from ''Wolverine'' to ''Mystique'', the home service on Mystique '''must be disabled'''.
* Because we use ''rsync'' to sync the {{file|homes}} share from ''Wolverine'' to ''Mystique'', the home service on Mystique '''must be disabled'''.

=== Mnemosyne ===
The table below list the shared folder of ''Mnemosyne'' and how they are backed up to ''Mystique''.

{| class=wikitable
|-
!Shared folder !! Backup strategy
|-
|homes
|'''NONE'''
|-
|movie
|Shared Folder Sync, manually
|-
|music
|'''NONE''' (empty)
|-
|NetBackup
|'''NONE''' (empty)
|-
|photo
|'''NONE''' (empty)
|-
|video
|'''NONE''' (empty)
|}

=== Mystique ===

On the mid-term, Mystique will be entirely replicated to a remote NAS via internet.
For now, we have the following shares and backup strategy.

{| class=wikitable
|-
!Shared folder !! Backup strategy !! BTRFS Snapshot
|-
|family
|CloudStation ShareSync
|Daily
|-
|homes
|Sync'ed from ''Wolverine''
|
|-
|homes_1
|'''NONE''' (empty)
|
|-
|movie
|Sync'ed from ''Mnemosyne''
|
|-
|movie_1 '''{{red|TODO:}}''' Merge with movie
|'''NONE''' (empty)
|Daily
|-
|music
|CloudStation ShareSync
|Daily
|-
|NetBackup
|'''NONE''' (empty)
|
|-
|photo
|CloudStation ShareSync
|Daily
|-
|video
|CloudStation ShareSync
|Daily
|}


== Troubleshoot ==
== Troubleshoot ==

Revision as of 00:18, 29 September 2018

References documentation

CloudStation vs Drive

Reference information

  • Device: Synology NAS DS418play (four bays).
  • Name: Mystique.
  • Web interface: http://mystique:5000, then log in with admin account admin.
  • SSH: ssh admin@mystique, then sudo -i to get root access.
Or use any other member of the administrator group.
  • LAN 1:
  • MAC address 00:11:32:82:F8:89
  • Static address 192.168.1.97.
  • LAN 2:
  • ???
  • Specification:
  • Synology DS418play
  • 4 x Seagate IronWolf 4 TB
Hard drive 3.5" 4 To 5900 RPM 64 Mo Serial ATA 6 Gb/s for NAS (bulk)

Installation

Issue: Must use chromium (requires java)
  • Enable QuickConnect.
Must visit http://QuickConnect.to/immie-mystique
  • Recommended packages: Moments, Video Station, Media Server, Audio Station, Hyper Backup, Drive, Download Station.
  • Don't share device location for find.synology.com.

From now on, we must use http://mystique:5000/ to connect to the NAS.

SSH
  • First time, must connect from account with no ssh configuration.
  • Copied authorized_keys, but had to chmod permissions (700 for home, 755 for .ssh, 644 for authorized_keys).
Network
  • Use static address 192.168.1.97.
File Service
  • SMB, change workgroup name from WORKGROUP to HELL.
  • Disable AFP.
  • Enable Fast-File Copy (on btrfs shared folder).
Notification
  • Recipient's email address: m.mystique@immie.org
  • prefix: [mystique]
  • SMTP: Using Scarlet (smtp.scarlet.be, 465).
Drive
  • Using Drive instead of CloudSync Server.
  • To configure, go to Package Center → Drive → Open. This opens the Drive admin console.
  • To enable sync'ing with CloudStation clients, visit Team Folder, and enable each shared folders that must be synced [1]
Task scheduler
  • Schedule 'Recycle Bin' task, every wednesday, delete 28-day old or older files.
Replication
  • Install Snapshot Replication package.
  • Go to Storage manager → Volume → Action → Configure and set Record File Access Time Frequency to Never (was on Daily), to improve replication performance (suggested during install).

Backup strategy

Wolverine

The table below list the shared folder of Wolverine and how they are backed up to Mystique.

Shared folder Backup strategy
family CloudStation ShareSync
homes Shared Folder Sync, daily, 3.00am (encryption and block-based)
music CloudStation ShareSync
NetBackup NOT backup (empty)
photo CloudStation ShareSync
video CloudStation ShareSync

Notes:

  • Because we use rsync to sync the homes share from Wolverine to Mystique, the home service on Mystique must be disabled.

Mnemosyne

The table below list the shared folder of Mnemosyne and how they are backed up to Mystique.

Shared folder Backup strategy
homes NONE
movie Shared Folder Sync, manually
music NONE (empty)
NetBackup NONE (empty)
photo NONE (empty)
video NONE (empty)

Mystique

On the mid-term, Mystique will be entirely replicated to a remote NAS via internet. For now, we have the following shares and backup strategy.

Shared folder Backup strategy BTRFS Snapshot
family CloudStation ShareSync Daily
homes Sync'ed from Wolverine
homes_1 NONE (empty)
movie Sync'ed from Mnemosyne
movie_1 TODO: Merge with movie NONE (empty) Daily
music CloudStation ShareSync Daily
NetBackup NONE (empty)
photo CloudStation ShareSync Daily
video CloudStation ShareSync Daily

Troubleshoot

Sync issues with CloudStation - Wolverine

Family
  • Some files missing, but in the exclude list (Thumbs.db, *.tmp, *.swp, *.lnk, desktop.ini).
  • Some file missing that should not (~500MB:
  • Files in Program Files folder.
There is no fix for that [2]. Only solution is to rename the folder or zip it.