Welcome, Guest. Please login or register.

ShoutBox!

Scrubmeister

2024-04-19, 10:32:40
Good to see the site back faster than ever. :)
 

Skhilled

2024-04-18, 21:09:09
I've upgraded the server...more resources. ;)
 

Ken

2024-04-18, 20:57:10
Now that you mention it...  :D
 

Skhilled

2024-04-18, 20:47:19
...and, you should notice that the site is much faster.  :o
 

Ken

2024-04-18, 20:31:37
Hey Steve.
 

Skhilled

2024-04-18, 17:56:10
Re-read the message below...
 

Skhilled

2024-03-31, 15:22:06
Oh yeah, you need to upgrade the site first...
 

Ken

2024-03-30, 09:54:54
Whoops! I forgot that the SMF install here on OFF is out of date!  :'(
 

Ken

2024-03-30, 09:44:48
 Conga-Rats Steve!  :thumbup:
Me gonna install it here just for the fun of it!  :)
 

Skhilled

2024-03-29, 22:15:23
Released!  :D

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: Cron Job Backups + MySQLDumper  (Read 2530 times)

0 Members and 1 Guest are viewing this topic.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11682
  • Gender: Male
  • View Gallery
Cron Job Backups + MySQLDumper
« on: February 20, 2014, 07:58:38 AM »
Trying to set up a daily backup using a Cron Job... here's my current command:
Code: [Select]
/home/ourfamil/daily.sh
« Last Edit: February 25, 2014, 04:59:52 PM by Ken »
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11682
  • Gender: Male
  • View Gallery
Re: Cron Job Backups
« Reply #1 on: February 20, 2014, 08:00:49 AM »
That didn't work!  :o

Gave me this error:
Code: [Select]
/usr/local/cpanel/bin/jailshell: /home/ourfamil/daily.sh: No such file or directory
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Online Skhilled

  • Administrator
  • *
  • Posts: 9032
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Cron Job Backups
« Reply #2 on: February 20, 2014, 08:12:39 AM »
I cannot see that file...then again my FTP account only starts at /public_html. That file should be before it in the /home/ourfamil folder...

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11682
  • Gender: Male
  • View Gallery
Re: Cron Job Backups
« Reply #3 on: February 20, 2014, 08:45:06 AM »
I'll see if your access can be changed.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11682
  • Gender: Male
  • View Gallery
Re: Cron Job Backups
« Reply #4 on: February 20, 2014, 08:53:43 AM »
Looks like I'll have to delete the account and make a new one for you.  :o
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Online Skhilled

  • Administrator
  • *
  • Posts: 9032
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Cron Job Backups
« Reply #5 on: February 20, 2014, 09:23:32 AM »
Do you know where the backup is placed and what the name of the file will be? If so, you can check there to see if it worked.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11682
  • Gender: Male
  • View Gallery
Re: Cron Job Backups
« Reply #6 on: February 20, 2014, 10:25:37 AM »
It is supposed to email a copy of the db backup to me, but I don't yet know where the file gets stored when it is created.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Online Skhilled

  • Administrator
  • *
  • Posts: 9032
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Cron Job Backups
« Reply #7 on: February 20, 2014, 12:05:42 PM »
If all you are looking for is to backup the db then try this:

http://www.docskillz.com/docs/index.php?topic=333.0

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11682
  • Gender: Male
  • View Gallery
Re: Cron Job Backups
« Reply #8 on: February 20, 2014, 01:04:30 PM »
Got it installed, now me just need to learn how to set it up.  laughing7
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Online Skhilled

  • Administrator
  • *
  • Posts: 9032
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Cron Job Backups
« Reply #9 on: February 21, 2014, 08:01:27 AM »
Extract it and got to the /ReadMe folder and read install_english.txt.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11682
  • Gender: Male
  • View Gallery
Re: Cron Job Backups + MySQLDumper
« Reply #10 on: February 25, 2014, 05:03:38 PM »
If all you are looking for is to backup the db then try this:

http://www.docskillz.com/docs/index.php?topic=333.0

The MySQL Dumper utility worked.  :thumbup:

It now is doing a backup once a day and sending it to me in an email.  wink1
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Online Skhilled

  • Administrator
  • *
  • Posts: 9032
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Cron Job Backups + MySQLDumper
« Reply #11 on: February 27, 2014, 10:08:12 AM »
Excellent! :)

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11682
  • Gender: Male
  • View Gallery
Re: Cron Job Backups + MySQLDumper
« Reply #12 on: February 27, 2014, 03:31:21 PM »
If all you are looking for is to backup the db then try this:

http://www.docskillz.com/docs/index.php?topic=333.0

The MySQL Dumper utility worked.  :thumbup:

It now is doing a backup once a day and sending it to me in an emailwink1

Actually, I should have said that my cPanel Cron Job utility is being used to initiate  and download the backup from the MySQL Dumper... I'm still trying to learn how to do the download from within MySQL Dumper so as to eliminate the extra step of using the cPanel.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.