EnglishFrenchSpanish

Ad


OnWorks favicon

bup-midx - Online in the Cloud

Run bup-midx in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command bup-midx that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


bup-midx - create a multi-index (.midx) file from several .idx files

SYNOPSIS


bup midx [-o outfile] <-a|-f|idxnames...>

DESCRIPTION


bup midx creates a multi-index (.midx) file from one or more git pack index (.idx) files.

Note: you should no longer need to run this command by hand. It gets run automatically by
bup-save(1) and similar commands.

OPTIONS


-o, --output=filename.midx
use the given output filename for the .midx file. Default is auto-generated.

-a, --auto
automatically generate new .midx files for any .idx files where it would be
appropriate.

-f, --force
force generation of a single new .midx file containing all your .idx files, even if
other .midx files already exist. This will result in the fastest backup
performance, but may take a long time to run.

--dir=packdir
specify the directory containing the .idx/.midx files to work with. The default is
$BUP_DIR/objects/pack and $BUP_DIR/indexcache/*.

--max-files
maximum number of .idx files to open at a time. You can use this if you have an
especially small number of file descriptors available, so that midx can complete
(though possibly non-optimally) even if it can't open all your .idx files at once.
The default value of this option should be fine for most people.

--check
validate a .midx file by ensuring that all objects in its contained .idx files
exist inside the .midx. May be useful for debugging.

EXAMPLES


$ bup midx -a
Merging 21 indexes (2278559 objects).
Table size: 524288 (17 bits)
Reading indexes: 100.00% (2278559/2278559), done.
midx-b66d7c9afc4396187218f2936a87b865cf342672.midx

DISCUSSION


By default, bup uses git-formatted pack files, which consist of a pack file (containing
objects) and an idx file (containing a sorted list of object names and their offsets in
the .pack file).

Normal idx files are convenient because it means you can use git(1) to access your backup
datasets. However, idx files can get slow when you have a lot of very large packs (which
git typically doesn't have, but bup often does).

bup .midx files consist of a single sorted list of all the objects contained in all the
.pack files it references. This list can be binary searched in about log2(m) steps, where
m is the total number of objects.

To further speed up the search, midx files also have a variable-sized fanout table that
reduces the first n steps of the binary search. With the help of this fanout table, bup
can narrow down which page of the midx file a given object id would be in (if it exists)
with a single lookup. Thus, typical searches will only need to swap in two pages: one for
the fanout table, and one for the object id.

midx files are most useful when creating new backups, since searching for a nonexistent
object in the repository necessarily requires searching through all the index files to
ensure that it does not exist. (Searching for objects that do exist can be optimized; for
example, consecutive objects are often stored in the same pack, so we can search that one
first using an MRU algorithm.)

Use bup-midx online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    turkdevops
    turkdevops
    TurkDevOps a?k kaynak yaz?l?m
    geli?tirici topluluklar? DevTurks-Team
    Taraf?ndan desteklenmektedir..
    Features:https://github.com/turkdevopshttps://turkdevops.g...
    Download turkdevops
  • 2
    Wine
    Wine
    Wine is an Open Source implementation
    of the Windows API on top of X and Unix.
    Wine provides both a development toolkit
    for porting Windows sources to Unix and...
    Download Wine
  • 3
    LAME (Lame Aint an MP3 Encoder)
    LAME (Lame Aint an MP3 Encoder)
    LAME is an educational tool to be used
    for learning about MP3 encoding. The
    goal of the LAME project is to improve
    the psycho acoustics, quality and speed
    of MP...
    Download LAME (Lame Aint an MP3 Encoder)
  • 4
    wxPython
    wxPython
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 5
    packfilemanager
    packfilemanager
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 6
    IPerf2
    IPerf2
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 7
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • More »

Linux commands

Ad