Configuration NAS Mystique: Difference between revisions

From miki
Jump to navigation Jump to search
Line 55: Line 55:
;Task scheduler
;Task scheduler
* Schedule 'Recycle Bin' task, every wednesday, delete 28-day old or older files.
* Schedule 'Recycle Bin' task, every wednesday, delete 28-day old or older files.

== Backup strategy ==
=== Wolverine ===
We have the following folders and strategy:

{| class=wikitable
|-
!Shared folder !! Strategy
|-
|family
|CloudStation ShareSync
|-
|homes
|Shared Folder Sync, daily, 3.00am (encryption and block-based)
|-
|music
|CloudStation ShareSync
|-
|NetBackup
|'''NOT''' backup
|-
|photo
|CloudStation ShareSync
|-
|video
|CloudStation ShareSync
|}

Notes:
* Because we use ''rsync'' to sync the {{file|homes}} share from ''Wolverine'' to ''Mystique'', the home service on Mystique '''must be disabled'''.


== Troubleshoot ==
== Troubleshoot ==

Revision as of 19:02, 28 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.

Backup strategy

Wolverine

We have the following folders and strategy:

Shared folder Strategy
family CloudStation ShareSync
homes Shared Folder Sync, daily, 3.00am (encryption and block-based)
music CloudStation ShareSync
NetBackup NOT backup
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.

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.