Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-05-2004, 07:52 AM   #1
Ren
Senior Member
 
Join Date: Sep 2002
Posts: 111
Default Site Backup

I use script for my gl box's that once a week zip's up the user group and config files and emails them to me, just incase something go's wrong, I know this can easily be done with a batch file, but a nice exe that kill's the site for 2 minutes while it creates a dated backup of essential files would be awesome
Ren is offline   Reply With Quote
Old 02-05-2004, 08:06 AM   #2
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default

why kill site? i think that could really be done by batchfile to zip the few important folders... but problem will be that u have to configure smtp for ur win. with linux its not that problem since it has good smtp support. ordinary windows user wont know how to setup smtp server for win?

just my 2 cent.

toki
toki is offline   Reply With Quote
Old 02-05-2004, 08:22 AM   #3
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default

you have to kill otherwise you cant copy userfile (in use).
hot_pit is offline   Reply With Quote
Old 02-05-2004, 08:29 AM   #4
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default

how big is the chance that user file is in use? if there are a few hunderd users u will prolly have a backup of any user file that is not older than 2 or 3 backups... so if u do once a day u loose max 2 or 3 days. or once a week if u prefer so as stated above.
toki is offline   Reply With Quote
Old 02-05-2004, 08:47 AM   #5
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Quote:
Originally posted by fuka
you have to kill otherwise you cant copy userfile (in use).
Hmms.. it should be possible to copy userfiles, they're only write locked. It's possible that scripting languages don't understand windows locking semantics & try to open files with read+write permissions - which causes operation to fail.
darkone is offline   Reply With Quote
Old 02-05-2004, 04:08 PM   #6
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Quote:
Originally posted by toki
how big is the chance that user file is in use? if there are a few hunderd users u will prolly have a backup of any user file that is not older than 2 or 3 backups... so if u do once a day u loose max 2 or 3 days. or once a week if u prefer so as stated above.
All userfiles are (write) locked... and io use a in-memory copy of the userfiles for operations, for the actual files...
Mouton is offline   Reply With Quote
Old 02-06-2004, 04:57 AM   #7
djrob
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Jul 2003
Posts: 99
Default

I use ioBackup mentioned in this thread and it works great

http://www.ioftpd.com/board/showthre...light=iobackup

Copies etc, users, groups and logs everyday @ 23:45 to another drive in a folder called 2004-02-05_23.45.35_ioBackup

If wanted it can be compressed to rar as well
djrob is offline   Reply With Quote
Old 02-06-2004, 03:05 PM   #8
freak007
Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 69
Default

It seems to be a good script but not perfect at all. It cant backup the user and groups dir because the files are in use and that is the problem by ioftpd i think and i dont know how to make this that is works.

Cya Freak007
freak007 is offline   Reply With Quote
Reply

Tags
backup, file, files, nice, site

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
GuildFTPd command set (import) Jesper Custom Commands 4 07-29-2011 12:41 AM


All times are GMT -5. The time now is 03:33 PM.

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