Knowledgebase


Portal Home > Knowledgebase > Linux > Maintenance > How set up backups?


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.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Language: