Can someone help me how can I made when backup is done to send me email?
I'm using bash for first time and I'm not sure what I doing.
We have made the script to take the backup of server locally and on S3 Amazon..I am checking this backup manually. I need the script which calculate the size of the .tar.gz.
It means the scripts need to send me the notification that Backup on S3 for date so and so has been complateted and the size of the backup file is 3 GB..like this
I am using below script at the end of the my orignal script .
Can you please help me?
1. How to calcualte the size of the backup file on s3?
2. Send notification also
Last edited by Don Cragun; 01-20-2015 at 03:54 AM..
Reason: Add CODE tags again.
Can someone help me how can I made when backup is done to send me email?
I'm using bash for first time and I'm not sure what I doing.
We have made the script to take the backup of server locally and on S3 Amazon..I am checking this backup manually. I need the script which calculate the size of the .tar.gz.
It means the scripts need to send me the notification that Backup on S3 for date so and so has been complateted and the size of the backup file is 3 GB..like this
I am using below script at the end of the my orignal script .
Can you please help me?
1. How to calcualte the size of the backup file on s3?
2. Send notification also
The Server variable is not defined in this script, and there doesn't seem to be a file named Path, so there isn't likely to be any output written to standard output from the command:
but a diagnostic message similar to:
is likely to be written to the standard error output.
If you want the size of the file named by the expansion of $DATE.tar.gz , you probably want something more like:
assuming that ls -l on your system prints the file's size as the 5th field (as specified by the standard).
Hi Everyone,
we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment?
Thanks in adv. (0 Replies)
Tim Bass
11-25-2008 01:02 PM
Just as I was starting to worry that complex event processing community has been captured by RDBMS pirates off the coast of Somalia, I rediscovered a new core blackboard architecture component, Hadoop.
Hadoop is a framework for building applications on large... (0 Replies)