Backup risolto – Backup fixes

Posted by – 07/02/2010

Il problema del backup di tutta la rete dei siti è stato risolto. Si trattava:

  1. di ridurre il tasso di compressione di ZIP (usando parametro -1) per non “affaticare” la CPU sulla compressione, peraltro inutile, della cartella immagini (tutte già compresse)
  2. di individuare una “svista”: invece di scrivere “meno uno” lo script conteneva “meno elle” (-l), il che causava il tentativo da parte di ZIP di convertire il LF (Linefeed) in CR+LF (Carriage Return + Linefeed), facendolo abortire su alcuni file binari.

Possono “riprendere le danze”.

Backup problems for the whole network of sites have been fixed. It was due from:

  1. lower compression rate for ZIP (-1 parameter) to avoid overloading the CPU on its compression task, perfectly unuseful for images folders as image files are almost all already compressed
  2. a typo in command line, where rather than a “-1″ (less one) there was a “-l” (less el), which caused ZIP to attempt to convert LF into CRLF, which caused abort on some binary files.

The show can go on.

0 Comments on Backup risolto – Backup fixes

Respond

Respond

Comments

Comments