4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:tar — newest first
  • zip et tar.gz sous linux

    Pour créer une archive de la forme latest_2013-05-19-04-05-23.tar.gz ou .zip

    !/bin/bash

    dotd=date +%F-%H-%M-%S
    tar -pczf /tmp/lastbackup/latest_$dotd.tar.gz /var/cache/rsnapshot/hourly.0
    zip -y -9 -r /tmp/lastbackup/latest_$dotd.zip /var/cache/rsnapshot/hourly.0

    L'option -y permet de ne pas suivre les liens symboliques (ce qui faisait planter mon backup). A enlever si nécessaire.

    May 19, 2013 - permalink - https://links.infomee.fr/shaare/xC6EMA
    backup debian linux tar zip
  • How To Tar A Directory In Linux With A Shell Command
    December 12, 2012 - permalink - http://www.wallpaperama.com/forums/how-to-tar-a-directory-in-linux-with-a-shell-command-t6920.html
    linux tar