Changeset 345


Ignore:
Timestamp:
Sep 8, 2011, 6:00:52 PM (13 years ago)
Author:
Rick van der Zwet
Message:

Most popular arguments firsts.

Location:
tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tools/snapshot-sync.sh

    r344 r345  
    1111HOSTID=`echo $FQDN | awk -F "." '{print $1}'`
    1212
    13 BACKUP_USER=${BACKUP_USER:-${2:-backup}}
    14 SSH_KEY=${3:-/root/.ssh/backup.key}
    15 DIRS=${4:-"configbackup mysqlbackup"}
     13DIRS=${2:-"configbackup mysqlbackup"}
     14BACKUP_USER=${BACKUP_USER:-${3:-backup}}
     15SSH_KEY=${4:-/root/.ssh/backup.key}
    1616
    1717EXCLUDES=`dirname $0`/excludes
  • tools/www-backup.sh

    r343 r345  
    1111HOSTID=`echo $FQDN | awk -F "." '{print $1}'`
    1212
    13 BACKUP_USER=${BACKUP_USER:-${2:-backup}}
    14 SSH_KEY=${3:-/root/.ssh/backup.key}
    15 DIRS=${4:-"drupal wiki webfolder svn"}
     13DIRS=${2:-"drupal wiki webfolder svn"}
     14BACKUP_USER=${BACKUP_USER:-${3:-backup}}
     15SSH_KEY=${4:-/root/.ssh/backup.key}
    1616
    1717EXCLUDES=`dirname $0`/excludes
Note: See TracChangeset for help on using the changeset viewer.