Go Back   FlashFXP Forums > > > >

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-18-2004, 10:03 AM   #1
Mr_X
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 142
Default ioBackup

It backups user files (etc, users, groups, scripts) and ioFTPD.ini into a rar file with a password and send it to another FTP or to a SMB share.

Script page

Changelog:

v1.2.1
- Didn't recursive copy, fixed now (thx to lefkas)

v1.2
- Recursive copy of dirs
- Change RARPATH to EXEPATH (there's 2 exe now: robocopy.exe and rar.exe)
- Backup now also scripts dir
- Added TODO.txt

v1.1.3
- Updated rar (3.42) and readme.txt

v1.1.2
- if env var windir doesn't exist, testing SystemRoot (same value)

v1.1.1
- Corrected some bugs and readme

v1.1
- Added the possibility to send backup to a network drive

v1.0
- initial release
Mr_X is offline   Reply With Quote
Old 11-02-2005, 06:48 PM   #2
Mr_X
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 142
Default

Updated.
Backup also scripts directory.
Now backup recursively directories.
Mr_X is offline   Reply With Quote
Old 11-03-2005, 06:43 AM   #3
Mr_X
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 142
Default

Just reupdated.
Was'nt copying recursively, fixed now.
If you downloaded 1.2, you can just change one line:
%EXEPATH%\robocopy.exe ..\scripts scripts >nul
by
%EXEPATH%\robocopy.exe ..\scripts scripts /e >nul
Mr_X is offline   Reply With Quote
Old 11-09-2005, 12:02 PM   #4
maX1mus
Junior Member
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 29
Default

Works really nice
I have a question tho,..
When it sends the zip is that made by ioFTPD.exe or ?
I need to allow something in the firewall at one place cause the backup from it gets only 0byte, and without firewall it works ;S

thx - _lefkas
maX1mus is offline   Reply With Quote
Old 11-09-2005, 02:09 PM   #5
Mr_X
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 142
Default

You need to allow ftp.exe from microsoft to access to Internet (and allowing it opening any port)
It can also be ioFTPD.exe but i'm not sure because you can connect to it (already allowed).
(I'm not in your firewall and i don't know the rules you use )
Mr_X is offline   Reply With Quote
Old 11-10-2005, 01:30 AM   #6
ChipMunk666
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 220
Default

I have another suggestion which would make me happy
And maybe a lot of other users...
I use sharedb.And i am fairly new to this...
But there is one error i have many times and that's ioShareDB: error register user
I fix this to copy the userfile from the "hub" to the "slave".
Is there a way to schedule this backup and send this to several slaves and servers but not in rar file?
This would help me a lot and probably a lot of others aswell
ChipMunk666 is offline   Reply With Quote
Old 11-10-2005, 06:19 PM   #7
Mr_X
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 142
Default

I tried to schedule backup but it always fail and I don't know why because it worked fine with SITE command. I spent lots of time to search from where it comes without success.
I don't have so much time these days to investigate, i have nearly all days 8AM->6PM during the week + works for school.
I can restart working on it at the beginning of february when my exams will be done.

You wanted to schedule this.
I can make something to schedule but not with ioFTPD schedule (don't work very good as I said): my own that will stay in memory (and maybe one that will be installable as a service also).

I could also make another version that will be included in Service (all in one)

About copying userfile, I don't think it's possible to do while io is running because it locks these files. You have to stop ioFTPD and decompress user files.
Perhaps I'm wrong, but in this case, tell me.
Mr_X is offline   Reply With Quote
Old 11-10-2005, 06:46 PM   #8
maX1mus
Junior Member
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 29
Default

Quote:
Originally Posted by Mr_X
About copying userfile, I don't think it's possible to do while io is running because it locks these files. You have to stop ioFTPD and decompress user files.
Perhaps I'm wrong, but in this case, tell me.
Isnt that what the script does today? copy userfiles ..
maX1mus is offline   Reply With Quote
Old 11-10-2005, 08:51 PM   #9
ChipMunk666
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 220
Default

Quote:
Originally Posted by Mr_X
I tried to schedule backup but it always fail and I don't know why because it worked fine with SITE command. I spent lots of time to search from where it comes without success.
I don't have so much time these days to investigate, i have nearly all days 8AM->6PM during the week + works for school.
I can restart working on it at the beginning of february when my exams will be done.

You wanted to schedule this.
I can make something to schedule but not with ioFTPD schedule (don't work very good as I said): my own that will stay in memory (and maybe one that will be installable as a service also).

I could also make another version that will be included in Service (all in one)

About copying userfile, I don't think it's possible to do while io is running because it locks these files. You have to stop ioFTPD and decompress user files.
Perhaps I'm wrong, but in this case, tell me.
i can copy it and replace it with no problem.It's ioshared remember
I can do this without stopping the servers.Eventually i do a restart anyway just to make sure it works
Would only be cool if a script or programm does for onece a day or so
No that it is so often that i get this error but better to make sure
ChipMunk666 is offline   Reply With Quote
Old 11-10-2005, 07:56 PM   #10
Mr_X
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 142
Default

Sorry, forgot to mention that i was speaking (the things you quoted) about fixing problem with ioShareDB (overwritings files in slaves)
Mr_X is offline   Reply With Quote
Old 01-11-2013, 12:54 AM   #11
PSA9
Member
FlashFXP Registered User
ioFTPD Foundation User
 
PSA9's Avatar
 
Join Date: Apr 2006
Posts: 54
Default

could someone please post a link to v1.2.1 or tell me where i can download this! Thanks in advanced
PSA9 is offline   Reply With Quote
Reply

Tags
copy, ftp, rar, recursive, send


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 10:56 AM.

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