This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
start:nas [2017/12/28 16:29] 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]] | ||
- | * Please keep the USB stick plugged in at the back of the Dell T710 server; it boots the NAS 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 using a task in the web interface. The task runs following init script from ''/mnt/Drive_1_463.2_GiB/mount_shares.sh'':\\ <code>#!/bin/sh | + | |
| | ||
mkdir /mnt/SharedGraphics | mkdir /mnt/SharedGraphics | ||
| | ||
- | mount_smbfs -W PICNICTIME -N -I 192.168.1.9 //andre@PTFILES/SharedGraphics /mnt/SharedGraphics</code> | + | mkdir /mnt/LicensedDecoration |
+ | |||
+ | mount_smbfs -W PICNICTIME -N -I 192.168.1.9 //andre@PTFILES/SharedGraphics /mnt/SharedGraphics | ||
+ | |||
+ | mount_smbfs -W PICNICTIME -N -I 192.168.1.10 //andre@CAMERA/LicensedDecoration /mnt/LicensedDecoration </code> | ||
+ | * The passwords for the Windows network shares are saved in the ''~/.nsmbrc'' file on the NAS:\\ <code>[PTFILES:ANDRE] | ||
+ | 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. | ||