Archives

Show All

  • 2010
    • February
      • simple script to make snapshot backups
        02/06/10
        #!/bin/bash
        #
        # Remote location
        HOST=localhost.localdomain

        # local directory where to store
        PATHTOBACKUP=backup

        # Timestamp is useful :-)
        date=`date "+%Y-%m-%dT%H:%M:%S"`

        # Just rsync notice the stdout will go to syslog
        rsync

  • 2009