Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 02-11-2006, 06:45 PM   #1 (permalink)
Crazy
 
Location: Arnold, MD
Server backup via FTP

I am trying to set up a windows server 2003 to backup via FTP. Windows doesn't have any built in automated FTP client, so I was looking into using a 3rd party application to handle this. Is this the best approach or how would you suggest that I do this. Should I write a server script to handle this? And if so can you please give me a good reference in order for me to do this myself. Sorry I am new to this side of servers so I would gladly do it myself, I just wanted to make sure I am taking the right approach to it. Thanks.
j0hnb is offline  
Old 02-12-2006, 04:35 AM   #2 (permalink)
beauty in the breakdown
 
Location: Chapel Hill, NC
You should be able to write a pretty easy batch script to do it. FTP is pretty easy to control from the command line.
__________________
"Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws."
--Plato
sailor is offline  
Old 02-12-2006, 05:00 AM   #3 (permalink)
Crazy
 
Location: Arnold, MD
are there any good resource sites that you would suggest? Sorry I am new to this side of it. On linux I would know where to go but with a windows server I am a little behind.
j0hnb is offline  
Old 02-12-2006, 09:19 AM   #4 (permalink)
Insane
 
Location: Michigan
SyncBack (the freeware versoin, not the "I cost money" version) is a good utility that I use at work. It will allow you to setup directories. You can zip each directory, or whatever selection of directories you are backing up (the zip each directory is nice when you have TONS and TONS of files). You can then copy to a network share or ftp server. Then you can set a schedule for it to run at 3am or whatever.

Again, I use this at work to sync our file shares and cross-backup files from server to server. I then, being paranoid (or smart), burn DVDs of the stuff every so often and get them off site.
__________________
Patterns have a habit of repeating themselves.
asshopo is offline  
Old 02-12-2006, 09:21 AM   #5 (permalink)
The Computer Kid :D
 
Location: 127.0.0.1
Looks neato, but what about registry items?
MikeSty is offline  
Old 02-12-2006, 09:28 AM   #6 (permalink)
Insane
 
Location: Michigan
Don't know of any off the top of my head, but you could write a batch/VBS file to basicly do:

REGEDIT.EXE [ /L:system ¦ /R:user ] /E exportfile "registry_key"

On the exportfile, append the date, run it once a day via the scheduler. Then have a cleanup VBS script to prune files older than x days/weeks/months.

I do some stuff like this on my Windows server that has mysql. I do mysql-dump and append the date. Use the DelOldFiles.VBS script to prune anything older than 7 days.

I can post example VBS scripts if anyone wants them, but I will not be liable if something goes wrong . I know they work, I use them in production environments, but if someone makes a mistake setting it, it's not my fault, ya know?
__________________
Patterns have a habit of repeating themselves.
asshopo is offline  
Old 02-12-2006, 02:41 PM   #7 (permalink)
Crazy
 
You could use Apache Ant. I know it's meant to be a Java (and other) build tool, but you can do quite a bit of different scripting with it. Just another option.
__________________
Even if you stop the clock, it gives the right time twice a day.
Once we get out of the eighties, the nineties are going to make the sixties look like the fifties.
kofspades is offline  
Old 02-13-2006, 09:07 PM   #8 (permalink)
Devils Cabana Boy
 
Dilbert1234567's Avatar
 
Location: Central Coast CA
windows has a nice backup utility built right in, set up a shared folder on the server and have your system routinely backup to the folder.

http://www.microsoft.com/windowsxp/u..._03july14.mspx
__________________
Donate Blood!

"Love is not finding the perfect person, but learning to see an imperfect person perfectly." -Sam Keen
Dilbert1234567 is offline  
Old 02-14-2006, 06:05 AM   #9 (permalink)
Insane
 
Location: Michigan
Dilbert,

I personally hate that software.. Ive tried a few times to get it to work properly and when I goto recover, I get files of 0 bytes. But, I prolly did something wrong, I know MS wouldn't blatantly put something THAT buggy out .
__________________
Patterns have a habit of repeating themselves.
asshopo is offline  
Old 02-14-2006, 08:59 PM   #10 (permalink)
Devils Cabana Boy
 
Dilbert1234567's Avatar
 
Location: Central Coast CA
heh, its not as powerful as professional options, but for basic data backup, it works great for me and my clients.
__________________
Donate Blood!

"Love is not finding the perfect person, but learning to see an imperfect person perfectly." -Sam Keen
Dilbert1234567 is offline  
Old 02-16-2006, 02:50 AM   #11 (permalink)
Junkie
 
Location: Melbourne, Australia
Windows has a command line FTP tool - I've used it to automate file transfers in the past (long time back). It was a bit of a hassle actually because the parameters differ slightly from UNIX.

I take it that you've looked at it and found it less than satisfactory?

In that case I was invoking the routine from SQL Server. These days I'd probably use the windows scheduler (via "explorer" or "at").

I'm not sure though that this is the right track. Why are you using FTP in the first place? No local backup options? What sort of machine are you FTP'ing to?
Nimetic is offline  
Old 02-16-2006, 04:58 AM   #12 (permalink)
Crazy
 
Location: Arnold, MD
I don't mind doing it through command line FTP, I just don't know how to set that up to automatically run at a set time with a set set of values. Like the directory to upload, the FTP server and dir to put it in and all the login info.

There is a local backup, but with the fail being only 200 MB, it is no big deal to be extra safe and put it on a remote server.

Last edited by j0hnb; 02-16-2006 at 05:01 AM..
j0hnb is offline  
 

Tags
backup, ftp, server


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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 07:50 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54