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

    June 29, 2017 at 2:13:25 PM GMT+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.

    December 8, 2016 at 8:46:34 AM GMT+1 - permalink - archive.org - https://lincolnloop.com/blog/detecting-file-moves-renames-rsync/
    rsync
  • Full system backup with rsync - ArchWiki

    thx Doo

    September 14, 2015 at 3:28:33 PM GMT+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

    June 15, 2015 at 2:05:32 PM GMT+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

    January 13, 2015 at 4:27:41 PM GMT+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

    November 7, 2014 at 10:16:11 AM GMT+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
    April 11, 2014 at 4:49:30 PM GMT+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.

    March 12, 2014 at 5:47:25 PM GMT+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

    January 27, 2014 at 10:24:34 PM GMT+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.

    January 15, 2014 at 10:44:42 AM GMT+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

    October 9, 2013 at 2:27:56 PM GMT+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à :)

    May 9, 2013 at 8:38:09 PM GMT+2 - permalink - archive.org - http://wwz.suumitsu.eu/2012/12/do-your-fucking-backups/
    backup rsync
  • rsnapshot HOWTO
    December 23, 2012 at 5:58:33 PM GMT+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
    December 23, 2012 at 5:58:16 PM GMT+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
    January 27, 2012 at 10:53:30 AM GMT+1 - permalink - archive.org - http://www.sheltem.com/?p=70
    rsync tuto
  • rsnapshot
    April 25, 2011 at 8:26:57 PM GMT+2 - permalink - archive.org - http://www.rsnapshot.org/
    linux rsnapshot rsync tools
  • Sauvegardes incrémentales avec rsnapshot
    April 24, 2011 at 7:37:48 PM GMT+2 - permalink - archive.org - http://www.exhaustif.com/Sauvegardes-incrementales-avec.html
    rsnapshot rsync
  • Man rsync
    April 22, 2011 at 9:17:32 AM GMT+2 - permalink - archive.org - http://samba.anu.edu.au/ftp/rsync/rsync.html
    rsync
  • rsync et openfiler
    April 21, 2011 at 11:02:55 AM GMT+2 - permalink - archive.org - http://www.yakakliker.org/index.php?title=Base_de_connaissance_Openfiler/Backup_d%27Openfiler
    rsync
  • à lire pour projet, s'inspirer
    April 20, 2011 at 2:28:19 PM GMT+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