cPanel connector to the Storj protocol; use this to backup your data to the leading decentralized storage network.
The cPanel Connector connects to a cPanel server, takes a backup of the specified files and uploads the backup data on Storj network.
Usage:
connector-cpanel [command] <flags>
Available Commands:
help Help about any command
store Command to upload data to a Storj V3 network.
version Prints the version of the tool
store
- Connect to the specified cpanel (default: cpanel_property.json
). Back-up of the cpanel is generated using tooling provided by cpanel and then uploaded to the Storj network. Connect to a Storj v3 network using the access specified in the Storj configuration file (default: storj_config.json
).
The following flags can be used with the store
command:
accesskey
- Connects to the Storj network using a serialized access key instead of an API key, satellite url and encryption passphrase.shared
- Generates a restricted shareable serialized access with the restrictions specified in the Storj configuration file.Sample configuration files are provided in the ./config
folder.
To build from scratch, install the latest Go.
Note: Ensure go modules are enabled (GO111MODULE=on)
To clone the repo
git clone https://github.com/storj-thirdparty/connector-cpanel.git
Then, build the project using the following:
cd connector-cpanel
go build
go get
into your gopathTo download the project inside your GOPATH use the following command:
go get github.com/storj-thirdparty/connector-cpanel
Place the executable file along with configuration files to the user’s home directory.
Once you have built the project run the following commands as per your requirement:
$ ./connector-cpanel --help
$ ./connector-cpanel --version
$ ./connector-cpanel store