Oh yeah !!
I deleted "$chan->blocking(0);"
I added "sleep (15);" after the 2 tar commands line
There is now only 2 octets difference between file test and test2. I tried the backup file created with the script and it works.
Thanks for the help !! Once you have the answer it sounds so dump xD
In reply to Re^2: Backup Script Pb
by WTem
in thread Backup Script Pb
by WTem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |