View Full Version : Daily Backup Cron Job
tstern
06-29-2004, 08:57 AM
Hi y'all-
I have a question for our panel of experts.
I'm wondering if something like this would be possible via a cron job (or a script called by a cron job):
1. Create a full backup of my domains
2. Email it to an email address
3. Then delete it
Any ideas? At all possible?
Thanks
toby
thevillageinn
06-30-2004, 02:17 AM
I'm not sure if your backup file is large, but if it is, do you have an e-mail address which will accept it?
tstern
07-02-2004, 12:13 PM
it is large, but i'd use a gmail account...
thevillageinn
07-02-2004, 10:31 PM
do you have an inside track to getting a gmail account?
also, aren't there sometimes limits to the attachment size set in the mailer daemon?
gmail has a 10mb file attachment size limit as I recall.
eugene
07-04-2004, 12:18 AM
Two better approaches:
1. Create the backup and then FTP it to another server
2. Create the backup file and have your backup machine pull the file down
In general, avoid email. Aren't email attachments still encoded, thus increase size?
Here's a script to use Gmail as an online backup system (http://ilia.ws/archives/15_Gmail_as_an_online_backup_system.html).
VERY interesting concept!
Thanks for that link
Lew_Cipher
08-28-2004, 10:15 PM
Originally posted by tstern@Jun 29 2004, 07:57 AM
I'm wondering if something like this would be possible via a cron job (or a script called by a cron job):
1. Create a full backup of my domains
2. Email it to an email address
3. Then delete it
Any ideas? At all possible?
Toby's question was never really answered. It's the same question I have. I do have an e-mail account that will allow this so... can it be done just as Toby asked?
Thanks in advance!!
eugene
08-28-2004, 11:20 PM
Yes, it is possible, but, as you might imagine, it could prove to be very resource intensive and hurt other people on the box. Perhaps a delta or incremental backup would be better.
Powered by vBulletin™ Version 4.0.3 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.