Hello:
Setting up virtual server backups on a new server. Copied all settings I can think of from the old server. When backing up a virtual server, it fto's all virtualmin settings to the remote server as virtualmin.tar.gz, However, it does not ftp over the domain.com.tar.gz file. I see the file being created as the backup is being done in the tmp directory. But when the time comes to ftp it, it just disappears. Here is the backup progress report:
Backup Virtual Servers
Starting backup of 1 domains to domain/full-%y%m%d%H%M on FTP server www.domain.com ..
Creating backup for virtual server domain.com .. Copying virtual server configuration .. .. done Backing up Cron jobs .. .. done
Saving mail aliases .. .. done
Saving mail and FTP users .. .. done
Backing up mail and FTP user Cron jobs .. .. none to backup
Backing up Dovecot control files .. .. done
Copying Apache virtual host configuration .. .. done
Copying Apache log files .. .. done
Copying Webalizer configuration files .. .. done
Copying Logrotate configuration .. .. no log rotation configuration found!
Copying Procmail and SpamAssassin configuration files .. .. done
Backing up Webmin ACL files .. .. done
Backing up AWstats configuration file .. .. done
Backing up DAV users file .. .. done
Creating backup of Mailman mailing lists .. .. no lists found
Creating TAR file of home directory .. .. done
.. completed in 1 minutes, 48 seconds
Saving Virtualmin configuration .. .. done Saving templates and plans .. .. done
Saving email templates .. .. done
Saving custom fields, links, categories and shells .. .. done
Saving custom script installers .. .. done
Saving scheduled backups .. .. done
Saving FTP directory restrictions .. .. done
Saving DKIM settings .. .. not installed
Saving greylisting settings .. .. done
Saving mail server configuration .. .. done
.. done Uploading archive to FTP server www.backupserver.com .. .. done
0 servers backed up successfully, 1 had errors. 8 Virtualmin configuration settings backed up successfully. Servers with errors: domain.com Backup is complete. Final size was 21.84 kB.
Deleting backups from domain/full-%y%m%d%H%M on FTP server www.backupserver.com older than 90 days .. .. no backups to delete were found
Anyone have an idea of why the settings are ftp'd but the home files are not? This is driving me crazy.
Thanks, Bill
Found the problem.
The message "Copying Logrotate configuration .. .. no log rotation configuration found!" was the clue.
Somehow the log rotation file was missing. I recreated it, and backup works.
Also found that mysql tables were corrupted, so I ran mysql_upgrade and that fixed it.