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 PM.

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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360