This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
start:nas [2018/01/10 14:43] andre |
start:nas [2018/01/18 15:56] (current) andre |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== NAS Backup ====== | ====== NAS Backup ====== | ||
| * Web interface: [[http://192.168.1.6|192.168.1.6]] | * Web interface: [[http://192.168.1.6|192.168.1.6]] | ||
| - | * The USB flash drive in the back of the Dell T710 server boots the NAS, so please keep it plugged in LOL. | + | * Windows network shares are mounted on the NAS by a task in the [[http://192.168.1.6/|web interface]]. The task executes the following init script from ''/mnt/Disk0_2.72TiB/mount_shares.sh'':\\ <code>#!/bin/sh |
| - | * Windows network shares are mounted on the NAS by a task in the [[http://192.168.1.6/|web interface]]. The task executes the following init script from ''/mnt/Drive_1_463.2_GiB/mount_shares.sh'':\\ <code>#!/bin/sh | + | |
| | | ||
| mkdir /mnt/SharedGraphics | mkdir /mnt/SharedGraphics | ||
| Line 11: | Line 10: | ||
| | | ||
| mount_smbfs -W PICNICTIME -N -I 192.168.1.10 //andre@CAMERA/LicensedDecoration /mnt/LicensedDecoration </code> | mount_smbfs -W PICNICTIME -N -I 192.168.1.10 //andre@CAMERA/LicensedDecoration /mnt/LicensedDecoration </code> | ||
| - | * The password for the Windows network shares is saved in the ''~/.nsmbrc'' file on the NAS:\\ <code>[PTFILES:ANDRE] | + | * The passwords for the Windows network shares are saved in the ''~/.nsmbrc'' file on the NAS:\\ <code>[PTFILES:ANDRE] |
| - | password=*******</code> | + | password=******* |
| + | |||
| + | [CAMERA:ANDRE] | ||
| + | password=******* | ||
| + | </code> | ||
| + | * Files and folders from the Windows network shares are backed up by tasks in the [[http://192.168.1.6/|web interface]]. The tasks run [[https://rsync.samba.org/|rsync]] as cron jobs using the following commands: \\ <code>rsync -a /mnt/SharedGraphics/COMMUNITY_ARTWORK /mnt/Disk0_2.72TiB</code><code>rsync -a /mnt/LicensedDecoration /mnt/Disk1_2.73TiB</code> | ||
| + | * The USB flash drive in the back of the Dell T710 server boots the NAS, so please keep it plugged in LOL. | ||
| * Please note that if the NAS is shutdown or rebooted it takes around six minutes to boot. | * Please note that if the NAS is shutdown or rebooted it takes around six minutes to boot. | ||