Il 20/07/2010 14:39, Sergey Poznyakoff ha scritto:
Torino Stampanti<address@hidden> ha escrit:
Tar version: 1.2
Are you really sure? The latest version of GNU tar is 1.23. I have no
records about v. 1.2, but the version 1.10 was released in July, 1991.
I have a script with tar.
The script execute tar command in samba share monted in /mnt
Sometime the script has stopping premature.
the errors are:
tar: /mnt/Backup Set 2010-07-12 144658/Backup Files 2010-07-12 144658:
file changed as we read it
This error means that the said file underwent some modification
during archiving. It does not cause archivation to stop.
- Is there a tar option/metod to force the continous "tar" process?
There's no need for such an option, because this is a non-fatal error
and tar would always continue archiving after encountering it.
- what can I do to resolve this problem end go to finish my script?
Ensure that the file is not modified during the backup.
Regards,
Sergey
Thanks for your answer,
I am really sure that the default version of Debian 5 - stable is:
tar --version
tar (GNU tar) 1.20
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
I am also sure that the file doesn't change.
In the log file, I found only the message: "file changed as we read it"
What can I do to search the error cause?
Thanks
Alessandro