How to install Snel Cloud Backup agent on Linux

Estimated reading time: 1 min

Learn how to install Snel Cloud Backup agent on Linux server

In this article, we will explain how you can install the Snel Cloud Backup agent on your Linux Server

Prerequisites

Step 2: Download Agent

Download the backup agent

mkdir -p /tmp/backupsnelcom
cd /tmp/backupsnelcom/
wget --content-disposition --post-data 'SelfAddress=https%3A%2F%2Fbackup.snel.com%2F&Platform=7' 'https://backup.snel.com/api/v1/admin/branding/generate-client/by-platform' -P /tmp/backupsnelcom/
chmod +x Snel_Cloud_Backup-*.run

Step 3: Install Agent

Replace the quotes with your username and password

Execute the commands below to install the backup agent

USERNAME='[username from backup.snel.com]'
PASSWORD='[password from backup.snel.com]'
( echo $USERNAME ; echo $PASSWORD ; ) | ./Snel_Cloud_Backup-*.run

Optional: Multi-factor authentication

When multi-factor authentication is enabled, you need to enter the OTP code during registration

/opt/SnelCloudBackup/backup-tool login prompt

Step 4: Startup script

Create startup script via systemd

cat <<'EOF'> /etc/systemd/system/backupsnelcom.service
[Unit]
Description=Backup.snel.com Client
After=network-online.target

[Service]
Type=simple
RemainAfterExit=true
KillMode=process
User=root
ExecStart=/opt/SnelCloudBackup/backup-daemon-start.sh

[Install]
WantedBy=multi-user.target
EOF

killall -9 /opt/SnelCloudBackup/backup-tool
systemctl daemon-reload
systemctl enable backupsnelcom.service
systemctl start backupsnelcom.service

 

Enable and start the script

killall -9 /opt/Snel.comBackups/backup-tool
systemctl daemon-reload
systemctl enable backupsnelcom.service
systemctl start backupsnelcom.service

Step 5: Cleanup

Remove the installation file

cd
rm -rf /tmp/backupsnelcom

Conclusion

In this article, we described how you can install the Linux backup agent of Snel Cloud Backup.

Was this article helpful?
Dislike 0
Views: 6

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *

snel-knowledgebase