Backups

From Antiflux Wiki

Revision as of 15:00, 25 April 2009 by Tim (Talk | contribs)
Jump to: navigation, search

We use rsnapshot to backup okcomputer three times a day. If you ever accidentally delete or change a file and want the original file back, just grab the latest snapshot from /backup/snapshots/ where you'll see a set of directories like this.

  • weekly.3
  • weekly.2
  • weekly.1
  • weekly.0
  • daily.6
  • daily.5
  • daily.4
  • daily.3
  • daily.2
  • daily.1
  • daily.0
  • hourly.2
  • hourly.1
  • hourly.0

The "hourly" directories contain the latest snapshots, from the backups we run 3 times per day. They get rotated out to the "daily" directories at the end of the day, which in turn get rotated out to the "weekly" directories at the end of the week. Chances are you just want to look in hourly.0 where you'll find a copy of okcomputer's whole directory tree. If your home directory is /home/username, check /backup/snapshots/hourly.0/home/username for any files you want to restore back to your home directory. If you want older versions, check the hourly.1, hourly.2, daily.0, etc. directories in order.

Personal tools