Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > WarC's scripts

WarC's scripts ioA, Warchive, ZR-Tools

Reply
 
Thread Tools Rate Thread
Old 12-29-2005, 06:32 AM   #1
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, 01:32 PM   #2
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 427
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, 01:50 PM   #3
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
Create a free account to browse our forums without ads



Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 09:55 PM.