Tips on Downloading With Rsync Over Slow Connection Consigli per il download di più di rsync con connessione lenta
In the process of mirroring Fedora Core updates repository over a slow (256 Kbps) connection using rsync, I realized that the process can be extremely frustrating as you spend lots of time looking at the console, waiting for something to happen…anything. Nel processo di mirroring Fedora aggiornamenti repository nel corso di un lento (256 Kbps) connessione utilizzando rsync, mi sono reso conto che il processo può essere estremamente frustrante come spendere un sacco di tempo guardando la console, in attesa che accada qualcosa… niente. Then I found the magic option to show a progress meter - –progress . Poi ho trovato la magia opzione per mostrare il progressivo - progressi. Add this to your rsync command options and you can see in realtime the status of your download, the current connection speed etc. While it will not speed your downloading it will at least make the pain bearable. Aggiungete questo al tuo comando rsync opzioni e si può vedere in tempo reale lo stato dei tuoi download, l'attuale velocità di connessione, ecc Anche se non la vostra velocità di download sarà di almeno rendere sopportabile il dolore.
When you specify –delay-updates you want to ensure that all files are replaced in the destination directory only after the transfer has been complete. Quando si specifica-ritardo-aggiornamenti desiderati per garantire che tutti i file devono essere sostituiti nella directory di destinazione solo dopo il trasferimento è stato completato. This is particularly important when you have people / process accessing the repository even during update. Ciò è particolarmente importante quando si hanno persone / processo di accesso al deposito anche nel corso di aggiornamento. A downside is if you are syncing for the first time and the process fails then you will have to start all over again. Un aspetto negativo è se si è di sincronizzazione per la prima volta e il processo non si dovrà iniziare da capo. A simple way around this is to copy all the files from the ~.tmp~ directory to your base directory and start the process again. Un semplice modo per aggirare questo è per copiare tutti i file della ~. Tmp ~ directory alla vostra directory di base e avviare il processo di nuovo. This will ensure that already downloaded files are not downloaded again. Questo farà sì che già scaricato i file non vengono scaricati nuovamente.
Finally a word about verbose mode. Infine una parola sulle modalità verbose. Increasing the number of v's in the rsync options increases verbosity. Aumentando il numero di contro c'è in rsync opzioni aumenti verbosità. Having 4 v's is probably more information that you will ever want to know. Avendo 4 V's è probabilmente più informazioni che si desidera potrà mai sapere. Personally I prefer one v with –progress as described above for continuously updated status. Personalmente preferisco uno-contro con il progresso come descritto sopra per continuamente aggiornato.
Filed under Elencato sotto Fedora Core 6 Fedora Core 6 , How To Come , Linux , Linux Migration Linux | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | questo articolo |
Email this Article Invia questo articolo
You may also like to read Si può anche leggere come |




































