1OSTREE PULL(1)                    ostree pull                   OSTREE PULL(1)
2
3
4

NAME

6       ostree-pull - Download data from a remote repository
7

SYNOPSIS

9       ostree pull {REMOTE} [BRANCH]
10

OPTIONS

12       --commit-metadata-only
13           Fetch only the commit metadata.
14
15       --disable-fsync
16           Do no invoke fsync().
17
18       --localcache-repo
19           Like git's clone --reference. Reuse the provided OSTree repo as a
20           local object cache when doing HTTP fetches. May be specified
21           multiple times.
22
23       --untrusted
24           Do not trust local sources, verify checksums and don't hardlink
25           into source.
26
27       --disable-static-deltas
28           Do not use static deltas.
29
30       --mirror
31           Write refs suitable for a mirror, i.e. refs are stored in the
32           heads/ directory rather than the remotes/ directory. This makes the
33           target repo suitable to be exported for other clients to pull from
34           as an ostree remote. If no specific refs are specified, all refs
35           will be fetched (the remote must have a summary file present).
36
37       --subpath=SUBPATH
38           Only pull the provided subpath.
39
40       --depth=DEPTH
41           Traverse DEPTH parents (-1=infinite) (default: 0).
42
43       --network-retries=N
44           Specifies how many times each download should be retried upon error
45           (default: 5)
46

DESCRIPTION

48       This command can retrieve just a specific commit, or go all the way to
49       performing a full mirror of the remote repository. If no BRANCH is
50       specified, all configured branches are retrieved.
51
52       A special syntax in the @ character allows specifying a specific commit
53       to retrieve from a branch. The use cases for this are somewhat similar
54       to pulling a specific git tag; one could e.g. script a system upgrade
55       to a known-good version, rather than the latest from the content
56       provider.
57

EXAMPLE

59       $ ostree --repo=repo pull --depth=-1 --mirror remote_name
60
61       Perform a complete mirror of the remote. (This is likely most useful if
62       your repository is also archive mode)
63
64       $ ostree --repo=repo pull remote_name exampleos/x86_64/standard
65
66       Fetch the most recent commit to exampleos/x86_64/standard.
67
68       $ ostree --repo=repo pull remote_name
69       exampleos/x86_64/standard@98ea6e4f216f2fb4b69fff9b3a44842c38686ca685f3f55dc48c5d3fb1107be4
70
71       Download the specific commit starting with 98ea6e as if it was the
72       latest commit for exampleos/x86_64/standard.
73
74
75
76OSTree                                                          OSTREE PULL(1)
Impressum