[identity profile] polarbee.livejournal.com posting in [community profile] techrecovery
Yes, your lovely TeraStation is a joy of modern technology. Look! One WHOLE TERABYTE! Nifty.

Be that as it may, no I cannot magically make your 40GB user shared folder back up every day to a separate folder on the NAS. Even if you had gone for the 2TB, I could not accomplish this magical Mary Poppins feat.

For the one millionth time, please let me point your attention to the shadow copies as that is what you are actually really attempting to do here. They are there! I promise! USE THEM! They are your friend.

ETA: My lesson of the day: Drink coffee, then type. That should be 140GB. Technically this might fit if not for the other stuff being stored there as well.

Date: 2008-09-10 04:52 pm (UTC)
From: [identity profile] gholam.livejournal.com
Um, why not? It's a simple script that you run from task scheduler... of course shadow copies are better, but there is nothing impossible about automatically backing up 40GB to a new location every day. If the client insists - it's his money.

Date: 2008-09-10 04:52 pm (UTC)
From: [identity profile] mattcaron.livejournal.com
Uhm. Why not? Seems like a very easy cron-able task to me.

Date: 2008-09-10 05:03 pm (UTC)
From: [identity profile] gholam.livejournal.com
Still does not compute. 140GB, assuming a conservative 5MB/s transfer speed, will take about 8 hours to copy - that quite fits the definition of "overnight". You'll need to insert a check into the script that will clean up old copies as the target runs out of room, but that isn't at all difficult.

Date: 2008-09-10 05:04 pm (UTC)
From: [identity profile] gholam.livejournal.com
Getting cron to run on a system that does shadow copies isn't trivial at all :)

Date: 2008-09-10 05:10 pm (UTC)
From: [identity profile] gholam.livejournal.com
So tell him to either settle for 3-5 copies, or buy a larger model. Or, as an alternative, grab these two scripts (http://gholam.livejournal.com/76836.html), set them up to run on his server along with a VSS snapshot every hour or two, and explain to him that instead of one snapshot a day with a 3-5 day retention period, he's getting a snapshot every hour, with a retention period several months long. In parallel, set up a robocopy task to synchronize the share to the terastation to keep a "most current" copy for disaster recovery.

Date: 2008-09-10 05:20 pm (UTC)
From: [identity profile] gholam.livejournal.com
This is the part where you look smug (bonus points if you transmit the smugness over telephone) and say, "See, I told you so!" :)

Date: 2008-09-10 06:38 pm (UTC)
From: [identity profile] jimbojones.livejournal.com
http://cronw.sourceforge.net/

:)

Date: 2008-09-10 06:39 pm (UTC)
From: [identity profile] jimbojones.livejournal.com
or: http://surguy.net/articles/icron.xml

cron on windows is older than VSS on windows, by a long shot!

Date: 2008-09-10 06:40 pm (UTC)
From: [identity profile] gholam.livejournal.com
Um, but what's the point, considering that OS already has a full-featured task scheduler and multiple scripting engines?

Date: 2008-09-10 06:41 pm (UTC)
From: [identity profile] gholam.livejournal.com
What does cron have to do with VSS?

Date: 2008-09-10 06:41 pm (UTC)
From: [identity profile] jimbojones.livejournal.com
Probably the same point as you snarking about whether or not cron was available in the first place? (IOW: absolutely nothing but smartassery.)

Besides, the interface to the windows task scheduler BLOWS.

Date: 2008-09-10 06:45 pm (UTC)
From: [identity profile] jimbojones.livejournal.com
Getting cron to run on a system that does shadow copies isn't trivial at all :)


You tell me, you brought it up.

If you've lost track already, you snarked (presumably lightheartedly) at mattcaron for talking about cron in the context of an OP that mentioned VSS; I snarked (presumably lightheartedly) back; then you got your panties in a knot.

You're gonna have to untangle them on your own, I'm not going in there.

Date: 2008-09-10 06:46 pm (UTC)
From: [identity profile] gholam.livejournal.com
I kind of prefer task scheduler's interface to cron's lack thereof.

Date: 2008-09-10 06:57 pm (UTC)
From: [identity profile] jimbojones.livejournal.com
If I have a task that needs to run hourly, I do this in my crontab:

# min hr day mon wday task
   0  *  *   *   *    /path/to/task


Whereas in Task Scheduler, I have to first set the task to run daily, then pick a start time, then pick a one day repeat, then click Advanced, then pick a start date, then check Repeat Task, tell it to repeat every (1) (hours), tell it to do so Until (duration) (23) hours (59) minutes, then OK, then apply. And go over that tortured logic again and hope it still makes sense.

I can understand being scared of text interfaces if you're not used to them. And it wouldn't hurt to have a GUI available for modifying crontabs (which is probably why there are several of them available). But actually championing the Task Scheduler interface? Mind-boggling.
Edited Date: 2008-09-10 06:57 pm (UTC)

Date: 2008-09-10 07:01 pm (UTC)
From: [identity profile] captpackrat.livejournal.com
Assuming a Windows system, how about SyncBack (http://www.2brightsparks.com/syncback/syncback-hub.html)? Instead of doing a straight copy of all the data every single time, SyncBack can only copy files that have been changed.

I back up about 90 Gigs of data every night to a Firewire drive. It takes about 5-15 minutes because 88-89.5 Gigs of that data rarely changes.

(Of course, the initial backup will take hours, yes, but you only have to do it once.)

There's a free version available, as well as $30 and $50 versions that offer additional features.

Date: 2008-09-10 07:35 pm (UTC)
From: [identity profile] taleya.livejournal.com
destruction of keyboard, invoice in the mail, etc etc

Date: 2008-09-10 08:30 pm (UTC)
From: [identity profile] mattcaron.livejournal.com
I actually just rsnapshot (http://www.rsnapshot.org/) my data. But then again, it requires a filesystem which supports hardlinks. :-)

Date: 2008-09-10 08:46 pm (UTC)
From: [identity profile] gholam.livejournal.com
Uh, you mean like NTFS 3.0? The one introduced in Windows 2000? And in any case, VSS works at block level, so if you have large files with small changes, you end up copying only the 4KB blocks instead of multi-gigabyte files.

Date: 2008-09-10 08:58 pm (UTC)
From: [identity profile] mattcaron.livejournal.com
Considering I stopped using Windows at NT4, yeah, that's probably what I mean. :-)

Date: 2008-09-10 09:12 pm (UTC)
From: [identity profile] vulpisfoxfire.livejournal.com
Heh. Is 'Feducated' a term yet? IIRC, doesn't that kind of 'cracking' require physical access to the computer, and isn't doable by remote? Of course, if you did this across the network, then maybe I can see the problem, given that the average 'cracker' has free access to better tools to get in than cheapskate federally-funded departments have to keep them out. ;-) Then again, if their firewall setup is done right, someone would still have to be *inside* the network to do it even then...

Date: 2008-09-10 10:07 pm (UTC)
From: [identity profile] mattcaron.livejournal.com
I use rsync to do the same thing.

Date: 2008-09-11 02:24 am (UTC)
jecook: Mirror Kirk laughing and words "I'm sorry, I can't here you over the sound of how awesome I am" (flaming sarcasm)
From: [personal profile] jecook
*awards you 500 gold coins, and the bill for cleaning gummie bears off the monitor*

Date: 2008-09-11 03:48 am (UTC)
From: [identity profile] jimbojones.livejournal.com
And cwrsync is available for the windows platform.

To be fair, cwrsync has its warts, and a w32-specific app might very well be better for non-cross-platform purposes.

(but I hear ya, brother. now if only w32 had user-accessible hard links...)

Date: 2008-09-11 01:10 pm (UTC)
From: [identity profile] mattcaron.livejournal.com
Ask [livejournal.com profile] gholam - he says that windows has had hard links since 2k. I figured he was right because I really haven't used it since NT.

Profile

techrecovery: (Default)
Elitist Computer Nerd Posse

April 2017

S M T W T F S
      1
2345678
91011121314 15
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 20th, 2026 03:31 pm
Powered by Dreamwidth Studios