Open main menu

Changes

684 bytes added ,  15:00, 6 January 2017
adds info about backing up my laptop home directory from the QNAP
locally on the network, it uses DHCP, with two ethernet nics (dual-homed)
Access it via your network share (at 192.168.1.4 or 192.168.1.5) or externally at http://cloud.equality-tech.com
 
== Backups ==
 
{{ambox|
|text = There is no bash history on QNAP. All 'history' is lost after each session!}}
 
{{ambox|
|text = All content should go into user directories because subsequent upgrades could wipe data elsewhere. In other words, do NOT create a /backup folder!
 
<code>/share/CACHEDEV1_DATA/homes/greg/backups/</code> is the root for backups storage
}}
 
I've created rsync scripts in the 'admin' users home directory which will backup <kbd>eqt</kbd> and <kbd>greg-laptop</kbd> nb: greg-laptop is ONLY the ''home'' directory, not the full disk.
 
There is also a Duplicity script in /share/CACHEDEV1_DATA/homes/greg/backups/backup_home_to_qnap_san.sh but that's '''not tested/operational'''
== Operating System ==
mount | grep -v qpkg
echo " "
#echo "Contents of \$(dirname \$(getcfg -f /etc/config/smb.conf Public path)):"#echo " "#ls -lF \$(dirname \$(getcfg -f /etc/config/smb.conf Public path))/
echo " "
echo "Windows Shares:"
testparm -s -l --section-name="\$i" --parameter-name=path 2>/dev/null
done
#echo " "#echo "QNAP Media Scanner / Transcoder processes running: "#echo " " #/bin/ps | grep medialibrary | grep -v grep#echo " " #echo -n "MediaLibrary Configuration file: " #ls -alF /etc/config/medialibrary.conf#echo " " #echo "/etc/config/medialibrary.conf:"#cat /etc/config/medialibrary.conf
echo " "
echo "iTunes Music Store: \$(getcfg -f /etc/config/mt-daapd.conf general mp3_dir)"
clear
/tmp/nasreport
#done
</source>
* <code>ls -al /mnt/HDA_ROOT/usr/sbin </code>
 [[Category:Company]] [[Category:Cloud]] [[Category:Network]] [[Category:NAS]] [[Category:Storage]] [[Category:Server]] [[Category:Backups]]
4,558

edits