Rsync
This page will help you get started using your datastore with Rsync. Rsync is a versatile tool that can be used on many different platforms.
After creating your datastore, click on the “Connect” button and select the “rsync / borg / sftp” box.
Paste in your public SSH Key so you can authenticate with your user and click “Save.”
Test the connection via SSH:
# ssh -v customer@fsn1-1.pbs-host.de -i path/to/private-key
If you get a positive result, you can start using rsync to transfer files:
# Sync files to the remote datastore
$ rsync -avz -e "ssh -i /path/to/private-key" /path/to/local/files/ customer67cd775d1779d07d5fc5b7af@fsn1-1.pbs-host.de:/path/to/remote/destination/
# Example:
$ rsync -avz -e "ssh -i /path/to/private-key" /home/user/documents/ customer67cd775d1779d07d5fc5b7af@fsn1-1.pbs-host.de:/backups/documents/
Here’s a breakdown of the rsync command:
-a
: Archive mode; preserves permissions, ownership, timestamps, etc.-v
: Verbose; increases the amount of information you see during the transfer.-z
: Compress data during the transfer.-e "ssh -i /path/to/private-key"
: Specifies the SSH command to use, including the path to your private key. Important: Replace/path/to/private-key
with the actual path.
This should get you started creating and managing your backups using rsync.
Do you require help?
Wether you have encountered a Bug, ran into a problem setting something up or require generall assistance using some of the features, we want to help you with that.
On our Discord-Server you can ask for help of any kind, suggest new ideas for our products or just hangout and chat!