File: issue98.sh

package info (click to toggle)
duplicity 3.0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 6,260 kB
  • sloc: python: 25,089; sh: 934; ansic: 392; makefile: 83
file content (54 lines) | stat: -rwxr-xr-x 1,001 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash -v

cd `dirname $0`/../..

export PYTHONPATH=`pwd`

alias python3=python3.9

#export PYDEVD=True

rm -rf ~/.cache/duplicity/issue98 /tmp/first_drive /tmp/second_drive

bin/duplicity \
    full \
    --name issue98 \
    --volsize 5 \
    --no-encryption \
    ../duplicity-web-git \
    file:///tmp/first_drive

bin/duplicity \
    inc \
    --name issue98 \
    --volsize 5 \
    --no-encryption \
    ../duplicity-web-git \
    file:///tmp/first_drive

bin/duplicity \
    replicate \
    --name issue98 \
    --volsize 5 \
    --no-encryption \
    --verbosity 9 \
    file:///tmp/first_drive \
    file:///tmp/second_drive

bin/duplicity \
    verify \
    --name issue98 \
    --volsize 5 \
    --no-encryption \
    file:///tmp/first_drive \
    ../duplicity-web-git

bin/duplicity \
    verify \
    --name issue98 \
    --volsize 5 \
    --no-encryption \
    file:///tmp/second_drive \
    ../duplicity-web-git

ls -l ~/.cache/duplicity/issue98 /tmp/first_drive /tmp/second_drive