Hi, I just bought a freenas system online with 4 HD, configured in raidz2. I am running centos 7 and ispconfig 3. How do i program a backup of my entire hard drive to my freenas system? and automatically it should update the backup every night. any tutorials to do exactly that? thank you Ben
also instead of backing up the entire hard drive, its better to simply backup the data that you need. here is an automatic script to do just that. cd /root wget www.schaal-it.com/backup.sh chmod 700 backup.sh chown root.root backup.sh (you can change the no of stored backups in line 11 - it`s 8 backups right now). next open / create /root/.my.cnf and insert (adjust the password) [mysql] user=root password=pass [mysqladmin] user = root password = pass [mysqldump] user=root password=pass and run chown root.root /root/.my.cnf afterwards you can login into mysql without the password-prompt (only on the shell and as the root-user only). you can run the script by hand or create a cronjob. crontab -e and insert 00 5 * * * /root/backup.sh 2>&1 > /dev/null