Project

General

Profile

« Previous | Next » 

Revision 6666

backups/Makefile: Synchronization: Sync with jupiter instead of vegbiendev. This requires running `make backups/upload` on vegbiendev to archive the files, instead of `make backups/download` to download them to your local machine.

View differences:

backups/Makefile
1
##### Configuration
2

  
3
src_server ?= jupiter
4

  
5

  
1 6
selfDir_NzrNZp := $(dir $(lastword $(MAKEFILE_LIST)))
2 7
root := $(selfDir_NzrNZp)..
3 8
include $(root)/lib/common.Makefile
......
111 116

  
112 117
##### Synchronization
113 118

  
119
remote := $(src_user)@$(src_server):/data/dev/aaronmk/VegBIEN.backups/
120

  
114 121
rsyncBackups := $(rsync) --include="/*.backup" --include="/*.sql"\
115 122
--include="/*.csv" --include="/*.md5" --exclude="**"
116 123

  
README.TXT
43 43
    make backups/TNRS.backup-remake &
44 44
    make backups/vegbien.<version>.backup/test &
45 45
    env public=public.<version> bin/export_analytical_db &
46
    make backups/upload
46 47
    On local machine:
47 48
        make inputs/download-logs
48
        make backups/download
49 49
        Copy backups to jupiter in /data/dev/aaronmk/VegBIEN.backups/
50 50
    Upload backups/analytical_aggregate.public.<version>.csv to nimoy at
51 51
        /home/bien/svn/backups/analytical_aggregate.public.<version>.csv

Also available in: Unified diff