Old 12-29-2005, 07:32 AM   #1
PaRaNoiD_JaCK
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Mar 2005
Posts: 101
Default Config Setup

Before I try warchive I`m just wanting to make sure the config is correct with what i`m wanting to do. I want to keep 30 days of 0day and 60 days of mp3. The wiping is triggered when the size gets to 750MB left on disk and stop`s when 3000MB is left.

Nothing is to be archived just wiped.

IoReserve is at the following path: e:\ioFTPD\scripts\ioReserve\
It`s reservation`s are held here: e:\ioFTPD\scripts\ioReserve\Reservations\

Code:
 
[General]
Debug="1"
Remove_Nuked_First = "1"
Nukeheader = "(NUKED)-"
Max_Delete="5"
ioReserve="e:\ioFTPD\scripts\ioReserve"
ioFTPD_Log_File="e:\ioftpd\logs\ioftpd.log"
Detach_at_Start ="0"


[Ignore]
Ignore_0 = "_SYS"
Ignore_1 = "REQUESTS"

[Log]
WarcMove=""%release" "%.2relsize" "%oldvfs" "%newvfs" "%.2beforesize" "%.2aftersize""
WarcWipe=""%release" "%.2relsize" "%oldvfs" "%.2beforesize" "%.2aftersize""

[MaxAge]
MaxAge_0="30|e:\ioFTPD\site\0DAY|NULL|/0DAY|NULL"
MaxAge_1="60|d:\FILES\MP3|NULL|/MP3|NULL"

[Device_0]
StartSpace="750"
EndSpace="3000"
Path_0="E:\ioFTPD\site\0DAY|NULL|/0DAY|NULL"

[Device_1]
StartSpace="750"
EndSpace="3000"
Path_0="D:\FILE\MP3|NULL|/MP3|NULL"
Does this look ok ?

Thanks.
PaRaNoiD_JaCK is offline   Reply With Quote
Old 12-29-2005, 02:32 PM   #2
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

looks pretty good. This setup will wipe stuff if older than 30 days OR if space is less than 750MB for 0day. Second one will wipe if older than 60 days OR if space is less than 750.

One thing though. under MaxAge you got d:\FILES\MP3 and on device_1 you got D:\FILE\MP3. Note the missing s on device_1 or if its the other way around an extra s on maxage_1
WarC is offline   Reply With Quote
Old 12-29-2005, 02:50 PM   #3
PaRaNoiD_JaCK
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Mar 2005
Posts: 101
Default

Thanks WarC.
PaRaNoiD_JaCK is offline   Reply With Quote
Reply

Tags
%.2beforesize, %.2relsize, %oldvfs, days, left

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:32 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)