Get your free beta license ↗
CMDCommand · run as root on the server · import family

urbestack-import

First published 3 Oct 20260.1.0Unchanged since publication

Usage

# urbestack-import --file PATH [--passphrase-stdin] [--profile-only] [--trust-files] [--dry-run] [--remove-file]

Description

From the command's --help output
Imports an UrbeStack configuration export and rebuilds the server from it. Use --file with an
absolute path. --passphrase-stdin reads the passphrase from the first line of standard input and
decrypts the export. Files ending in .enc require this option.

--profile-only skips users and domains. --dry-run shows the differences without applying them.
--remove-file deletes the input file after the read attempt, even if reading or importing fails.
API import jobs use it to delete their own copy of the upload.

Root runs or renders hooks, template overrides, Apache includes and registered files. Review any
such files in the profile before importing it from a root shell with --trust-files. The command
refuses a profile containing these files when called by the account used by the web interface,
even with --trust-files. The API imports settings, packages and accounts and reports when a
profile carries these files.

With --trust-files, the profile replaces the server's hooks, template overrides and Apache
includes, removing any it omits. If the profile omits file permissions, hooks default to 0755
and template overrides and Apache includes to 0644. Restored permissions exclude setuid and
setgid bits.

The import keeps the server's host identity and reports settings this version does not
recognize. Changes to the web interface port (panel.port) are set up for rollback. If the
requested port is unavailable or a port change is already pending, the import keeps the current
port and reports why.

A reseller's package requires its owner to exist on the server or be imported with the package.
A package with no limits specified keeps its existing limits or starts with no limits if it is
new. The import stops if it encounters a package limit this version does not recognize.

Options

Find other commands that accept these options

Same in the API

This operation runs the command.

Command family: import

1 commandView all commands in this family →
urbestack-
Generated from release 0.2.35 (current) · urbestack-import --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-import/