Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th March 2007, 15:18
gilas gilas is offline
Member
 
Join Date: Jun 2006
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default backup failure....

Hi

there are two sites active, I tried to backup one of them.

The problem:

method: download - the file size of the set is 209 bytes against 33MB.

On the other hand, using FTP method all seems work correctly.

What can I do?!?

Thankx
Reply With Quote
Sponsored Links
  #2  
Old 16th March 2007, 16:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,248 Times in 4,113 Posts
Default

Do the backup manually or enable the auto backup function in config.inc.php. The backup function in the controlpanel is not able to backup large sites.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th March 2007, 10:24
gilas gilas is offline
Member
 
Join Date: Jun 2006
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default backup...

This sounds strange, because this is the content of my tmp directory:

drwx------ 2 admispconfig admispconfig 4096 2007-03-16 15:14 0ac2d74b5442415ca5060063c8570f1b
drwx------ 2 admispconfig admispconfig 4096 2007-03-16 15:11 1ec88d3f4af5d03cd103fa1602c73fae
-rw-r--r-- 1 admispconfig admispconfig 33212645 2007-03-16 15:11 3fe5293afd681b2efb1854b6cad3f020.zip
-rw-r--r-- 1 admispconfig admispconfig 33233052 2007-03-16 15:14 8d1a29f420ef471638e96fad23e05f5d.zip
drwx------ 2 admispconfig admispconfig 4096 2007-03-20 10:21 8db48fad575c93a7317032b0ddcfbdb7
-rw-r--r-- 1 admispconfig admispconfig 33215468 2007-03-20 10:21 ac43babfbb492c647f8c532c51eaae8c.zip


as you can see the backup was made correctly, the problem is that I can download the set (i.e. 33215468 (33MB), last line above...).

I have a quota problem, could be that this is the cause... I'm investigating...
Reply With Quote
  #4  
Old 20th March 2007, 11:03
gilas gilas is offline
Member
 
Join Date: Jun 2006
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Now I modified quota entries but the problem still persists...
Reply With Quote
  #5  
Old 21st March 2007, 14:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,732 Times in 2,569 Posts
Default

What exactly is the problem?
What's the output of
Code:
df -h
and
Code:
repquota -avug
?
__________________
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
  #6  
Old 22nd March 2007, 11:07
gilas gilas is offline
Member
 
Join Date: Jun 2006
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default output

Hi Falko,
i suspect you are investigatin in the wrong direction (below the quota outputs).

The problem infact is that when I try to download a set explorer say me that it is large 209 bytes instead to 33MB. This works successfully in the previous version of ISPConfig...

In the contrary, when I select FTP backup all is ok and the set is correctly transferred to the remote server.

thanx anywhere


df -h:


/dev/md0 191G 1,1G 181G 1% /
tmpfs 2,0G 0 2,0G 0% /dev/shm
/dev/sda1 3,7G 39M 3,5G 2% /boot




Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 879476 0 0 45623 0 0
daemon -- 32 0 0 11 0 0
bin -- 4 0 0 1 0 0
man -- 668 0 0 22 0 0
mail -- 4 0 0 1 0 0
news -- 4 0 0 1 0 0
www-data -- 48744 0 0 4023 0 0
nobody -- 4 0 0 1 0 0
Debian-exim -- 32 0 0 9 0 0
alex -- 800 0 0 117 0 0
identd -- 8 0 0 2 0 0
fetchmail -- 4 0 0 1 0 0
bind -- 72 0 0 18 0 0
mysql -- 37916 0 0 1010 0 0
postfix -- 160 0 0 63 0 0
ftp -- 4 0 0 1 0 0
admispconfig -- 122508 0 0 2111 0 0
web2_franco -- 372 512000 513024 37 0 0
web1_prova2 -- 43452 102400 103424 3899 0 0
#500 -- 6068 0 0 556 0 0
#501 -- 636 0 0 41 0 0
*** Report for group quotas on device /dev/md0
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
Group used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 876848 0 0 40173 0 0
daemon -- 32 0 0 9 0 0
bin -- 16 0 0 2 0 0
adm -- 5036 0 0 66 0 0
tty -- 24 0 0 703 0 0
disk -- 0 0 0 4078 0 0
lp -- 0 0 0 22 0 0
mail -- 148 0 0 10 0 0
news -- 4 0 0 4 0 0
kmem -- 0 0 0 3 0 0
dialout -- 0 0 0 62 0 0
cdrom -- 0 0 0 37 0 0
floppy -- 0 0 0 64 0 0
tape -- 0 0 0 16 0 0
audio -- 0 0 0 36 0 0
dip -- 24 0 0 7 0 0
www-data -- 33284 0 0 2661 0 0
src -- 4 0 0 1 0 0
shadow -- 84 0 0 6 0 0
utmp -- 200 0 0 6 0 0
video -- 0 0 0 205 0 0
sasl -- 16 0 0 2 0 0
staff -- 1496 0 0 172 0 0
users -- 648 0 0 98 0 0
nogroup -- 16 0 0 4 0 0
crontab -- 40 0 0 3 0 0
Debian-exim -- 44 0 0 8 0 0
alex -- 152 0 0 19 0 0
ssh -- 76 0 0 1 0 0
bind -- 80 0 0 20 0 0
mysql -- 34064 0 0 997 0 0
postfix -- 104 0 0 44 0 0
postdrop -- 32 0 0 9 0 0
admispconfig -- 122504 0 0 2109 0 0
web1 -- 42184 512000 513024 3897 0 0
web2 -- 17080 512000 513024 1396 0 0
web5 -- 0 10240 11264 0 0 0
web6 -- 0 10240 11264 0 0 0
web8 -- 0 0 0 0 0 0
web9 -- 0 0 0 0 0 0
#500 -- 6068 0 0 556 0 0
#501 -- 636 0 0 41 0 0
Reply With Quote
  #7  
Old 26th March 2007, 16:43
PoleCat PoleCat is offline
Member
 
Join Date: Mar 2007
Posts: 57
Thanks: 6
Thanked 3 Times in 3 Posts
Default

Heya,

Searching the forum to see if anyone had the same problems as me, I stumbled apon this thread. It seems like I have the EXACT same problem.

The backups wont take, it backs up about 17M of Data, but when my browser downloads it, I get 4K only.

#ls -alh /tmp/ | grep ispconfig
Code:
-rw-r--r--   1 root          root          17M Feb 22 15:15 home_admispconfig_02_22_2007__15_49_12.tar.gz
-rw-r--r--   1 root          root          17M Feb 22 15:15 root_ispconfig_02_22_2007__15_49_12.tar.gz
#cat /root/ispconfig/httpd/logs/error_log
Code:
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/aaf.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/Kevin-army-18yrs.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/Vincent-Crest.JPG
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/dad in airforce.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/grandparents wedding day.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/gran as young woman.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/Mother.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/Grandad.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/My Ouma.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/jeanette cover.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/Gwethalyn.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/Willyn Munsey.jpg
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
spirit:~/ispconfig/httpd/logs#
OS: Debian GNU/Linux 3.1
ISPConfig: 2.2.10

Any Ideas? The only changes that I have made is doing a upgrade from .9 to .10 seems like since then it stopped working.
Reply With Quote
  #8  
Old 26th March 2007, 17:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,732 Times in 2,569 Posts
Default

Did you do a chmod on some of these files where it says Permission denied?
__________________
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
  #9  
Old 26th March 2007, 23:35
PoleCat PoleCat is offline
Member
 
Join Date: Mar 2007
Posts: 57
Thanks: 6
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by falko
Did you do a chmod on some of these files where it says Permission denied?
Nope, not on those files. But here is the persmission of one of the files in question:
Code:
-rw-------   1 www-data www-data   51962 Mar  8 17:20 Mother.jpg
As what user does ISPconfig backup run? Should it not run as root to overcome permission errors?

Those files were uploaded through the phpgedcom genealogy framework. So the website has set those permissions itself.

A auto-backup feature for ISPconfig to backup all the sites as a admin function to a remote ftp server would be pretty cool. Say you can schedule it once a week or something to do a backup.
I learned the hard way about backups. You only take it seriously once you lost critical customer information and you lose business because you forgot to do backups.
Reply With Quote
  #10  
Old 27th March 2007, 08:36
gilas gilas is offline
Member
 
Join Date: Jun 2006
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default backup and common area

I made some tries; if I select 'mySQL database' all works fine, but when I select too 'web data' backup stops and returns the download window with 209 byte of save set.

Then I suppose Falkso says the true about the backup. Infact I suspect the problem is connected to a common area where I put the source to share TYPO3. The source is owned/grouped by root:root and it is linked by some symlinks from the single sites.

Could be that the backup utility follow the links, just arrived in the common area where root is the owner stops it.

I remember that in the old times there was a similar problems connected to the backup and follow symlinks.
Reply With Quote
Reply

Bookmarks

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
Dovecot Auth. Failure spams Message log d3m0nic Installation/Configuration 4 20th October 2009 18:47
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07
ISPConfig Backup problem gzero General 5 27th November 2006 09:48
Incremental Backup chrno Installation/Configuration 2 17th May 2006 12:10
How of create an automated backup of system+files jeremy Installation/Configuration 13 25th February 2006 13:23


All times are GMT +2. The time now is 15:49.


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