Backups

From Antiflux Wiki

(Difference between revisions)
Jump to: navigation, search
Current revision (16:09, 28 July 2009) (edit) (undo)
(remove hourly interval information because we backup once per day now)
 
Line 1: Line 1:
We use [http://www.rsnapshot.org/ rsnapshot] to backup okcomputer. If you ever accidentally delete or change a file and want the original file back, go to /backup/snapshots/ where you'll see a set of directories like this.
We use [http://www.rsnapshot.org/ rsnapshot] to backup okcomputer. If you ever accidentally delete or change a file and want the original file back, go to /backup/snapshots/ where you'll see a set of directories like this.
 +
* monthly.2
 +
* monthly.1
 +
* monthly.0
* weekly.3
* weekly.3
* weekly.2
* weekly.2
Line 11: Line 14:
* daily.1
* daily.1
* daily.0
* 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.
+
The "daily" directories contain the latest snapshots, from the backup we run every morning. They get rotated out to the "weekly" directories at the end of the week, which in turn get rotated out to the "monthly" directories at the end of the month. Chances are you just want to look in daily.0 where you'll find a copy of okcomputer's whole directory tree. If your home directory is /home/username, check /backup/snapshots/daily.0/home/username for any files you want to restore back to your home directory. If you want older versions, check the daily.1, daily.2, ..., weekly.0, ..., monthly.0, etc. directories in order.
You can't delete files from /backup/snapshots, only copy them to restore.
You can't delete files from /backup/snapshots, only copy them to restore.
[[Category:Services]]
[[Category:Services]]

Current revision

We use rsnapshot to backup okcomputer. If you ever accidentally delete or change a file and want the original file back, go to /backup/snapshots/ where you'll see a set of directories like this.

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

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

You can't delete files from /backup/snapshots, only copy them to restore.

Personal tools