Project

General

Profile

« Previous | Next » 

Revision fd9f41ae

Added by Andreas Kohlbecker almost 3 years ago

update script improved

View differences:

scripts/admin/update-dependencies.sh
35 35
    exit -1
36 36
fi
37 37

  
38
# --- full backup befor any modification
39
echo "creating full backup ..."
40
archive_file=../drupal-7-cdm-dataportal-backup-$(date -I).tar.gz
41
tar -czf $archive_file ./
42
echo "backup archive created at "$(readlink -f $archive_file)
43

  
38 44
# -- setup 
39 45

  
40 46
TMP=$(mktemp -d)
......
54 60
    DRUSH=$DRUSH" -l $site_url"
55 61
fi 
56 62

  
57
echo "creating full backup ..."
58
archive_file=../drupal-7-cdm-dataportal-backup-$(date -I).tar.gz
59
tar -czf $archive_file ./
60
echo "backup archive created at "$(readlink -f $archive_file)
61

  
62
echo "backing up settings and config files to temp backup ${TMP} ..."
63

  
63
echo "back up of settings and config files to ${TMP} ..."
64 64
# backup modified files
65 65
cp -a web/.htaccess* ${TMP}/
66 66
# .htaccess.dist is provieded by the drupal/drupal package und must not be in the backup

Also available in: Unified diff