File: comment_1_0712fa3d50ca6092bd7d98c945b5cc31._comment

package info (click to toggle)
git-annex 6.20170101-1%2Bdeb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 50,088 kB
  • sloc: haskell: 53,116; sh: 1,582; ansic: 341; makefile: 292; perl: 144
file content (23 lines) | stat: -rw-r--r-- 982 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2015-08-19T16:40:16Z"
 content="""
It's easy to see why a file is not copied from source repo A to source repo
B: The preferred content expression for a source repo is "not (copies=1)",
so a source repo will not want to get any files from any other repo.

You probably want to make the central repo use transfer; that's basically
what it's for. Note that a transfer repo hangs onto file content until it
reaches all client repos. So you might want to change the preferred content
expression to refer to backup repos. Something as simple as this might
work:

	not inallgroup=backup

I don't see any reason why a file wouldn't move from B to backup repo C,
but I don't see anything in your transcript that shows that not happening
either. Your transcript doesn't actually show running any git-annex commands
that move file contents at all; no git annex copy/move, and the sync is not
run with --content...
"""]]