Using your storage account

You can get your storage account username, password and storage server name on our storage accounts page.

Because Bakop uses industry standard protocols you have a lot of flexibility over how you access your files. The principle methods are:

  • Your browser (with a URL like ftp://replace_username@replace_host/ .
  • An FTP client
  • Via SSH
  • Mounted locally on your computer as an external drive via SSHFS.
  • Using the popular rsync backup protocol.

FTP clients

FTP is a protocol. There are clients for most operating systems:

Linux:

FileZilla

gFTP

Using your space via SSH

Your Bakop FTP data can be accessed via the SSH protocol.  This lets you use a few simple commands (like mv, cp, rm, md5sum, etc).

Some examples (that you would run on your local computer's command line):


# upload local file to base FTP dir
$ scp local_file replace_username@replace_host:.

# download remote file to current local dir
$ scp replace_username@replace_host:remote_file .

# upload your public ssh keys
$ scp ~/.ssh/authorized_keys replace_username@replace_host:.ssh/

# View files via SSH
$ ssh replace_username@replace_host "ls -la"

# Delete file via SSH
$ ssh replace_username@replace_host "rm remote_file"

You can also set your SSH keys in our control panel. These will set when you create a new storage account.

Using your space via an SSHFS mount

SSHFS allows you to connect to any host that supports SSH and mount a remote directory on your local file system as a directory. This means you will be able to interact with the files as if they were on your own system.

See Dokan for using SSHFS on a Window's PC.

To use SSHFS on a Linux computer:

# Step 1: Install SSHFS
$ sudo apt-get install sshfs

# Step 2: make mount dir
$ mkdir sshmnt

# Step 3: mount FTP space to created directory
$ sshfs replace_username@replace_host: sshmnt

# Go and use the directory you mounted.
$ vi sshmnt/file.txt
$ ls sshmnt
$ cp sshmnt/file.txt sshmnt/file.txt.bak

# unmount FTP space
$ umount -f sshmnt

Sync files with rsync

Rsync uses a quick and reliable algorithm to very quickly bring remote and host files into sync. Rsync is fast because it sends the differences in the files over the network rather than sending the complete files.

There are some Windows-based rsync clients. e.g. see:

There are some GUIs for Linux computers like:

And of course you can use rsync via the command line as well.

Some rysnc options to be aware of:

  • --delete : delete files that don't exist on sender (system)
  • -v : Verbose (try -vv for more detailed information)
  • -e "SSH options" : specify the SSH as remote shell
  • -a : archive mode
  • -r : recurse into directories
  • -z : compress file data

See also the Official rsync documentation.

Some examples of using rsync to get you started:

# Get rsync
$ sudo apt-get install rsync

# Copy local file to remote directory
$ rsync -v -e ssh local_file replace_username@replace_host:.

# Copy remote file to local directory
$ rsync -v -e ssh replace_username@replace_host:remote_file . 

# Synchronize a local directory with a remote directory
$ rsync -r -a -v -e "ssh -l replace_username" --delete replace_host:. sync_dir

# Synchronize a remote directory with a local directory
$ rsync -r -a -v -e "ssh -l replace_username" --delete sync_dir replace_host:. 

3rd party step by step guide

BestBackups has written a step-by-step guide to settting up and using Bakop.