Go Back   HostGator Peer Support Forums > General Discussion > Off-Topic

Notices

Reply
 
Thread Tools
  #1  
Old 12-13-2008, 03:33 AM
Keith W's Avatar
Keith W Keith W is offline
King Croc
 
Join Date: May 2007
Location: UK
Posts: 910
Exclamation Back Ups!

I have just done my weekly back ups.

Have you done yours yet?

If not, or you are not sure how to, then have a read of this excellent post by Gwyneth
__________________
Mouse potato - The online generations version of a couch potato
Reply With Quote
  #2  
Old 12-13-2008, 03:43 AM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: Back Ups!

Keith, that's so virtuous of you! Not just to make your backups, but reminding everybody else instead of being smug and self-satisfied. Enjoy your cocoa, you deserve it!

Everybody should remember: ANY backup is better than NO backup.

Last edited by gwyneth; 12-13-2008 at 03:47 AM.
Reply With Quote
  #3  
Old 12-13-2008, 06:58 AM
ghpk ghpk is offline
King Croc
 
Join Date: Nov 2006
Posts: 1,245
Default Re: Back Ups!

Thanks for reminding,
Reply With Quote
  #4  
Old 12-13-2008, 07:04 AM
christfirstforums's Avatar
christfirstforums christfirstforums is offline
Baby Croc
 
Join Date: Oct 2008
Posts: 63
Default Re: Back Ups!

I back up monthly for files, 2 or 3 times aweek for forum database
Reply With Quote
  #5  
Old 12-14-2008, 12:54 AM
amki's Avatar
amki amki is offline
Royal Croc
 
Join Date: Aug 2008
Location: New Orleans
Posts: 452
Default Re: Back Ups!

Quote:
Originally Posted by Keith W View Post
I have just done my weekly back ups.

Have you done yours yet?

If not, or you are not sure how to, then have a read of this excellent post by Gwyneth
I tried, but, as usual, anything I try to do goes wrong. I spent nearly all day, unsuccessfully, trying to get bq internet set up, only to discover when I went looking for help that, contrary to glowing reports in the two backup resource threads, bq internet may not be the best choice now. Everything I found in forum searches was either three months or three years old, and when I got to WHM, I discovered that the likes of me, i.e., newbies, aren't exactly welcome in the area where you generate an SSH key.

So, one more failure chalked up.

I gold star on your forehead for you, though, Keith.
__________________
Jo
Reply With Quote
  #6  
Old 12-14-2008, 01:06 AM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: Back Ups!

For your purposes, Jo, you're almost certainly fine by just going to cPanel and making a full backup every couple of weeks, and a database backup weekly. Note that HG support would need to restore a full backup.

Wordpress may also have a backup plugin, which would be useful for making sure that changed files got saved.
Reply With Quote
  #7  
Old 12-14-2008, 02:02 AM
striddy's Avatar
striddy striddy is offline
Veteran Croc
 
Join Date: Mar 2008
Location: /home/australia/earth
Posts: 4,085
Default Re: Back Ups!

Quote:
Originally Posted by gwyneth View Post
Wordpress may also have a backup plugin, which would be useful for making sure that changed files got saved.
Yes indeed. I use "WP-DB-Backup" from http://wordpress.org/extend/plugins/wp-db-backup/

This plugin automatically emails a backup of the wordpress database everyday to my gmail account. Please note, this plugin only backs up the database, not your other wordpress files.
__________________
- David
Reply With Quote
  #8  
Old 12-14-2008, 04:32 AM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: Back Ups!

With backups, it's important to realize that the enemy of the good is the great, as somebody once said about something else.

Better to connect via FTP, choose select all, start the download and go to bed than spend weeks stressing about crons and syncing--and meanwhile, not making backups of any kind.

It is probably almost as important for most people to have an organized method to find a pre-changed file when you do something you instantly regret...or wonder how did THAT happen. Keeping a "virgin version" can save hours of sleep, client or boss relationships, and marriages. The smaller the change, the more important this is (because small changes can be impossible to find)--just pop in the virgin version and go to sleep. Whatever it is can be fixed in the morning.

And the less organized you are in the real world, the more important it is to be systematic with your electrons.

With backups, on the other hand, you don't need to worry about being disorganized unless you overwrite and rotate them, which shouldn't be an issue these days for most of us. Any backup is better than no backup. A good backup is better than a bad backup, of course, but really--a bad backup is better than no backup.

Keith should have added one phrase to his terrific thread-starter: before you start reading the thread to which he linked, start the select all/download or cPanel full backup/download.
Reply With Quote
  #9  
Old 12-14-2008, 04:01 PM
amki's Avatar
amki amki is offline
Royal Croc
 
Join Date: Aug 2008
Location: New Orleans
Posts: 452
Default Re: Back Ups!

Quote:
Originally Posted by gwyneth View Post
For your purposes, Jo, you're almost certainly fine by just going to cPanel and making a full backup every couple of weeks, and a database backup weekly. Note that HG support would need to restore a full backup.

Wordpress may also have a backup plugin, which would be useful for making sure that changed files got saved.
Thank you, Gwyneth, for simplifying for me--again. (I can almost hear you saying, "I told her a long time ago that her relentless demands for perfection are keeping her from doing anything at all.")

Because this is becoming 'off-topic' for Off-Topic, I've started a new general thread, 'Backup Options Help.'
__________________
Jo
Reply With Quote
  #10  
Old 12-14-2008, 04:14 PM
amki's Avatar
amki amki is offline
Royal Croc
 
Join Date: Aug 2008
Location: New Orleans
Posts: 452
Default Re: Back Ups!

Quote:
Originally Posted by striddy View Post
Yes indeed. I use "WP-DB-Backup" from http://wordpress.org/extend/plugins/wp-db-backup/

This plugin automatically emails a backup of the wordpress database everyday to my gmail account. Please note, this plugin only backs up the database, not your other wordpress files.
I just downloaded that, David, but haven't installed it yet.

This is born of that other thread about upgrading to WP 2.7. I was going to do it, but only after backing up my site, and, naturally, I got bogged down with that.

Problems with plugins will arise either way: some won't work with 2.7, others will only work with it. I'm not plugin happy, but there are a couple that I want that aren't upgraded to 2.7. I feel sure that this isn't a new problem considering the frequency of upgrades, so I hope we'll get some comments about how others handle it--but not here, on the new thread as above (where it's almost off-topic, but certainly fits in about always backing up before changing things.)

Thanks for pointing me to the plugin.
__________________
Jo
Reply With Quote
  #11  
Old 12-14-2008, 04:33 PM
amki's Avatar
amki amki is offline
Royal Croc
 
Join Date: Aug 2008
Location: New Orleans
Posts: 452
Default Re: Back Ups!

Quote:
Better to connect via FTP, choose select all, start the download and go to bed than spend weeks stressing about crons and syncing--and meanwhile, not making backups of any kind.
Why do I always see that advice is good but can't interpret it, as above? 'connect via FTP' - to what? FTP on my end or in cpanel? 'choose select all' - all of what? And that's just for starters, but I won't continue here because discussion belongs in the new topic.

After spending all day yesterday in a futile attempt to do a backup, I promised myself that today I would wash the dishes, do the laundry, water the poor drought-stricken garden, etc., and here I am at almost 11:30 a.m. knee deep in it again.

The time difference between the US and NZ complicates things because if I want answers during my today, I have to do my posting and answering on US time.

Nevertheless, I am going to do some of those chores now, and if nothing gets resolved about backing up today, at least something will get resolved about a sinkful of dirty dishes.

Till later,
__________________
Jo
Reply With Quote
  #12  
Old 12-14-2008, 06:22 PM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: Back Ups!

Connect to your site using FTP program.
In pane for local PC have destination directory open.
In pane for server have either top-level directory or public_html open.
In pane for server choose select all.
Transfer to local PC.
Reply With Quote
  #13  
Old 03-18-2010, 07:20 PM
Canadian Canadian is offline
Hatchling Croc
 
Join Date: Sep 2007
Posts: 7
Default Re: Back Ups!

I have to back up through the admin panel on my forum as doing it at cpanel I only get a 20 byte back up.
Reply With Quote
  #14  
Old 03-18-2010, 09:35 PM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: Back Ups!

Quote:
Originally Posted by Canadian View Post
I have to back up through the admin panel on my forum as doing it at cpanel I only get a 20 byte back up.
20 bytes sounds as if it's just the name and an empty file. Something is wrong somewhere.
Reply With Quote
  #15  
Old 03-22-2010, 11:34 AM
christfirstforums's Avatar
christfirstforums christfirstforums is offline
Baby Croc
 
Join Date: Oct 2008
Posts: 63
Default Re: Back Ups!

Quote:
Originally Posted by christfirstforums View Post
I back up monthly for files, 2 or 3 times aweek for forum database
whoa so long ago, now i back up daily and sometimes 3 times aday
__________________
Christ First Forums and RPG ~ Christian Community Forum
Christian Webmasters Union ~ Webmaster Forums
Reply With Quote
  #16  
Old 03-23-2010, 05:42 AM
gateway7's Avatar
gateway7 gateway7 is offline
Hatchling Croc
 
Join Date: Jan 2010
Location: Skopje, Macedonia
Posts: 40
Default Re: Back Ups!

I always backup, but I always forget to download the backup as well.
Reply With Quote
  #17  
Old 03-23-2010, 11:38 PM
Canadian Canadian is offline
Hatchling Croc
 
Join Date: Sep 2007
Posts: 7
Default Re: Back Ups!

Quote:
20 bytes sounds as if it's just the name and an empty file. Something is wrong somewhere
Any suggestions? At one time It used to be normal then it stopped.
Reply With Quote
  #18  
Old 03-24-2010, 12:11 AM
Abomination Abomination is offline
Baby Croc
 
Join Date: Sep 2008
Posts: 65
Default Re: Back Ups!

Quote:
Originally Posted by Canadian View Post
I have to back up through the admin panel on my forum as doing it at cpanel I only get a 20 byte back up.
Quote:
Originally Posted by Canadian View Post
Any suggestions? At one time It used to be normal then it stopped.
There are PHP time outs that can cause issues. Using this method you will not have those issues.

Using PuTTy and Jailed shell access:
Backup: mysqldump --opt -Q -u dbusername -p databasename > backupname.sql

Restore: mysql -u dbusername -p databasename < backupname.sql

I "just played with it" until I was sure of how it worked, by backing up and restoring several times.


Then we set up a CRON job and have that backup command running 2x / day for a weeks worth of rotating backups (8 database backups total, 7 days at midnight + 1 noon copy).

Last edited by Abomination; 03-24-2010 at 12:13 AM.
Reply With Quote
  #19  
Old 03-24-2010, 12:37 AM
Abomination Abomination is offline
Baby Croc
 
Join Date: Sep 2008
Posts: 65
Default Re: Back Ups!

Apparently posts cannot be edited after a very short time. So, new post.

That method worked for us very reliably even when our database was well over 450MB.

Best of luck to you Canadian.
Reply With Quote
  #20  
Old 03-24-2010, 09:00 AM
Canadian Canadian is offline
Hatchling Croc
 
Join Date: Sep 2007
Posts: 7
Default Re: Back Ups!

Thanks I will give it a try.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm Back! gomp Customer Reviews 1 02-25-2008 10:58 PM
Back-ups Hopeful Pre-Sales Questions 5 05-02-2005 04:17 PM

All times are GMT -5. The time now is 05:23 AM.