Skip to content

Instruction for ec2-automate-backup on Ubuntu 14 server #129

@jgardezi

Description

@jgardezi

Hi,

I am having issues running ec2-automate-backup.sh as cron Job on Ubuntu 14 server. When I run a command
/home/backup-agent/scripts/ec2-automate-backup.sh -s tag -t Backup,Values=true -k 31 -r ap-southeast-2 on terminal it works fine and I can see it also creates snapshots.

The issue is when I try run this as a cron job it does not work. This is my cron command and I am trying to run it on 11pm every day. I have used crontab -e to schedule the cron job.
00 23 * * * /home/backup-agent/scripts/ec2-automate-backup.sh -s tag -t Backup,Values=true -k 31 -r ap-southeast-2

Please let me know what is going on or any steps I am missing i.e. cron-primer.sh?

Kind regards,
Javed Gardezi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions