Project

General

Profile

« Previous | Next » 

Revision 3701

backups/Makefile: Added synchronization of backups with vegbiendev. Added downloading backups to After a new import steps.

View differences:

backups/Makefile
90 90

  
91 91
vegbien.backup:
92 92
	$(backup) all >$@
93

  
94
##### Synchronization
95

  
96
rsyncBackups := $(rsync) --include="/*.backup" --include="/*.sql" --exclude="**"
97

  
98
upload: _always
99
	$(rsyncBackups) $(local) $(remote)
100
download: _always
101
	$(rsyncBackups) $(remote) $(local)
README.TXT
32 32
        make backups/<schema>.backup/test & make backups/vegbien.backup/all &
33 33
        On local machine:
34 34
            make inputs/download-logs
35
            make backups/download &
35 36
    Archived imports:
36 37
        Back up: make backups/public.<date>.backup &
37 38
            Note: To back up the last import, you must archive it first (above)
38 39
        Test: make backups/public.<date>.backup/test &
39 40
        Restore: make backups/public.<date>.backup/restore &
40 41
        Remove: make backups/public.<date>.backup/remove
42
        Download: make backups/download
41 43
    Full DB:
42 44
        Back up, test, and rotate: make backups/vegbien.backup/all &
43 45
        Back up and rotate: make backups/vegbien.backup/rotate &
44 46
        Test: make backups/vegbien.<date>.backup/test &
45 47
        Restore: make backups/vegbien.<date>.backup/restore &
48
        Download: make backups/download
46 49
    Import logs:
47 50
        Download: make inputs/download-logs
48 51

  

Also available in: Unified diff