Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SFTPGO-REVERTPROVIDER(1)	 SFTPGo	Manual	      SFTPGO-REVERTPROVIDER(1)

NAME
       sftpgo-revertprovider - Revert the configured data provider to a	previ-
       ous version

SYNOPSIS
       sftpgo revertprovider [flags]

DESCRIPTION
       This command reads the data provider connection details from the	speci-
       fied  configuration file	and restore the	provider schema	and/or data to
       a previous version.  This command  is  not  supported  for  the	memory
       provider.

       Please take a look at the usage below to	customize the options.

OPTIONS
       -c,  --config-dir="."	   Location for	the config dir.	This directory
       is used as the base for files with a relative  path,  eg.  the  private
       keys  for  the  SFTP server or the SQLite database if you use SQLite as
       data provider.  The configuration  file,	 if  not  explicitly  set,  is
       looked  for in this dir.	We support reading from	JSON, TOML, YAML, HCL,
       envfile and Java	properties config files. The default config file  name
       is  "sftpgo"  and  therefore "sftpgo.json", "sftpgo.yaml" and so	on are
       searched.  This flag can	be set using SFTPGO_CONFIG_DIR env var too.

       --config-file=""	     Path to SFTPGo configuration file.	 This flag ex-
       plicitly	 defines  the  path, name and extension	of the config file. If
       must be an absolute path	or a path relative to the configuration	direc-
       tory.  The  specified  file name	must have a supported extension	(JSON,
       YAML, TOML, HCL or Java	properties).   This  flag  can	be  set	 using
       SFTPGO_CONFIG_FILE env var too.

       -h, --help[=false]      help for	revertprovider

       --to-version=0	   8 means the version supported in v2.0.x

SEE ALSO
       sftpgo(1)

SFTPGo 2.1.2			   Nov 2021	      SFTPGO-REVERTPROVIDER(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=sftpgo-revertprovider&sektion=1&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help