Opened 17 months ago

Last modified 17 months ago

#111 new defect

Backups to Webarchitects server

Reported by: chris Owned by: chris
Priority: major Milestone: Maintenance
Component: backups Version:
Keywords: Cc:
Estimated Number of Hours: 0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0.75

Description

This is a ticket to setup backups to store1.webarch.net on.

Change History (2)

comment:1 Changed 17 months ago by chris

  • Add Hours to Ticket changed from 0 to 0.6
  • Total Hours set to 0.6

A crin account has been created on store1.webarch.net and the root ssh public keys have been copied over and the following has been added to /root/.ssh/config and the connections have been tested:

Host backup
  User crin
  Hostname store1.webarch.net

this script has been installed on each server and a list of directories to backup has been created:

sudo -i
cd /usr/local/bin
wget https://svn.webarch.net/scripts/usr/local/bin/agile-backup
chmod 755 agile-backup
mkdir /etc/agile/
vi /etc/agile/backup

And the directories to backup on Crin1:

/etc
/root
/home
/var/www
/var/backups/mysql/databases

And the crontab:

30 01 * * * /usr/local/bin/agile-backup

And on Crin2 the directories:

/etc
/root
/home
/var/www

And the cronjob:

30 02 * * * /usr/local/bin/agile-backup

And on Crin4 the directories:

/etc
/root
/home
/var/www

And on Crin3 the directories:

/root
/usr/local/bin

I have setoff the initial backup in screen on each server and they are all rsyncing now.

comment:2 Changed 17 months ago by chris

  • Add Hours to Ticket changed from 0 to 0.15
  • Total Hours changed from 0.6 to 0.75

I just checked and the initial backups are still running on all three servers.

Note: See TracTickets for help on using tickets.