From 3a310a0cbca91bccee2e3a058a1a2ee91dcbee92 Mon Sep 17 00:00:00 2001 From: Adam Williams Date: Fri, 25 Jul 2014 12:38:17 +0200 Subject: [PATCH] Updates README.md escaping backtick in commands --- ec2-automate-backup/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ec2-automate-backup/README.md b/ec2-automate-backup/README.md index 2560490..f47b942 100644 --- a/ec2-automate-backup/README.md +++ b/ec2-automate-backup/README.md @@ -2,8 +2,8 @@ ec2-automate-backup was created to provide easy backup/snapshot functionality for multiple EC2 EBS volumes. Common uses would include the following: * run ec2-automate-backup with a list of volumes for which a snapshot is desired (example: `ec2-automate-backup.sh -v "vol-6d6a0527 vol-636a0112"`) * run ec2-automate-backup with a list of volumes for which a snapshot is desired and allow the created snapshots to be deleted after 31 days (example: `ec2-automate-backup.sh -v "vol-6d6a0527 vol-636a0112" -k 31`) -* run ec2-automate-backup using cron to produce a daily backup (example: `"0 0 * * 0 ec2-user /home/ec2-user/ec2-automate-backup.sh -v "vol-6d6a0527 vol-636a0112" > /home/ec2-user/ec2-automate-backup_`date +"%Y%m%d"`.log"`) -* run ec2-automate-backup to snapshot all EBS volumes that contain the tag "Backup=true" (example: `"0 0 * * 0 ec2-user /home/ec2-user/ec2-automate-backup.sh -s tag -t "Backup=true" > /home/ec2-user/ec2-automate-backup_`date +"%Y%m%d"`.log"`) +* run ec2-automate-backup using cron to produce a daily backup (example: ``"0 0 * * 0 ec2-user /home/ec2-user/ec2-automate-backup.sh -v "vol-6d6a0527 vol-636a0112" > /home/ec2-user/ec2-automate-backup_`date +"%Y%m%d"`.log"``) +* run ec2-automate-backup to snapshot all EBS volumes that contain the tag "Backup=true" (example: ``"0 0 * * 0 ec2-user /home/ec2-user/ec2-automate-backup.sh -s tag -t "Backup=true" > /home/ec2-user/ec2-automate-backup_`date +"%Y%m%d"`.log"``) # Installation Instructions: ### for ec2-automate-backup-awscli.sh (Recommended)