4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 1 / 2
25 results tagged rsync x
  • Note: rsync parallel

    find -L . -type f | parallel -j 30 rsync -a {} /DESTINATION_EFS_FILESYSTEM

    29 juin 2017 à 14:13:25 UTC+2 - permalink - archive.org - https://links.infomee.fr/?bSM2yw
    parallel rsync
  • Detecting File Moves & Renames with Rsync | Lincoln Loop

    Une méthode pour ne pas rsync des fichiers qui ont été déplacés dans la source

    Et en commentaire une extension à la solution qui m'a l'air pas mal du tout

    I use a derivative of this method, by creating a separate hard-links directory with md5-filenames. This gets rid of any duplicate files as well. Any files in this hard links directory with link count 1 are removed. Any files in the albums tree without the same inode to be found in the hard links tree are hard-linked into the hard links tree by using an MD5 of the file. Before I rsync I update the hard links dir, so when my wife decides to make a beautiful photobook and copies and moves lots of photos around, my ADSL doesn't get swamped when backing up my local photo store.

    The same script also generates JPG files from Nikon image files (NEF).

    This works both on FreeBSD/Linux/UNIX/etc as well as NTFS. Which is nice.

    8 décembre 2016 à 08:46:34 UTC+1 - permalink - archive.org - https://lincolnloop.com/blog/detecting-file-moves-renames-rsync/
    rsync
  • Full system backup with rsync - ArchWiki

    thx Doo

    14 septembre 2015 à 15:28:33 UTC+2 - permalink - archive.org - https://wiki.archlinux.org/index.php/Full_system_backup_with_rsync
    full rsync
  • rsync fichier transférés

    rsync -ai source/ dest/ | grep -vE '^.'

    L'option -i ajoute des informations pour chaque fichier (voir man)
    Ici on filtre tout ce qui commence par un point == les fichiers/dossier qui n'ont pas été transférés

    15 juin 2015 à 14:05:32 UTC+2 - permalink - archive.org - https://links.infomee.fr/?ZVn1zw
    rsync
  • rsync -a

    -a, --archive archive mode; equals -rlptgoD (no -H,-A,-X)

    -r, --recursive recurse into directories
    -l, --links copy symlinks as symlinks
    -p, --perms preserve permissions
    -t, --times preserve modification times
    -g, --group preserve group
    -o, --owner preserve owner (super-user only)
    -D same as --devices --specials

    --devices preserve device files (super-user only)
    --specials preserve special files

    13 janvier 2015 à 16:27:41 UTC+1 - permalink - archive.org - https://links.infomee.fr/?7C99iw
    rsync
  • Comment filtrer la sortie d'erreur (seulement)

    Prenons un bash qui ouput sur sa sortie standard (stdout) et sur sa sortie d'erreur (stderr) :

    cat test.bash

    echo good
    echo bad >&2
    echo vanish >&2
    echo good!

    Comment faire pour rediriger la sortie standard vers un fichier (ou /dev/null pour l'exemple) et filter la sortie d'erreur pour retirer la ligne "vanish" ?

    Pour ça il faut utiliser un process substitution :

    /root/test.bash 2> >(grep -v vanish >&2) >/dev/null

    Bien pratique dans un crontab pour recevoir un peu moins de mail lorsqu'on a des "erreurs" acceptables (rsync vanished par exemple)

    SHELL=/bin/bash

            • root /root/test.bash 2> >(grep -v vanish >&2) >/dev/null

    Pour en savoir plus sur les process substitution : http://tldp.org/LDP/abs/html/process-sub.html

    7 novembre 2014 à 10:16:11 UTC+1 - permalink - archive.org - https://links.infomee.fr/?-D0dqQ
    cron crontab indirection redirection rsync stderr stdin vanish
  • Some of the more common rsync args that you probably want to include in your rsync script | EVBackup
    11 avril 2014 à 16:49:30 UTC+2 - permalink - archive.org - http://www.evbackup.com/support-commonly-used-rsync-arguments/
    rsync
  • rsync et --numeric-ids

    Par défaut, lorsqu'on copie des fichiers avec rsync, celui-ci va tenter d'arranger les permissions de cette manière :

    Prenons un fichier hello.world qui appartient à l'user foo(115) et au group foo(115)

    Lorsque rsync va copier ce fichier sur le systeme distant, il ne va pas donner un owner égal à 115:115 sans vérifier que :
    dans /etc/passwd que 115 correspond à l'user foo
    dans /etc/group que 115 correspond bien au groupe foo

    Si ça correspond, tout va bien, le owner donné est 115:115

    Par contre, s'il n'y a pas de correspondance, rsync va tenter d'en trouver une en cherchant l'user et le group et en trouvant les id numérique qui vont bien.

    Tout ça c'est très pratique la plupart du temps, mais dans certains cas, on n'en a pas besoin. (exemple : dupliquer un lvm d'une vm avec rsync)

    L'option --numeric-ids est là pour ça : le owner des fichiers sera défini numériquement tel quel sans aucune vérification.

    12 mars 2014 à 17:47:25 UTC+1 - permalink - archive.org - https://links.infomee.fr/?cof6rQ
    lvm rsync
  • Creating differential backups with hard links and rsync

    Pour faire du backup sans prendre trop d'espace (à la rsnapshot) on peut utiliser les hardlinks. Le truc cool, c'est que rsync est conscient de ces hardlinks et va créer un nouveau fichier si la destination est un hardlink et que le fichier a changé. Super pratique.

    What most people don’t know is that rsync is an exception to this rule. If you use rsync to sync two files, and it sees that the target file is a hard link, it will create a new target file but only if the contents of the two files are not the same

    27 janvier 2014 à 22:24:34 UTC+1 - permalink - archive.org - http://earlruby.org/2013/05/creating-differential-backups-with-hard-links-and-rsync/
    hardlink rsync
  • Rsync explanation and recommendations

    "Trailing slash on the
    destination directory doesn't matter."

    Quand on fait un rsync, il faut juste se méfier du slash à la fin de la source (le comportement est différent, voir : http://www.jveweb.net/en/archives/2010/11/synchronizing-folders-with-rsync.html#jveweb_en_014_02)

    Sinon pour le slash à la fin de la destination, on s'en fout.

    15 janvier 2014 à 10:44:42 UTC+1 - permalink - archive.org - http://defindit.com/readme_files/rsync_backup.html
    rsync
  • Synchronizing folders with rsync - Juan Valencia's website

    Pour comprendre un peu mieux certaines subtilités de rsync + compléter mémo

    9 octobre 2013 à 14:27:56 UTC+2 - permalink - archive.org - http://www.jveweb.net/en/archives/2010/11/synchronizing-folders-with-rsync.html#jveweb_en_014_02
    linux rsync
  • Do your fucking backups ! | Le blog de Mitsu

    rsync -aPh --no-inc-recursive --exclude="lost+found" --del "/media/DATA/" "/media/SAUV_DATA/"

    Courte explication: le paramètre « a » indique archive, fichiers et dossiers seront copiés à l’identique selon leur taille+date de modification. « P » indique reprise des transferts partiels et affichage de la progression. « h » indique affichage humain (conversion des tailles en kilo-octets, méga-octets,.. « –no-inc-recursive » indique que le comptage se fait avant le transfert, donc vous avez une indication précise de l’avancement (genre fichier 542/51641). « –exclude » exclut un fichier ou dossier selon ce mot clé, « lost+found » étant un dossier spécial crée sur les partitions Linux pour les fichiers récupérés en cas de crash. Ledit dossier étant protégé en écriture, rsync bute dessus (« i/o error ») et annule donc toute suppression de fichier sur le volume de destination (ce qui n’est pas bien, car) « del » indique à rsync de supprimer au fur et à mesure les fichiers de la destination s’ils ne sont plus dans la source, histoire d’avoir une copie exacte de tous les fichiers sur les deux volumes. La suite: « {source} » et « {destination} ». Voilà :)

    9 mai 2013 à 20:38:09 UTC+2 - permalink - archive.org - http://wwz.suumitsu.eu/2012/12/do-your-fucking-backups/
    backup rsync
  • rsnapshot HOWTO
    23 décembre 2012 à 17:58:33 UTC+1 - permalink - archive.org - http://www.rsnapshot.org/howto/1.2/rsnapshot-HOWTO.en.html#what_you_will_need
    rsnapshot rsync
  • Sauvegarde journalisée de votre machine avec RSnapShot | Le blog de NicoLargo
    23 décembre 2012 à 17:58:16 UTC+1 - permalink - archive.org - http://blog.nicolargo.com/2011/02/sauvegarde-journalisee-de-votre-machine-avec-rsnapshot.html
    rsnapshot rsync
  • Sheltem Network » Copier avec rsync
    27 janvier 2012 à 10:53:30 UTC+1 - permalink - archive.org - http://www.sheltem.com/?p=70
    rsync tuto
  • rsnapshot
    25 avril 2011 à 20:26:57 UTC+2 - permalink - archive.org - http://www.rsnapshot.org/
    linux rsnapshot rsync tools
  • Sauvegardes incrémentales avec rsnapshot
    24 avril 2011 à 19:37:48 UTC+2 - permalink - archive.org - http://www.exhaustif.com/Sauvegardes-incrementales-avec.html
    rsnapshot rsync
  • Man rsync
    22 avril 2011 à 09:17:32 UTC+2 - permalink - archive.org - http://samba.anu.edu.au/ftp/rsync/rsync.html
    rsync
  • rsync et openfiler
    21 avril 2011 à 11:02:55 UTC+2 - permalink - archive.org - http://www.yakakliker.org/index.php?title=Base_de_connaissance_Openfiler/Backup_d%27Openfiler
    rsync
  • à lire pour projet, s'inspirer
    20 avril 2011 à 14:28:19 UTC+2 - permalink - archive.org - http://yann.morere.free.fr/article.php3?id_article=74
    projet rsync
Links per page: 20 50 100
◄Older
page 1 / 2
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation