backup failed - "TAR failed :"

We have a strange problem in the "Backup Configuration Files" module.

The story: 1. First we set up to backup up every module. and it worked fine. But some weeks later we recive the following error message: "to /backup/webmin/sys_webmin_backup_090623_tar.gz failed :

TAR failed : 

"

then we taken out the "Virtualmin Virtual Servers" to a simple sheduled backup and leave the other modules in a big backup. then it was ok again. 2. but some days later we recive the same error again. then we take out webmin users modul and it was fine again. etc...

  1. Now the problem is we have only 1 modul in the bacukup and recive the same error.

config is: Backup destination Webmin modules Scheduled?
/backup/webmin/sys_webmin_backup_%y%m%d.tar 48 modules Yes, daily (at midnight) /backup/webmin/sys_webmin_backup_%y%m%d_virtualservers_tar.gz Virtualmin Virtual Servers Yes, daily (at midnight) /backup/webmin/sys_webmin_backup_%y%m%d_webminusers.tar.gz Webmin Users Yes, daily (at midnight) /backup/webmin/sys_webmin_backup_%y%m%d_webalizer_tar.gz Webalizer Logfile Analysis Yes, daily (at midnight)

backups work fine exept "Virtualmin Virtual Servers" backup.

we recive this error message: " Backup of modules : Virtualmin Virtual Servers

to /backup/webmin/sys_webmin_backup_090723_virtualservers_tar.gz failed :

TAR failed : 

"

i think it's with relations with the virtual server's number.(because it's worked fine till ~10/07/2009) but no idea what is the problem. any suggestions?

Status: 
Closed (fixed)

Comments

So only backups that include the "Virtualmin Virtual Servers" module fail?

How many domains are you hosting there?

You probably don't want to use this page for backing up your domains anyway .. instead, within Virtualmin there is a backup feature that is more suited to domain-level backups, linked from the left menu.

this 3 modules must be taken out from the webmin backup module "big pack": Virtualmin Virtual Servers Webmin Users Webalizer Logfile Analysis

first we must taken out the Virtualmin Virtual Servers later(~2weeks nearly) the Webmin Users etc.

all modules provided the same problems, and as i wrote the single module backup is stucked too now.

Number of virtual servers: 793 now on the server. we notice the problem near 750 i think.

in that module(Virtualmin backup) can backup the virtualservers but i want backup only the virtual servers config. (no need backup for mailboxes, webpages etc. that's an other case.) or just set up correctly the "Features and settings" section and i will recive the same tar.gz? in this case what need to set up there?

so summary what i need: A backup for emergency case to set back the virtual servers but i do not want backup the virtual server datas, just the configuartion. in this case i can recover the server skeleton anytime. (Virtual servers full backup is optional, some customer do not need that so they set up that for theirself if they want.)

So if you just want to backup 'global' Virtualmin settings, this can also be done at Backup and Restore -> Scheduled Backups. In the "Features and settings" section, you can check various options under "Virtualmin settings to also backup".

Sure ok. There i can backup the same datas then?

Today morning we recive this email so the webmin users module backup is stucked now too :(

it's surely be relation with the users / virutal servers number.

Backup of modules : Webmin Users

to /backup/webmin/sys_webmin_backup_090728_webminusers.tar.gz failed :

TAR failed : 

still recive that Tar error. but i had some time to check it now. so if we uncheck the "Server configuration files" then backup work perfectly, if we check that then not.

It surely depend on the virtual server's number because now all webmin module backup cause the same error, some months ago some of them worked alone, and at the beginning all worked fine

On our smaller servers the whole stuff works perfectly.

I actually found the cause of this recently when looking into another user's similar bug - the problem is that when the number of files to backup gets too large, the maximum command line length for tar is hit!

However, Webmin 1.520 will contain a work-around for this which will solve the problem..

Automatically closed -- issue fixed for 2 weeks with no activity.