Ticket #15 (new task)

Opened 6 years ago

Last modified 5 years ago

(180) Automate Trac site backup

Reported by: cdietric Owned by: cdietric
Priority: major Milestone: Infrastructure
Component: other Version:
Keywords: Cc:

Description


Change History

Changed 6 years ago by balister

  • owner changed from cdietric to balister
  • status changed from new to assigned

I have a script that dumps trac and copies it to my house. Before ticket can close, need to copy it elsewhere and get it running in crontab. Need to set up some ssh keys for autologin somewhere to do this.

#!/bin/sh

cd

sudo trac-admin /srv/trac/ossie hotcopy ./trac-backup

rsync -avz ./trac-backup www.balister.org:pippin/ossie-backup

sudo rm -rf ./trac-backup

Changed 6 years ago by bhilburn

Should we be relying on your personal machines for backup? There must be another location we can back up to. I feel like using the ECE computing cluster would be better than your personal machine.

Changed 6 years ago by balister

I agree this is not optimal.

I don't keep up with my account on the cluster. Do they even back up user accounts on it?

Changed 5 years ago by bhilburn

My understanding is that there is now a cron'd backup of trac. Can we close this ticket?

Changed 5 years ago by balister

I running it when I remember. To cron it, I would need to leave a copy of my private key on ossie.wireless.vt.edu, which I won't do because so many people have root access.

Anyway, it should not be stored on my machine.

Changed 5 years ago by shereef

  • component changed from ossiecf to tools

Changed 5 years ago by cdietric

  • owner changed from balister to cdietric
  • status changed from assigned to new

Changed 5 years ago by bhilburn

The recent meeting minutes seem to imply that the server now syncs with a backup hdd every half hour. Can we close this ticket now?

Changed 5 years ago by anonymous

  • milestone Improved Backup deleted

Milestone Improved Backup deleted

Changed 5 years ago by bhilburn

  • component changed from tools to other
  • milestone set to Infrastructure
Note: See TracTickets for help on using tickets.