These instructions mainly apply to desktop platforms. Android and iOS devices have different mechanisms. There are also more user friendly mechanisms for accessing data.
You'll find the client binary from your Varasto server's UI.
Rename the binary to
sto and give it executable permissions:
$ mv sto_linux-amd64 sto $ chmod +x sto
Place the binary in your PATH.
sto.exe in your PATH.
If you don't know where to put it, put it in
This makes it so that you can run
$ sto from anywhere.
If you haven't configured Varasto client yet,
config-print will give you instructions to fix it:
$ sto config-print file: /home/joonas/varastoclient-config.json .. does not exist. To configure, run: $ sto config-init
$ sto config-init without any arguments will give you instructions.
How does the cloning interface look like?¶
Currently the cloning interface is only usable from the command line (i.e. nerds only). This will be change to a more user friendly GUI in the future and the pushes will be on automatic scheduler to make it an actually usable backup method.
Commands (equivalent) from the video:
$ sto clone gu5Yyto9OWE $ cd "Ender 3 disk" $ echo "test file content" > Testing.txt $ sto st + Testing.txt $ sto push
Safe removal of collections¶
$ sto rm is a safe method of removing local clones of remote collections - Varasto
doesn't let you remove local copy if it has changes that are not pushed to the remote.
This example continues where we left off at movie upload tutorial.
What happened is that when we pushed the state of the current directory ("local") to a Varasto collection ("remote"), they synchronized states - i.e. there are now two copies.
Let's try it by changing our local (
$ echo foobar > hello.txt $ cd .. $ sto rm ted2/ Refusing to delete workdir 'ted2/' because it has changes $ cd ted2/ $ sto st + hello.txt
Ok let's remove the changed file so we can remove the directory safely:
$ rm hello.txt $ sto st # note: no changes are reported below $ cd .. $ sto rm ted2/
Uploading collections in bulk¶
Sometimes you want to upload many collections at once. Instructions are covered in TV show upload tutorial.