Bash:
#!/bin/sh
DATE=`date +%m`
BACKUPFILE="/share/Public/backupdata-$DATE"
# maybe intended to be a backup number, but it is filled with a constant (127) when
# using the backup function from the webpage, file is not removed after backup, but
# missing after next reboot...
echo "127" >/etc/save_no.conf
tar cvf - /etc/config/* /etc/save_no.conf | gzip >$BACKUPFILE.tgz
PC1 e ICPIPNASWAREV301 $BACKUPFILE.tgz $BACKUPFILE.bin
PC2 $BACKUPFILE.bin "" ""
rm $BACKUPFILE.tgz