I've been saving files to a Synology NAS from an RPi for years. I don't 
allow any external access to the NAS however, besides 2 factor 
authenticated logins to the management UI. I've saved files to a web server 
there in the past but currently I just send logs to it from WeeWX and also 
backups. Website updates happen in a RAMdisk to save IO on the SD card. My 
Pi is on a wired connection. 

My /etc/fstab is

proc            /proc           proc    defaults          0       0
/dev/mmcblk0p6  /boot           vfat    defaults          0       2
/dev/mmcblk0p7  /               ext4    defaults,noatime  0       1
# a swapfile is not a swap partition, so no using swapon|off from here on, use  
dphys-swapfile swap[on|off]  for that
192.168.X.Y:/volume1/Backup/RPiWeeWX/backup /mnt/backup nfs defaults,nolock 0 0
192.168.X.Y:/volume1/linuxbackup /mnt/linuxbackup nfs defaults,nolock 0 0
# use a ram drive
tmpfs           /tmp            tmpfs   nodev,nosuid,size=5M    0       0
tmpfs           /var/tmp        tmpfs   nodev,nosuid,size=2M    0       0
tmpfs           /var/lock       tmpfs   nodev,nosuid,size=1M    0       0
#tmpfs          /var/www/weewx  tmpfs   nodev,nosuid,mode=0775,size=5M 0 0

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to