There seems to be an issue with the schedule backups. I have a daily backup setup and for whatever reason, there are 3 instances running and those backups are completed but not completing on the Virtualmin side. Which is causing the schedule backups to fail because there is a limit of 3 backups allowed to run. Any possible solution to this?
Are you running a command after the backup? Sounds like something is getting stuck. You can check the logs in Virtualmin → Backup and Restore → Backup Logs. I might also be tempted to remove the spaces from the destination file path.
Almost 90% of the time it works without a problem then (it appears to be) on the Friday nightly backup that is when it gets stuck. I do not have any post commands.
So this is really a little annoying because there appears to be nothing stating why its stuck. I need to have confidence that the backups are happening without monitoring them constantly.
@Joe@Ilia Any ideas as to what is happening with the backups?
So this is really a little annoying because there appears to be nothing stating why its stuck. I need to have confidence that the backups are happening without monitoring them constantly.
Is there anything on the logs printed in regards to FTP connection? @Jamie what happens if outgoing FTP connection cannot reach the destination host, for instance, if the destination host is blocking it?
@wacowonk Can you connect to remove FTP server, with credentials stored in scheduled backup config, using console?
Is the size of a backup file changing on the target? Is there enough space on the target?
If you don’t run the backup up in the background as part of scheduled backups, and on contrary run it manually, what output do you get on the UI? Does everything look good?
The FTP server that its backing up to has a 2 TB drive with about 1 TB free. If I run the backup manually, its fine. Most days it runs without an issue. Just a few days for whatever reason it gets weird. On those days, the backup is actually done just not ending the scheduled backup task.
Ok so it happened overnight but this time the outcome is different. It only backup one server something happened (which i can’t find where). I did stop the backup for the 17th, however no log was produced. However, it is still “running”
The 14th backup, that is completed and on the backup server but still running. So I manually ended it so I can see the log. As you can see even Virtualmin said it was completed. Here is that output:
So here is something interesting… I ran the backup manually and it starts as normal but when it gets to the first virtual server it keeps uploading on our Backup FTP server WHILE the logs shows that its past the first virtual server. Not sure if this is an issue with how the FTP backups work with Virtualmin OR if this is an issue with the FTP Server.
So I ended up changing backup methods to AWS S3 and so far no issues. However, I did notice how the backup process works differs. when FTP, it uploads each individual compressed file at a time where as S3 does it all at once. Would it be potentially more efficient to have the backup files upload at one time like S3 does?