Getting started
In this section you will learn how to get started using Resiliate on your system!
Native windows support is coming soon, meanwhile you can use Samba to export Resiliate protected partition to your Windows Network. Since all the protection is built into the file system you don't need any agents on your Microsoft Windows® end-points, and still get protection of any data stored on the Resiliate partition.
Installation
Ubuntu 22.04 LTS Server
-
Import the GPG key: Start by importing the GPG key for the saf.ai repository. Execute the following command:
curl -fsSL https://get.saf.ai/gpg | sudo gpg --dearmor -o /usr/share/keyrings/saf.ai.gpg
This command downloads the GPG key, dearmors it, and saves it to your system's list of trusted keys.
-
Add the repository: Now, add the saf.ai repository to your system's list of software sources. Use the following command:
curl -fsSL https://get.saf.ai/apt/ubuntu/list | sudo tee /etc/apt/sources.list.d/saf.ai.list
This command downloads the repository's list file and saves it in the
/etc/apt/sources.list.d
directory. -
Create the auth.conf file: The
auth.conf
file stores HTTP Basic authentication credentials for private repositories.Create it using the following command:
sudo nano /etc/apt/auth.conf
This command opens the
auth.conf
file in the nano text editor. If the file doesn't exist, it will be created. -
Add the credentials: In the
auth.conf
file, add the following lines:machine get.saf.ai login demo password <password>
Replace
<password>
with the actual password provided to by saf.ai.Save and close the file by pressing
Ctrl+X
, thenY
, thenEnter
. -
Set the permissions: The
auth.conf
file should be owned by root and should have 0600 permissions to keep the credentials secure. Set these permissions with the following command:sudo chmod 600 /etc/apt/auth.conf
-
Update your package lists: After setting up the
auth.conf
file, update your package lists to include the new packages from the saf.ai repository:sudo apt update
-
Install Resiliate: Finally, install Resiliate with the following command:
sudo apt install resiliate
Remember to run these commands in a terminal window. If you encounter any issues, make sure you have the necessary permissions to execute these commands.
Initialization
Initialize a store on a new partition and mount this store to a location for the file system to run on.
export AIFS_PARTITION=/dev/sdb1 AIFS_MOUNTDIR=/srv/aifs
sudo aifs mkfs ${AIFS_PARTITION}
sudo mkdir -p ${AIFS_MOUNTDIR}
sudo aifs mount ${AIFS_PARTITION} ${AIFS_MOUNTDIR}
You can now use /srv/aifs
for your storage needs.
Your new Resiliate filesystem is now ready to test.
Now let's create, destroy, rectify, and analyze!