Skip to content

Instantly share code, notes, and snippets.

@maxivak
Last active October 19, 2017 08:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxivak/58c25a55b78b35f0bf2655b0f4140510 to your computer and use it in GitHub Desktop.
Save maxivak/58c25a55b78b35f0bf2655b0f4140510 to your computer and use it in GitHub Desktop.
Backups

Backups

Backup strategy

Storage

Store backups

  • Local disk
  • Remote storage - copy by scp
  • Remote storage - sync using Rsync
  • Cloud storage (like amazon S3)

Tools

  • rsync - synchronize files on the remote server with local server.

  • gem backup - can backup files, databases and store locally, on the remote server or S3. Note: Backup needs to be running on the server on which the backup is being made.

  • gem - backup folders,MySQL DBs and store them in local folder or S3 bucket.

Backup Rails application

see Backup Rails application with backup, whenever and capistrano.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment