FABSYS_STORAGE-INIT(1)

NAME
fabsys_storage-init - Initialize volume blob storage dirs for FABS

SYNOPSIS
fabsys storage-init (--all | --dir <dir>)

DESCRIPTION
The fabsys storage-init command initializes one or more directories as FABS storage dirs, making them usable for FABS backup runs.

Before a storage dir can be used, it must be initialized by this command. This is to ensure that FABS does not mistakenly use the wrong directory (for example, if a mount fails), and that the blob storage format has not changed (for example, by a future version of FABS).

If fabsys storage-init encounters a directory that has already been initialized, that directory will just be skipped. This is not considered an error.

OPTIONS

--all
    Initialize all storage dirs configured in the "dump/storage_dirs" configuration directive. See fabsys_config(1) for more information.

--dir <dir>
    Initialize the specified directory. This can be useful to prepare a directory for use by FABS before adding it to the configuration.

PRIVILEGED REQUIRED
The issuer of this command must be able to read the FABS configuration, typically in /etc/fabs/fabs.yaml.d/, as well as be able to write to the configured volume blob storage directory.

COPYRIGHT
Copyright (c) 2015, Sine Nomine Associates.

See the provided LICENSE file for licensing terms.