Web Hosting Forum | Lunarpages
News: April 3, 2008 - New Contest! - Win 5 Years of Hosting and $1,000!
May 5, 2008 - May 08 Web Site of the Month? - Submit your LINKS!!!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 16, 2008, 07:04:39 PM


Login with username, password and session length


Pages: 1 ... 5 6 [7]   Go Down
  Print  
Author Topic: Site and MySQL backups via cron  (Read 27780 times)
Chelle
Intergalactic Superstar
*****
Offline Offline

Posts: 170



WWW
« Reply #90 on: November 29, 2007, 08:47:53 AM »

Been using the Backup and send via email for a while.  Suddenly for one of my domains, I'm not getting the email anymore, not since the 21st.  Checked into a few things and if I delete the last line where it deletes the file from the server, that works fine, my backup is in the folder where I designate it. 

Any ideas on what would cause the email to not send so I know where to look and trace the issue?
Logged

"The axe forgets.  The tree remembers" -African Proverb

"My eccentricity has nothing to do with my stablization" -Chelle
capslock
Newbie
*
Offline Offline

Posts: 2


« Reply #91 on: December 07, 2007, 12:09:53 AM »

usefull,3ks
Logged
jlehmer
Newbie
*
Offline Offline

Posts: 1


« Reply #92 on: December 26, 2007, 08:31:06 AM »

I'm trying to use the db backup script that emails the zip file.  Everything is working fine except when I receive the email the file that is attached is empty, 0K.  I can see on the file system the file has been created and has a size of 136K, so I wouldn't expect the file size to hitting an attachment limit.

I show in one of the reply posts to change the content type value to "application/x-gzip" that didn't seem to make a difference.  Could there be something wrong with this command:

$data = chunk_split(base64_encode(implode("", file($filename))));

Any help you can provide is appreciated.
Logged
chunkyq
Newbie
*
Offline Offline

Posts: 1


« Reply #93 on: February 06, 2008, 12:29:23 AM »

Is there a simple tweak for one of scanman's scripts that will allow me to zip just one subdirectory in my public_html directory and have it emailed to me?

I'm not talking about database backups ... have that working already courtesy of scanman.  Smiling

Most of my site is static so I don't need to / want to back all of it up repeatedly via ftp over my slow connection ... i just want to send copies of the folders with changing information to my email.

I know this is similar to the post from mefromla but i didn't see a reply and i'm also curious about the emailing part.

many thanks!
Logged
Jason2
Intergalactic Superstar
*****
Offline Offline

Posts: 157


« Reply #94 on: February 10, 2008, 12:37:10 PM »

I'm not receiving the backups for some reason, here's what I have set up. I have  chosen the script 'Have it FTPed to you' .... made a 'backup.php' file, copied the script in there, uploaded it too, /public_html/backup.php

Then here's the cron job I have set-up:

/home/theco55/public_html/backup.php  ............. I have it set at 4=4am ... every two days ... but it's been a few days, and I haven't received it yet. Anyone got any ideas why?

Regards Jason
Logged
scanman20
Master Jedi
*****
Offline Offline

Posts: 1157



WWW
« Reply #95 on: February 15, 2008, 04:34:46 PM »

If your cron job is truly /home/theco55/public_html/backup.php then you're missing the php command in front of it.
Logged

Even a broken clock is right twice a day.
NotOneBit.com
MCSE - MCSA - MCP
gta
Newbie
*
Offline Offline

Posts: 1


« Reply #96 on: April 24, 2008, 03:35:10 PM »

so does anyone have the proper one that works and can post for free here please with instuctions and codes
Logged
scanman20
Master Jedi
*****
Offline Offline

Posts: 1157



WWW
« Reply #97 on: April 25, 2008, 06:17:20 AM »

Proper one? That works? For free? Instructions and codes?

Did you even read this thread? Start at the beginning. The code is free, works, and is spelled out for you.
Logged

Even a broken clock is right twice a day.
NotOneBit.com
MCSE - MCSA - MCP
officexpboy
Intergalactic Cowboy
*****
Offline Offline

Posts: 63


To succeed in your mission, you must have single-minded devotion to your goal


« Reply #98 on: May 06, 2008, 10:14:28 PM »

How to do remote connection to MySQL from client??

For example i've application where have database at local/client side where i am saving my data.
And then i've to upload all this data on server Mysql (lunar pages) where i will use it on my web application.


I m trying like -

1. mysqldump of local database
2. upload it to server using FTP
3. restore it on server mysql database using mysql comand.


Please guide me.


Thanks ,
Logged

To succeed in your mission, you must have single-minded devotion to your goal
Pages: 1 ... 5 6 [7]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM