Computer Plumber
  • About
  • Services
  • Contact
  • Policies
  • Simple Bash Automation for EC2 Instance Backups using Cron on a Mac Mini

    The problem that needed to be solved was to have a simple backup system that could be used to maintain a bunch of EBS backed Windows instances on AWS. We wanted to keep a weeks worth of backups, always discarding the older AMI’s. A local mac mini was used to run the necessary scripts and cron. We didn’t want just EBS snapshots, we wanted a full AMI everyday. There are other solutions if you just want to backup an EBS drive on a schedule, and even for this but this one suits our needs.

    Read the rest of this entry »

    Share
    9 comments Amazon, AWS, backup, EC2, scripts
  • Simple Postgresql Cron Backup

    Here is a very simple method to backup your postgresql DB using a cron job and the pg_dump command. The main problem people encounter when trying to automate the pg_dump command is the password input. Now you could easily create a local user with no password, but why would you want to do that.




    Read the rest of this entry »

    Share
    1 comment backup, Databases, Linux, Postgresql, scripts, Ubuntu

Pages

  • About
  • Contact
  • Policies
  • Services

Categories

  • Amazon (13)
  • Databases (11)
  • Linux (48)
  • Mac (35)
  • Rails (13)
  • Virtual (8)
  • Web (33)
  • Windows (35)
  • follow me on Twitter

 

Computer Plumber | Computer Service Excellence