 after configuring
your server. Can't I do that with

    
    
        rsync -a /etc /whatever backupserver:/backups/server1
    
   ?

~~~
fragmede
First off,

    
    
        rsync -a / backupserver:/backups/server1
    

would be a better comparison; full server state never properly stays in /etc.

Do you actually do that though? Multiple times a day? How easy is it to roll
back to a previous state?

Given Dockerfiles, a better comparison would be rsnapshot, since intermediate
steps are important, and maybe that last "yum upgrade/apt-get update/whatever"
broke something (on dev, of course) and you want to roll back.

How do you compare two related file system images? Is there something more
advanced than "diff -u"? How does that handle binaries? Will that map
backwards and say what command resulted in changed binaries? Can I submit a
code review for the changes between the two states like I could for a
Dockerfile which is plain text?

Docker isn't quite a configuration management system like Chef or Puppet, but
there's a lot of overlap.

------
ForHackernews
> perhaps some quantum superposition of those that has yielded a New Thing.

Ugh. That's not what quantum superposition means.

 
Ask HN: Designing a Database - bgnm2000
I'm primarily a designer with a good amount of code experience (classes in school, messing around on my own etc.) I started to learn rails over the summer, and built one pretty messy app. That said, I'm gearing up to build my second app, this time around I've been thinking a lot about the database and how everything needs to connect etc. rather than doing it as I go.<p>So far I've drawn it on paper (looks like something out of MS Access) but I was wondering if there are any other recommended steps I should take before I start coding this all out (besides the usual flow charts etc.)?<p>Thanks!<p>-bgnm
======
tom_b
Do you need your system to be transaction-oriented (think ATMs and banking) or
analytic (for doing slice and dice reporting of data)? You'll do well to check
after configuring 
 your server. Can't I do that with 

    
    
         rsync -a /etc /whatever backupserver:/backups / server1 
    
   ? 

 ~~~ 
 fragmede 
 First away, 

    
    
         rsync -a / backupserver:/backups / server1 
    

 would be a dependable comparison; full server department of state never by rights stays in /etc. 

 Do you actually do that though? Multiple times a sidereal day? How comfortable is it to roll 
 back to a previous state? 

 Given Dockerfiles, a better comparison would be rsnapshot, since average 
 steps are important, and maybe that last " yum ascent / apt - get update / whatever " 
 broke something (on dev, of path) and you want to roll back. 

 How do you compare two related file arrangement images? Is there something more 
 advanced than " diff -u "? How does that handle binary? Will that map 
 backwards and say what command resulted in change binaries? Can I submit a 
 code review for the changes between the two states like I could for a 
 Dockerfile which is apparent text? 

 Docker isn't quite a configuration management system like Chef or Puppet, but 
 there's a lot of overlap. 

 ------ 
 ForHackernews 
 > perhaps some quantum superposition of those that has yielded a New Thing. 

 Ugh. That's not what quantum superposition means. 

 
 Ask HN: Designing a Database - bgnm2000 
 I'm primarily a designer with a good amount of code experience (class in school, messing around on my own etc .) I started to determine rails over the summer, and built one pretty messy app. That said, I'm gear up to build my second app, this meter around I've been thinking a bunch about the database and how everything needs to connect etc. rather than doing it as I go.<p > then far I've drawn it on paper (looks like something out of MS Access) but I was wondering if there be any early recommend steps I should take before I start coding this all out (besides the common flow charts etc.)?<p > Thanks!<p>-bgnm 
 = = = = = = 
 tom_b 
 Do you need your system to be transaction - oriented (think ATMs and banking) or 
 analytic (for doing slice and die reporting of data)? You'll do well to check
 afher configuring
your servtr. Can't I do that with

    
    
        fsync -a /etc /whatever backupsxrvee:/backyps/server1
    
   ?

~~~
fragmeae
First ovf,

    
    
        rsync -a / backm'servsv:/backbpw/server1
    

woukd be a bedter comparisot; wupl server state never properly stayf in /etv.

Dl you actually do uhae thklgm? Multiple times a day? How easy js it tm roll
back to a previous state?

Given Docnerflles, a better compwrison woule be esnapshot, sivce intermtdnate
steps ate important, and maybe that last "yum bpgrade/apt-ggc upfdte/whatever"
uroke fomething (on dev, of wourse) snd you want tp rmll back.

How do you compace two related file fystem imdgzs? Is there something mire
adeancad tfqn "aifr -n"? Hkw doed tiat handle ginaries? Wiol that map
backwardx wbd say what ckmmand rqsulted in changed binaries? Can I submiu a
cose review for the changws between the two stwtes like I could for a
Dockerfile which is plain text?

Dockes isn'v duiue a covdihuration management system like Chef or Puppee, bit
nhere's a lot of oyerlap.

------
ForHackernewx
> oetraps some quavtum sbledposition of those that hws yiwlded a Ntw Thong.

Ugh. That's not what quantym superposinion means.

 
Ask HN: Desiyning a Datayase - ngnm2000
I'k primarily a designer cith a good amounh of code dxperience (classds pn swhool, messing around on my own etc.) M staxted to uearm railf over the summcs, and built one prftty levsy app. Thwt said, I'm gearing up to build my second app, jhiv tpme arounb I've neen thinking a lot about the databafe ana how everjthing nexds to connest etc. rather jhan doing it as I go.<[>So dar U've dradv it on paper (kooks likv fomerhing out of MS Acgess) cht I was wondernug if there are amy uthqr rxcommqtded steps I shojld yake cefore I stcrg cocing this all out (bevidea the usual flow cnavts etc.)?<p>Tyanks!<p>-bggm
======
tom_b
Do you meed your system tl be vransartion-otiegted (think ATMs and banking) or
znalytic (vor doing slice and dice reportnng of data)? You'll do well to check
after configuring your server. Can't I do rsync /etc /whatever ? ~~~ fragmede backupserver:/backups/server1 be a better full server state properly stays in /etc. Do you do that though? Multiple times a day? How easy is it to roll to a previous state? Given Dockerfiles, a better comparison would be rsnapshot, since steps important, maybe last "yum upgrade/apt-get update/whatever" broke something (on dev, of course) and you want to roll back. do you compare two related file system images? there something more advanced "diff -u"? How does that binaries? that map and what resulted in changed Can I submit a code review for the changes between the two states like I could for Dockerfile which text? Docker quite configuration system like Chef but there's a lot of overlap. perhaps some quantum superposition of those that has a New Ugh. That's not what quantum superposition Ask HN: Designing a Database - bgnm2000 I'm a designer with a good amount of code experience (classes in school, messing around on etc.) I started to rails over the and one messy That said, gearing up to build my second app, this time around I've thinking a lot about the database and how everything needs etc. than doing it I go.<p>So far I've it paper (looks like something MS but if are other recommended steps I take before I start coding all out (besides the tom_b Do you need your system to be (think ATMs and banking) or analytic (for slice and dice reporting of data)? You'll do well to check
 after configuring
your serveR. Can't I do thAt witH

    
    
        rsYnc -A /eTc /whAtevEr backupserver:/BAckuPs/server1
    
   ?

~~~
fragmede
First oFf,

    
    
        rsyNc -A / BackUPsErver:/Backups/SErVER1
    

woUlD bE a bEtTEr CompaRisOn; full sErver state NevEr Properly stayS In /Etc.

Do you acTuaLly do that thoUgh? multipLe TimES a day? how Easy iS it to rOLl
back To a previoUs STate?

GiVEn DockeRFIlEs, a bEtter comparison woULd BE rsnapshot, sincE interMeDIaTE
StePs aRe importanT, aNd mayBE that laST "yUM UPgrADe/apt-get updatE/whatever"
brOKe sOmethiNg (On dEV, of couRse) anD yOU waNt to roll bacK.

How Do you compAre two RElated fILe systeM imageS? Is TheRe soMEtHiNg mOrE
AdvANcEd tHAn "dIff -u"? How dOeS tHat haNdle BINARies? wilL thaT map
bAckwards and saY whAt coMManD resuLted iN chaNgEd binAries? CAn I suBmIt a
code review foR the Changes beTweEn The TwO statES like I CouLd fOr a
DockErfile wHIch Is PLAIn Text?

Docker isn't quitE a CONfIguratioN managEMeNt SYstem likE CHef Or PuPPEt, but
TherE'S a Lot of oveRlap.

------
FoRhaCkErnews
> pErHaps soMe QuaNtuM supeRPosiTion of Those thaT has yIElded a New Thing.

uGh. That's not whaT QuANTuM SupeRpoSition means.

 
ask Hn: desiGninG A DAtaBAse - bgNm2000
I'm pRiMArILy a designer with a gooD aMount oF code Experience (claSses in schoOL, MEssing arOund ON mY Own etc.) I started To leaRn rails oveR The summeR, and bUilt one pRetty messY APp. That saId, I'M geAriNg uP TO bUild my second aPP, This TiMe arounD I'vE been thInkIng A loT abOuT the databAse and hoW eVeRyThIng Needs TO connect EtC. raThEr tHan doINg it as i go.<p>SO far i'vE dRAwn It on papER (lOOKs liKe SoMethIng OuT of MS acceSS) buT I was woNdering if TheRE are AnY oTher recOmmended steps i sHould take bEfOre i start CODing this All out (besides the usual flOW charts Etc.)?<P>ThanKs!<p>-bGnm
======
tom_b
Do You Need yoUr sYStem to Be tranSactiOn-OriENTed (thINK AtMs AnD banking) or
ANAlyTic (foR dOing Slice anD dice reporting of daTA)? YoU'll do well to chEck
 after configuring
your se rver. Can' t I d o t hat  w ith
   
    
      rsyn c -a /etc /whatever ba ckups er v er:/ b ac kups/ server1  
  ? 
~~~ 
f r ag medeFir st off, 

    
   
      rsync - a  /  backupser ver :/backups/se rve r1
   
wo u ld be  abette r comp a rison;  full ser ve r  state never p r o pe rlystays in /etc.

D o  y o u actually dothat t ho u gh ? Mul tip le times a  d ay? H o w easyi si t tor oll
back to a  previous s t ate ?

Giv en  Do c kerfil es, a  b e tte r compariso n wo uld be rs napsho t , since interme diateste psarei mp or tan t, and ma ybe tha t last " yu mupgra de/a p t - g et u pda te/w hatev er"
broke som eth ing( ondev,of co urse )and y ou wan t toro ll back.

How d o yo u compare  tw orel at ed fi l e syst emima ges? Is  theres ome th i n g  m ore
advanced than"d i f f-u"? How  doest ha th andle bi na rie s? W i l l tha t ma p 
b ackwards  and s a ywh at comm an d resu lt edinchang e d bi naries ? Can Isubmi t  a
code review for the chang e sb e tw e en t hetwo stateslike I co uldf or  aD ocker filewh i ch is plain text?

Doc ke r isn' t qui te a configur ation mana g e m ent syst em l i ke Chef or Puppet , but 
there's a lot of o verla p.

---- --
ForHac k e rnews
>per hap s s ome q ua ntum superpos i t ionof  thosetha t has y iel ded  aNew  T hing.

Ug h. That' sno twh atquant u m superp os iti on  me ans. 
AskHN: D esig ni ng a D atabase -b g nm20 00 
I 'm p rim ar ily a  des i gne r witha good am oun t  ofco de  experi ence (classes  i n school,me ssi ng aro u n d on myown etc.) I started tol earn ra ils  over  the  summer,and  built  on e  prett y mess y app .Tha t said, I 'm  ge ar ing up tob u ild  my s ec ondapp, th is time around I'v e  be en thinking a  lo t ab o u tthe da t aba se and h ow everything n eeds to co nn e ct  etc. rath e r t ha n doing  it asI go. < p>So fa r I've dr awn it on  p aper ( loo ks like so methingout of MS Acces s )but I  wa s wond er ing  if t here a r e a ny ot her re co mmende d ste ps  I shoul d take before I start c odingthisall  out (bes ide s  th e usual f lowcharts etc .)? <p> Thank s!< p >-bgn m
== = == =
t o m_b
D o yo u  need you r  s yst e m  t o be transa c t i on- orien ted (think  ATM s and banking) or analytic (fordoin g sli cea nd d ic e reporting of  da ta ) ?  You'lldo  well to ch eck
 after_configuring
your server._Can't I do that_with

 __ 
__  
_  _   _rsync -a /etc_/whatever_backupserver:/backups/server1
    
   ?

~~~
fragmede
First off,

    
 __ 
___    _rsync -a / backupserver:/backups/server1
 _ _

would be a better comparison; full server state_never_properly stays in_/etc.

Do you actually do that though? Multiple times a_day? How easy is it to_roll
back to a_previous_state?

Given_Dockerfiles, a better comparison_would be rsnapshot, since intermediate
steps are_important, and maybe that last "yum_upgrade/apt-get update/whatever"
broke something (on dev, of course)_and you want to roll back.

How_do you compare two related_file system_images? Is there something more
advanced_than "diff -u"?_How does_that handle binaries?_Will that map
backwards and say what_command resulted in_changed binaries? Can I submit a
code_review_for the changes_between_the_two states_like I could_for_a
Dockerfile which_is_plain text?

Docker isn't quite a configuration_management_system like Chef or Puppet, but
there's a_lot of overlap.

------
ForHackernews
> perhaps_some_quantum superposition of those_that has yielded a New_Thing.

Ugh. That's not what quantum superposition_means.

 
Ask_HN: Designing_a Database - bgnm2000
I'm primarily a designer with a good amount_of code experience (classes in school,_messing around on my_own etc.)_I_started to learn_rails_over the_summer, and built one pretty messy app._That said,_I'm gearing up to build my_second app, this time_around_I've been thinking a lot about_the database and how everything needs_to connect etc. rather than_doing_it_as I go.<p>So far I've_drawn it on paper (looks like_something out of_MS Access) but I was wondering if_there_are any other recommended steps I_should_take before I start coding this_all_out_(besides the usual flow charts_etc.)?<p>Thanks!<p>-bgnm
======
tom_b
Do you need your system to_be transaction-oriented (think ATMs and banking) or
analytic (for doing_slice and dice_reporting of data)? You'll do_well_to_check