I have four servers each with same hardware specification running proxmox 4 with same configuration. Yesterday I tried to do tar backup on each of them. I created simple script:
tar -zcvpf /mnt/backup1/root_backup/root_backup_1.tar.gz --directory=/ --exclude=mnt/backup1/root_backup .
and save it as fullserver.sh placed in backup directory on main root tree.
/mnt/backup1 is directory where second hard disk is mounted.
Example script is for the server number 1. And It's the same on all other except directory names.
What happened is that created *.tar.gz file is different in size on each server, varying from 100 to 400 Mb. And biggest problem is with the last one, where I did everything the same and output file is only 1 Mb in size.
Do you see where I made a mistake?
Thanks in advance