Project

General

Profile

1
#!/bin/bash -e
2
. "$(dirname "${BASH_SOURCE[0]}")"/../../../lib/runscripts/subdir.run
3
.rel ../../../lib/sh/resume_import.sh
4

    
5
if self_not_included; then
6

    
7

    
8
#### import resuming
9

    
10
table=raw_occurrence_record
11
pkey_name=id
12

    
13
# import_resume_pos() takes 6 min to run, with 37 iterations
14

    
15
dumpfile="$(canon_rel_path "$top_dir/../_src/${top_filename/%.data.sql/.dump}")"
16
echo_vars dumpfile
17

    
18
func_override ^.preamble.sql/make__resume_import_sh
19
^.preamble.sql/make()
20
{
21
	begin_target
22
	top_file="$dumpfile" with_rm ^.preamble.sql/make__resume_import_sh
23
}
24

    
25
fi
(4-4/10)