# Get started

Weap.io allows you to backup your server files to an external storage of your choice (`AWS S3`, `Wasabi`, `DigitalOcean Spaces` and `Backblaze B2`).

{% hint style="success" %}
Our Server files backup solution comes with a default storage of up to 250GB. That's in case you don't want to bring your own storage.
{% endhint %}

Thanks to the intuitive user interface, getting started with your first backup for your server files is simple and fast.

### 1. Open Weap.io dashboard

Open your Weap.io dashboard and click on the `File Backups` menu button. On the page just opened, click the button `Schedule new backup`.

![](https://3208313484-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFo23y3kKRLVuJ9Nhx_%2F-MKzq9C-hQR0dwcSIkbZ%2F-MKzrBJtwLw_aGEv1vo3%2Fimage.png?alt=media\&token=d36093cd-951b-49ee-951e-da8515b5a0f2)

### 2. Add a new server

{% hint style="info" %}
If your server was already added previously, you can skip this step by clicking "Choose an existent server".
{% endhint %}

Weap.io needs to be able to connect via SSH to the server you want to backup. in order to connect, provide the following details:

* `Friendly name`: a friendly name that will help you recognize the server later
* `Server user`: the user that Weap.io will use to SSH into the server. It can be `root` or one specially created for Weap. If you need help creating a new user, check this guide.
* `Server IP or hostname`: the IP or hostname of the server.
* `Server port`: The SSH port of the server. The default one is 22.

After filling the details, click the button `Next`.

![](https://3208313484-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFo23y3kKRLVuJ9Nhx_%2F-MKzq9C-hQR0dwcSIkbZ%2F-MKzrlYJT-vIQbZaNHL6%2Fimage.png?alt=media\&token=748e0e39-625f-477d-a5dc-4f747d40cb9a)

### 3. Add the SSH key to the server

{% hint style="info" %}
This step will appear only when adding a new server. It will not be visible when choosing and existent server with a working SSH connection.
{% endhint %}

Weap.io generated a new SSH key for your server. The key must be added to your `authorized_keys` file. All the required instructions are already displayed during the setup process.

![](https://3208313484-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFo23y3kKRLVuJ9Nhx_%2F-MKzq9C-hQR0dwcSIkbZ%2F-MKzsIN5zaPAQoafgF9A%2Fimage.png?alt=media\&token=773b45df-478a-4c49-9c85-f9ed732e720e)

### 4. Choose the files to backup

Now it's time to give an intuitive name to your backup schedule. In our example it was named `my-files`.

The next two things to configure are the paths of the files you want to include in the backups and the ones you want to exclude (if any).&#x20;

In our example, all the files under the paths `/var/lib` and `/media` will be included. Because the directory `/var/lib/not-important-directory` was added to the excluded paths, it will not be part of the backup.

{% hint style="info" %}
It's mandatory to use absolute paths.
{% endhint %}

When done, click the button `Create`.

![](https://3208313484-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFo23y3kKRLVuJ9Nhx_%2F-MKzq9C-hQR0dwcSIkbZ%2F-MKzv5vWnQoJcOvq2Am_%2Fimage.png?alt=media\&token=3213033f-62ac-4382-b323-2af7afb4a4b1)

### 6. Conclusion

Congratulations! Your server file are now automatically backed-up using the default retention policy of the server and stored on your default storage location (the one provided by Weap if you didn't change it).&#x20;

Feel free to change the retention & frequency as needed.

![](https://3208313484-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFo23y3kKRLVuJ9Nhx_%2F-MKzq9C-hQR0dwcSIkbZ%2F-MKzwloyENBQIS1W1vjB%2Fimage.png?alt=media\&token=6c7923a1-cfd2-45f0-9dc3-16180613356e)
