Windows 2008 backup to NAS linkstation Buffalo

I have this error when try to backup my windows 2008 whit native  backup software to share over NAS linkstation :

 http://kb.backupassist.com/articles.php?aid=3298

 Need to change the configuration of samba, but the smb.conf is Protected

–  Enable access ssh :
Downalod acp_commander.jar from :

 http://downloads.nas-central.org/TOOLS/ALL_LS_KB_ARM9/ACP_COMMANDER/acp_commander.jar

Test connection to NAS

java -jar acp_commander.jar -t <ip nas> -ip <ip nas> -pw adminpasswordhere -c “ls /”


Change root password

java -jar acp_commander.jar -t <ip nas> -ip <ip nas> -pw adminpasswordhere -c “(echo newrootpass;echo newrootpass)|passwd”

Allow root to login on ssh

java -jar acp_commander.jar -t <ip nas> -ip <ip nas> -pw adminpasswordhere -c “sed -i ‘s/UsePAM yes/UsePAM no/g’ /etc/sshd_config”

java -jar acp_commander.jar -t <ip nas> -ip <ip nas> -pw adminpasswordhere -c “sed -i ‘s/PermitRootLogin no/PermitRootLogin yes/g’ /etc/sshd_config”

Restart ssh service

java -jar acp_commander.jar -t <ip nas> -ip <ip nas> -pw adminpasswordhere -c “/etc/init.d/sshd.sh restart”


Now i need to modify smb.conf

ssh connection to NAS

Edit /etc/init.d/smb.sh 

insert  this line :

sed -i ‘/[global]/a    strict allocate = yes ‘ /etc/samba/smb.conf


after 
/usr/local/sbin/nas_configgen -c samba


Restart samba (/etc/init.d/smb.sh restart) or reboot nas
 



Windows 2008 backup to NAS linkstation Buffalo

Leave a Reply

Your email address will not be published. Required fields are marked *