[afnog] Migrer un service de messagerie (Was: Welcome to the "afnog" mailing list

Phil Regnauld regnauld at x0.dk
Tue Apr 22 08:48:19 UTC 2008


Stephane Bortzmeyer (bortzmeyer) writes:
> > 	0) rsync complet
> > 	1) stop delivrance/releve
> > 	2) rsync à nouveau, qui ne prendra que les changements
> 
> Excellente idée !

    Et ne pas oublier -n --delete (pour vérifier qu'il efface aussi
    les fichiers qui ont disparu entre deux, surtout avec Maildir),
    le -n (simulation) étant important pour s'assurer qu'on ne se trompe
    pas de destination:


man rsync

[...]

       --delete
              This  tells rsync to delete any files on the receiving side that
              aren't on the sending  side.    Files  that  are  excluded  from
              transfer   are  excluded  from  being  deleted  unless  you  use
              --delete-excluded.

              This  option  has  no  effect  if  directory  recursion  is  not
              selected.

              This  option can be dangerous if used incorrectly!  It is a very
              good idea to run first using the dry run option (-n) to see what
              files  would  be  deleted  to  make  sure important files aren't
              listed.

[...]







More information about the afnog mailing list