#1  
Old 9th March 2006, 20:14
Piccent Piccent is offline
Junior Member
 
Join Date: Feb 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default Backup question

Hi,

in the "backup" folder in the web folders there is a backup within the maildirs from the users, but when I start the backup from ISPConfig I got a backup without the maildirs... Could you please help?

Greetz

Marc
Reply With Quote
Sponsored Links
  #2  
Old 9th March 2006, 20:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

These are two different backups. One is created by a nightly cron job and contains everything, the other one contains only the web directory.
__________________
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
  #3  
Old 10th March 2006, 04:00
Piccent Piccent is offline
Junior Member
 
Join Date: Feb 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

But in the Zip-file of the backup from the interface there is the "user" directory too, only the Maildir folder is empty...
Reply With Quote
  #4  
Old 10th March 2006, 08:31
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,429
Thanks: 813
Thanked 5,208 Times in 4,084 Posts
Default

Please post an "ls -l" from inside your Maildir folder. I guess the the backup script does not have read permissions on your mail files.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 10th March 2006, 18:12
Piccent Piccent is offline
Junior Member
 
Join Date: Feb 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, you're right, the Maildir and tmp folder has only 700 permission. how can I change this, without changing the permissions? is it possible with sudo???
Reply With Quote
  #6  
Old 10th March 2006, 18:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

The only way is to change the permissions. If you change the ownership, then no more mails will arrive...
__________________
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
  #7  
Old 10th March 2006, 18:42
Piccent Piccent is offline
Junior Member
 
Join Date: Feb 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

But this must be done via cronjob, because the permission is changed everytime a new folder is created. Is there no possibility to change s.th. in the script or sudo a command in the script for the backup???
Reply With Quote
  #8  
Old 11th March 2006, 11:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

The backup created by the cron job should contain everything, because it is run as root.

But the backup you create from the ISPConfig web interface are created as user admispconfig, and they cannot contain everything. It's a permissions problem.
__________________
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 11th March 2006, 17:55
Piccent Piccent is offline
Junior Member
 
Join Date: Feb 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes you're right, but my question is, is it possible to change the "zip" commands in the backup script to "sudo zip" and do it as root?
Reply With Quote
  #10  
Old 11th March 2006, 21:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
 
Default

Quote:
Originally Posted by Piccent
Yes you're right, but my question is, is it possible to change the "zip" commands in the backup script to "sudo zip" and do it as root?
I haven't tested this, but it should work. But you must put admispconfig into /etc/sudoers.
__________________
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
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
Backup routine for ISPConfig-equipped server IntnsRed General 4 5th May 2006 17:29
email + backup blackflag Installation/Configuration 3 7th March 2006 11:38
Tape Backup xendistar Technical 2 25th February 2006 14:45
TPS Fedora Core 4 Managing e-mail adr + Backup Hagforce HOWTO-Related Questions 9 22nd February 2006 14:59
Backup question.... toyito Installation/Configuration 3 11th February 2006 11:49


All times are GMT +2. The time now is 10:01.


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