How do I set up backups?


Note: Limestone is not responsible for incomplete backups. This article is only to help people seeking guidance on setting up routine backups.


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

First, get the system ready

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

Second, create the files to perform the backup

Running the following commands will create it all for you:

wget -o /usr/bin/backup.sh http://mirror.limestonenetworks.com/extras/linuxcron/backup.sh;
chmod +x /usr/bin/backup.sh;
ln -s /usr/bin/backup.sh /etc/cron.daily/backups

Third, configure it

In the file /usr/bin/backup.sh locate:

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

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


Comments

blog comments powered by Disqus