Data get compressed on remote server or not compressed at all?
no not compressed ... the customers have to use FTP for their local file backups and can download daily SQL backups also via FTP
I have disabled customer file backups because of high CPU usage ... and removed restore button from client template
Shell-Script
- #!/bin/sh
- ionice -c 3 rsync -avze "ssh -p 2222 -i /root/keys/my-key" --stats --numeric-ids --delete /etc root@xxx.xxx.xx.xxx:/backup/host1
- ionice -c 3 rsync -avze "ssh -p 2222 -i /root/keys/my-key" --stats --numeric-ids --delete /root root@xxx.xxx.xx.xxx:/backup/host1
- ionice -c 3 rsync -avze "ssh -p 2222 -i /root/keys/my-key" --stats --numeric-ids --delete /var/mail root@xxx.xxx.xx.xxx:/backup/host1/var
- ionice -c 3 rsync -avze "ssh -p 2222 -i /root/keys/my-key" --stats --numeric-ids --delete /var/cache/bind root@xxx.xxx.xx.xxx:/backup/host1/var/cache
- ionice -c 3 rsync -avze "ssh -p 2222 -i /root/keys/my-key" --stats --numeric-ids --delete /var/spool/cron root@xxx.xxx.xx.xxx:/backup/host1/var/spool
- ionice -c 3 rsync -avze "ssh -p 2222 -i /root/keys/my-key" --stats --numeric-ids --exclude=/virtual/*/backups --exclude=/virtual/*/logs --exclude=/virtual/*/phptmp --delete /var/www/virtual root@xxx.xxx.xx.xxx:/backup/host1/var/www
- ionice -c 3 rsync -avze "ssh -p 2222 -i /root/keys/my-key" --stats --numeric-ids --delete /var/www/imscp root@xxx.xxx.xx.xxx:/backup/host1/var/www
- ionice -c 3 rsync -avze "ssh -p 2222 -i /root/keys/my-key" --stats --numeric-ids --delete /var/www/scoreboards root@xxx.xxx.xx.xxx:/backup/host1/var/www
- ionice -c 3 rsync -avze "ssh -p 2222 -i /root/keys/my-key" --stats --numeric-ids --delete /var/www/fcgi root@xxx.xxx.xx.xxx:/backup/host1/var/www
- ionice -c 3 rsync -avze "ssh -p 2222 -i /root/keys/my-key" --stats --numeric-ids --delete /usr/local/src root@xxx.xxx.xx.xxx:/backup/host1/usr
- echo "Rsync Backup Host 1" | mail -s "Rsync Backup Host 1" myEmail@addess