Hi,
I have written a backup script, which creates a tar.gz of a dir.
The dir contains different file types mostly about 10MB all together we have about 60GiB of data.
Now tar should tape this together and compress it then with gzip. The archive gets the date as name and is now parked for about 30 days in an extra backup dir.
So much to theory. The script works properly with GNU/Linux but under FreeBSD there many issues.
I have found now that the issue is a tar issue, the rest of the script works good and the script is even listet in the cron logs.
There was until now only one time where the script worked proberly but until now I couldn't locate any new backups.
When I execute the script manuelly I see how tar is already working but at the end something everytime makes tar to fail.
I know this because the script ends with:
And the server is always on when I come back....
Sry for the awful english, Regards
I have written a backup script, which creates a tar.gz of a dir.
The dir contains different file types mostly about 10MB all together we have about 60GiB of data.
Now tar should tape this together and compress it then with gzip. The archive gets the date as name and is now parked for about 30 days in an extra backup dir.
So much to theory. The script works properly with GNU/Linux but under FreeBSD there many issues.
I have found now that the issue is a tar issue, the rest of the script works good and the script is even listet in the cron logs.
There was until now only one time where the script worked proberly but until now I couldn't locate any new backups.
When I execute the script manuelly I see how tar is already working but at the end something everytime makes tar to fail.
I know this because the script ends with:
Code:
tar zcvf ${BACKUPDIR}/${DATUM}.tar.gz ${SOURCE} && halt -p
Sry for the awful english, Regards