Bash script to save system conf and data on an ftp server