Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 8th July 2011, 17:43
neobcn neobcn is offline
Junior Member
 
Join Date: Feb 2011
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Cool

Howw to insytall in 3.0.3 and Debian 6??
Reply With Quote
Sponsored Links
  #12  
Old 10th July 2011, 13:36
ncoc.nl ncoc.nl is offline
Member
 
Join Date: Feb 2011
Posts: 36
Thanks: 3
Thanked 17 Times in 11 Posts
Default

I don't know, I run several Debian 5 Lenny servers, possibly it will run on Debian 6 as well.

Maybe someone has tested the script already on Debian 6

Ronald
Reply With Quote
  #13  
Old 27th July 2011, 15:05
versatile versatile is offline
Junior Member
 
Join Date: Mar 2011
Posts: 14
Thanks: 1
Thanked 3 Times in 1 Post
Default

Yes, it's works perfectly on Debian Squeeze but don't forget to reconfigure dash otherwise you have a error with time settings.

Ronald nice script
Reply With Quote
  #14  
Old 27th July 2011, 16:01
neobcn neobcn is offline
Junior Member
 
Join Date: Feb 2011
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by versatile View Post
Yes, it's works perfectly on Debian Squeeze but don't forget to reconfigure dash otherwise you have a error with time settings.

Ronald nice script
Please how too configure i novice :-(
Reply With Quote
  #15  
Old 27th July 2011, 21:45
versatile versatile is offline
Junior Member
 
Join Date: Mar 2011
Posts: 14
Thanks: 1
Thanked 3 Times in 1 Post
Default

If you have a error like [ 92 : unexpected error ]. The problem maybe comes from Dash. In debian /bin/sh is a symlink to /bin/dash, however we need /bin/bash, not /bin/dash. But if you have ISPconfig on your server you have reconfigure Dash.( If you don't do this, the ISPConfig installation fail).

If you have a error run this command in shell

#bash -x your_script

If it's works run this command in shell

#dpkg-reconfigure dash

Use dash as the default system shell (/bin/sh)? <-- No

A other solution is to change in the script the first line #!/bin/sh to #!/bin/bash

If you would like to test the script now ( all backups) at 21:25 and not at 21H you can change this line

TIME=$(date +"%HH")

to

TIME=$(date +"%H:%M")

you can change

TIMEWEBBU="21H"
TIMEISPBU1="21H"
TIMEISPBU2="18H"

to

TIMEWEBBU="21:25"
TIMEISPBU1="21:25"
TIMEISPBU2="18:23"

After just run at 21:25

#./your_script

to check if all backups work.

Last edited by versatile; 27th July 2011 at 23:55.
Reply With Quote
The Following 3 Users Say Thank You to versatile For This Useful Post:
falko (28th July 2011), ncoc.nl (20th December 2011), nokia80 (12th August 2011)
  #16  
Old 19th December 2011, 06:50
nokia80 nokia80 is offline
HowtoForge Supporter
 
Join Date: Apr 2009
Posts: 192
Thanks: 30
Thanked 2 Times in 2 Posts
Send a message via Skype™ to nokia80
Default

hi

on debian squeezy i have this error

./wdbackup.sh: line 228: -u: command not found
./wdbackup.sh: line 228: -u: command not found
./wdbackup.sh: line 228: -u: command not found
./wdbackup.sh: line 228: -u: command not found
./wdbackup.sh: line 228: -u: command not found


??

thanks
Reply With Quote
  #17  
Old 20th December 2011, 12:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's in line 228 of wdbackup.sh?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #18  
Old 20th December 2011, 23:28
ncoc.nl ncoc.nl is offline
Member
 
Join Date: Feb 2011
Posts: 36
Thanks: 3
Thanked 17 Times in 11 Posts
Default

Nokia80,

I've downloaded the wdbackup.sh but theres no line 228, it goes up to line 125?
In the other 2 scripts there's no -u present on the mentioned line, did you make zome modifications yourself?

Ronald

Last edited by ncoc.nl; 20th December 2011 at 23:31.
Reply With Quote
  #19  
Old 24th December 2011, 18:48
ncoc.nl ncoc.nl is offline
Member
 
Join Date: Feb 2011
Posts: 36
Thanks: 3
Thanked 17 Times in 11 Posts
Lightbulb Update

For some reason I can't edit my post so I reply myself

I did some modification of the original script:

wdbackup-1: backup to FTP once a day
wdbackup-6: backup the database 6 times a day, ISPconfig twice a day and the websites once a day.

Also the script checks the (local) diskspace and when running low it wil generate a e-mail which you can send to an second e-mail adres.

Al the info of the script is included in the header

Ronald
Attached Files
File Type: zip wdbackup-1.zip (3.8 KB, 84 views)
File Type: zip wdbackup-6.zip (3.7 KB, 87 views)
Reply With Quote
The Following User Says Thank You to ncoc.nl For This Useful Post:
falko (25th December 2011)
  #20  
Old 25th December 2011, 19:22
nokia80 nokia80 is offline
HowtoForge Supporter
 
Join Date: Apr 2009
Posts: 192
Thanks: 30
Thanked 2 Times in 2 Posts
Send a message via Skype™ to nokia80
 
Default

there is somting wrong in the new script when i run it

a lot of error

can create directory
Reply With Quote
Reply

Bookmarks

Tags
backup script, backup software, cron, cronjob

Thread Tools
Display Modes

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
Online Backup : What do you use and how do you setup it ? XZed Technical 5 4th January 2010 18:02
Backup solution for VMware ESXi Hagforce Server Operation 4 9th October 2009 19:01
Looking for an automatic backup for ISPConfig unsichtbare Installation/Configuration 1 2nd May 2008 14:33
Backup Solution for Windows hoihtah Suggest HOWTO 1 5th February 2008 17:50
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07


All times are GMT +2. The time now is 20:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.