Jump to content

Nightly Backup Script?


webgyrl

Recommended Posts

Hi all!

 

I was wondering if anyone here knows of a backup script that could be run on TCH shared servers that would allow me to backup a site and have that file sent to somewhere like Gmail or some other solution. I have one site that I really need to make sure I have a current backup file of and at the moment I really don't have time to do the backup manually all the time.

 

I also am not sure what the best solution is to send say a 100MB file to somewhere for safekeeping till I can download it to my local system? Does gmail allow for that big of a file? Or is there some other option?

 

Thanks for any help you can give!

Link to comment
Share on other sites

Thanks guys!

 

I will try that.

 

Is there a script that will back up the images and PHP and HTML, basically a public_html backup and send it somewhere?

 

Would this work for a Joomla! powered site as well?

Link to comment
Share on other sites

Not sure if there is a script/automatic backup solution for the whole home backup but but for a regular joomla site, the dbsender should work since its in the database all the info/content is stored.

 

The static files you probably already have somewhere on your local computer and should only be needed to be backed up when you change/update your theme or upgrading/patching the installation.

Link to comment
Share on other sites

Thomas,

 

Yes you are right! Since content is in the DB for a Joomla! site then that would work. And yes, all image files would be on a local drive.

 

I think this just might do the trick for a few sites I have.

 

I very much apprecaite the info!

 

:unsure:

Link to comment
Share on other sites

Oh and Thomas... I saw something about having to set up a CRON job. Do these work? I thought CRON jobs on servers were disabled some time ago.

 

Thanks!

Link to comment
Share on other sites

No, Cron jobs works well and needed for dbsender as I understand.

 

>/usr/bin/php -q /home/CPANELNAME/dbsender/dbsender.php

should do the trick. Dont forget to change CPANELNAME.

 

Also, when uploading dbsender.php, upload it to a folder called "dbsender" outside your public_html and set the permission of the folder to 770.

Link to comment
Share on other sites

Hi all,

this is my first post here.

I'm looking for this script too.

Basically, I'm not the owner of the site, but I'm delegated to create the backups for the databases.

I've created the script for the backup, but I got no telnet access to modify the crontab.

Can I modify the cron only via cPanel?

 

Thanks in advance.

 

Fabio

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...