Webmin and Virtualmin FTP Backup Deletion Fails


Anyone who's used Webmin or Virtualmin knows what wonderful tools they are for managing a Unix or Linux Apache web server. One issue that some have run into is that when scheduling backups to an FTP server, and in particular a Microsoft Windows FTP server, if you've configured Webmin/Virtualmin to delete backups older than a certain number of days those backups sometimes don't get deleted. Continue reading for the cause and the solution to this issue...

The reason those backups don't get deleted is because the way a Microsoft Windows FTP server writes the directory listing is different than the way Unix does and Webmin/Virtualmin expects it to be in the Unix style. Add to that the way Webmin/Virtualmin detects old backups is by looking at the backup name (that's why you must include the date in the backup name to enable old backup purging). The major difference is that the MS-DOS style directory listing always displays the creation date and time, but UNIX style dictates that if the file/directory was created in the current year, it will show month/day/time and that if the file/directory was created in a previous year it will display the month/day/year of creation. Microsoft gives a fairly clear explanation of this at support.microsoft.com/kb/256312.

 

To solve the issue, you will want to change the Directory Listing Style to UNIX style rather than MS-DOS style for your FTP server. To do that:

In Internet Information Services (IIS) 5.x & 6.x (Windows 2000, XP, & Server 2003)

  1. In IIS Manager, expand the FTP Sites folder, right-click the FTP site for which you want to change the directory listing style, and then click Properties.
  2. Click the Home Directory tab.
  3. Under Directory listing style, select UNIX.
    • Note: The output style set at the individual FTP site level overrides the output style set at the global level.
  4. Click OK to save the change.

IIS 5.x & IIS 6.x

In Internet Information Services (IIS) 7.x (Windows 7 &Server 2008 [R2])

  1. In IIS Manager, select the FTP Site for which you want to change the directory listing style.
  2. Open the FTP Directory Browsing feature.
  3. Under Directory Listing Style, select UNIX.
    • Note: The output style set at the individual FTP site level overrides the output style set at the global level.
  4. Click Apply to save the change.

IIS 7.x

 

When testing, be aware that if you run your backup schedule task manually it doesn't delete old backups. To test, wait for the backup job to run from the schedule or adjust the schedule to have it run sooner. A good way to verify is by opening the backup log after the job has run and see if the "Deleting backups older than [x] days" message followed by a list of deleted backups appeared.Tag: webmin virtualmin microsoft internet information services ftp

Share It!

Trackback

No trackback comments for this entry.

Anonymous User

Friday, July 18 2014 @ 04:26 AM EDT
Good post. By the way, why not try these out

golemewu

Tuesday, April 19 2016 @ 01:03 AM EDT
If you have any question so you can ask us on forum. Young Body Reboot Reviews

Anonymous User

Wednesday, February 18 2015 @ 10:44 AM EST
I'm still learning from you, but I try to reach my goals. Since then enjoy reading all the information that appears on your blog.Keep come. Loved it! buy adderall pills

boxer

Wednesday, February 18 2015 @ 11:57 AM EST
Thank you, I have recently been searching for information about this topic for ages and yours is the best I have discovered so far.buy hydrocodone online

Anonymous User

Wednesday, February 18 2015 @ 12:23 PM EST
Certainly a fantastic piece of work ... It has relevant information. Thanks for posting this. Your blog is so interesting and very informative.Thanks sharing. Definitely a great piece of work Thanks for your work. buy percocet pills

Anonymous User

Wednesday, February 18 2015 @ 01:48 PM EST
They use all natural ingredients to create organic products. buy oxycodone pills

Anonymous

Wednesday, February 18 2015 @ 02:05 PM EST
Thank you so much for posting this informative Information. buy codeine online

Anonymous User

Wednesday, February 18 2015 @ 02:50 PM EST
They use all natural ingredients to create organic products. buy valium online

Anonymous

Wednesday, February 18 2015 @ 05:06 PM EST
Well written and useful stuff you share with us. I want more this kind of information from you. buy adderall pills

albetjacko

Thursday, March 12 2015 @ 07:34 AM EDT

albetjacko

Thursday, March 19 2015 @ 06:37 AM EDT

nidhisharma129874

Monday, September 28 2015 @ 07:47 AM EDT
Packers and movers in Hyderabad @ http://moversandpackersinhyderabad.in/ ,

Packers and movers Hyderabad @ http://moversandpackersinhyderabad.in/ ,

Movers and packers in Hyderabad @ http://moversandpackersinhyderabad.in/ ,

Movers and packers Hyderabad @ http://moversandpackersinhyderabad.in/

Anonymous User

Wednesday, February 10 2016 @ 02:26 AM EST
We can make a forum admin who will approve your registration. win my ex back

http:buy-custom-wr

Monday, January 11 2016 @ 07:21 AM EST
Hmm, it is very interesting post! All you need it is a good and cheked writing service! That is why, use the best writing assistance at http://buy-custom-writings.com and be sure that everything will be great! Also, you can save a lot of time for yourself and spend it for your own interesting! So,try to solve your writing problems and be sure that everything will be great! Good luck)

leholomi

Thursday, February 11 2016 @ 12:18 AM EST
We will get the latest script from here. VO Genesis Review - Can You Make Extra Income From This Program?

Anonymous User

Thursday, January 14 2016 @ 10:32 AM EST
It's contains very useful data which i need and i want to see more quality posts in this blog so please update your blog. Thanks for sharing. Master of Science in Accounting

Anonymous User

Thursday, February 11 2016 @ 11:46 PM EST
We have to take FTP Backup after every 1 month. Ryan Shed Plans Review

Anonymous User

Friday, January 22 2016 @ 12:55 AM EST
great one, i appreciate it

http://schedule.festfoods.com/

Anonymous User

Wednesday, February 10 2016 @ 06:58 AM EST
Go to this URL to get free roblox robux.

rivucavi

Wednesday, April 20 2016 @ 12:30 AM EDT
We have download this game for it. Chakra Activation System Reviews

Anonymous User

Saturday, February 13 2016 @ 02:15 PM EST
Great Article. Very Well Explained. Diabetes Destroyer Reviews Diabetes Destroyer

Lara23

Wednesday, February 17 2016 @ 04:15 AM EST
Hello, thank you very much for this atrical! It was very interesting to read such cool information! Also my friends, I want to advice the best paper solution at http://custom-writing.net and everything will be for the best! this creative service help you to save your time, good mood and everything will be great! So, be the best with this paper solution!

Anonymous User

Monday, April 18 2016 @ 04:43 AM EDT
Looking for the wiki sites to post on it. Diabetes Destroyer PDF

Anonymous User

Friday, April 08 2016 @ 05:00 AM EDT
Thanks for sharing nice information.

Packers and Movers in Bangalore @ http://www.movingsolutions.in/packers-and-movers-in-bangalore.html
Packers and Movers in Pune @ http://www.movingsolutions.in/packers-and-movers-in-pune.html

Anonymous User

Monday, April 11 2016 @ 05:47 AM EDT
Mumbai Airport Drop Service from Pune
mumbai airport to pune cab service
Advertisement