How set up backups?

 

Note: Rackbank is not responsible for incomplete or currupt backups. This article is only to help client seeking guidance on setting up routine backups.


Backing up files to your Rackbank server is really easy. This article is designed around CentOS and Fedora, but it can be adjusted to work for just about any linux distribution.


1) Get the system ready

You will need to mount the NAS to your system before proceeding.


2) Create the files to perform the backup

Running the following commands will create it all for you:

wget -o /usr/bin/rbdcbackup.sh wget www.rackbank.com/mirror/rbdcbackup.sh;
chmod +x /usr/bin/rbdcbackup.sh;
ln -s /usr/bin/rbdcbackup.sh /etc/cron.daily/backups

3) Configuration

In the file /usr/bin/rbdcbackup.sh

locate:

 #Change the 5 variables below to fit your server/backup

After modifying those variables, save the file and you’re done.

Radhe

Radhe Dhakad is Support Executive and Network Admin at RackBank Datacenters Pvt. Ltd.. He is our curious techie who loves experimenting on servers and likes to pen down whatever he explores new on server technology!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© Copyright 2013-2021 RackBank© Datacenters Pvt. Ltd.


Data Center in India

Rated 4.7/5 based on 31 reviews at Google+