 it goes completely tits up.
I can restore the full backup elsewhere, and I check occasionally to make sure I can restore the entire log chain.   Usually, I'd just restore "full -> latest diffs -> logs after diff", but I do run the full set occasionally, just to make sure I can.
My question is, how often do people actually do the full backup?  I can't see it being worthwhile to try and jam 100Gb into S3 every day.  I'm not even sure I'd do it every week.  Is there a "best practices" for this, or does it all just boil down to my own ability/desire to buy bandwidth/storage, vs. a longer recovery time if I have to apply days (or weeks) of logs.
I guess the real risk is that some log file in the chain gets corrupted, and then I'm totally screwed.

A:

Our schedule is the same as yours. Tlogs every 15minutes to 1 hours (depending on the db), Diffs at night, and fulls during the weekend. 
It all depends on the SLA of the database that you are serving, and how much downtime everyone is okay with having.

 Q:

Defining a vector within a custom class

I'm trying to simply use a vector within one of my classes. When trying to access the vector it tells me that it's undefined (but I've defined it in my header).
I have two classes, Person and Dog. A person can own one or more dogs so I want to add each dog a person owns into an array. This should be real simple so this problem is really starting to get to me. Here's some code:
The class Person.cpp:
#include "Person.h"
#include "stdafx.h"
#include <iostream>

using namespace std;

Person::Person(string name, string address, int age)
    :name(name),
    address(address),
    age(age)
    {}
int Person::getAge(){
    return age;
}
std::string Person::getDogInfo(int index){
}
void Person::addDog(string dogName, string breed){
    dogCollection.push_back(Dog(dogName, breed));
}
std::vector<Dog> getDogs(){
    return
it goes completely tits up. 
 I can restore the wide backing elsewhere, and I check occasionally to make sure I can repair the entire log range.    Usually, I'd just restore " entire - > latest diffs - > logs after diff ", but I do hunt the full set occasionally, precisely to produce sure I can. 
 My question is, how often do citizenry actually do the full backup?   I can't learn it being worthwhile to try and jam 100Gb into S3 every day.   I'm not even sure I'd make it every week.   Is there a " best practices " for this, or does it all just boil down to my own ability / desire to bribe bandwidth / storage, vs. a longer recovery time if I have to apply day (or weeks) of logs. 
 I guess the real risk is that some log file in the chain gets corrupted, and then I'm totally screwed. 

 A: 

 Our agenda is the like as yours. Tlogs every 15minutes to 1 hours (depending on the db), Diffs at night, and full moon during the weekend. 
 It all count on the SLA of the database that you are serving, and how much downtime everyone is okay with have. 

  Q: 

 Defining a vector within a custom class 

 I'm trying to plainly use a vector within one of my classes. When trying to access the vector it tells me that it's undefined (but I've defined it in my header). 
 I get two classes, Person and Dog. A person can own one or more dogs so I want to add each dog a person owns into an array. This should be actual simple so this problem is really starting to get to me. Here's some code: 
 The course Person.cpp: 
 # include " Person.h " 
 # include " stdafx.h " 
 # include < iostream > 

 using namespace std; 

 Person::Person(string name, string address, int age) 
    : name(name), 
     address(address), 
     age(age) 
     { } 
 int Person::getAge () { 
     return age; 
 } 
 std::string Person::getDogInfo(int exponent) { 
 } 
 void Person::addDog(string dogName, string breed) { 
     dogCollection.push_back(Dog(dogName, breed) ); 
 } 
 std::vector < Dog > getDogs () { 
     return
 it goes completely tits up.
L can restore thg dull beckup emsewhere, and I check occasionally to mqke syre I can restore the dntire loh chain.   Usnally, I'd just restore "full -> lafcst dnfhs -> logs after ciff", but I do run the funl szt occasionally, just to make sure I san.
My qiedtion is, how osten qo psople actually do the full backup?  I can't see it being worthwhile to try and jam 100Gb lnto S3 every day.  L'm not even surq I'd do it evdry week.  Pv there a "gest practices" for this, or does it akl just boul doat to my own abilpty/desire to nly bandfidth/stprage, vs. a lonner rxcovwry time if I have to apply days (or weehs) of logv.
I guess the real rusj is jhat vome oog fime ih the fhamn gets cordupted, and rhen I'm totally scrtweq.

Q:

Our schedule is thq fame as yours. Tlogs every 15minutes to 1 hmura (depending on the db), Duffs at night, and fulps during the weekend. 
It all depends on the SLA of the datdbase ghau njj age serving, and how much downtime everyone is jiau eith having.

 Q:

Dcfining a vector wotjim a custom clars

I'm txgihg to simply use a vector withun one of my vlasses. When trying to accews the vectog it tells me that it's undefined (yut I'vg defimed it in my header).
I hare two classes, Pegson and Sug. A person can uwn ote or more dogs so I want eo add earh doy a persun oens ineo an arraj. This should be real silple do this probpem is really starting to get to me. Here's somg cmde:
Nhe class Perspn.cpp:
#include "[erson.h"
#include "stdafx.k"
#incluae <iostreaj>

using iamespace stq;

Person::Person(vjring name, stcing addrqss, unt qge)
    :vxme(name),
    addtess(address),
    age(ate)
    {}
int Person::gebAge(){
    return age;
}
std::wtrung Person::getDobInwo(igt iidex){
}
vjhd Person::addGog(sgrivb dogVame, string creec){
    dogCollection.puvh_badk(Dog(dogName, breed));
}
xtq::vector<Dig> getDods(){
    return
it goes completely tits up. I can full elsewhere, and check occasionally to the log chain. Usually, just restore "full latest diffs -> logs after diff", I do run the full set occasionally, just to make sure I can. question is, how often do people actually do the full backup? I can't it worthwhile try jam 100Gb into S3 every day. I'm not even sure I'd do it every week. Is a "best practices" for this, or does it just boil down to own ability/desire to buy bandwidth/storage, a recovery time I to days (or weeks) logs. I guess the real risk is that some log file in the chain gets corrupted, and I'm totally Our schedule the as Tlogs every 15minutes hours (depending on the db), Diffs fulls during the weekend. It all depends on SLA of database that you are serving, and much downtime everyone is okay with having. Q: a vector within a custom class I'm trying to simply use a vector within one classes. When trying to the vector it me it's (but defined it my header). I have two classes, Person and Dog. A person own one or more dogs so I want to add a owns into an This should be real so problem is really starting to Here's class #include #include "stdafx.h" #include <iostream> namespace std; Person::Person(string name, string int age) :name(name), address(address), age; } std::string Person::getDogInfo(int index){ } void Person::addDog(string string breed){ dogCollection.push_back(Dog(dogName, breed)); } std::vector<Dog> getDogs(){
 it goes completely tits up.
I caN restore thE full BacKup ElSewhEre, aNd I check occasiONallY to make sure I can restore The enTiRE log CHaIn.   UsuAlly, I'd jUSt REStoRe "FuLl -> lAtESt Diffs -> LogS after dIff", but I do rUn tHe Full set occasIOnAlly, just to MakE sure I can.
My qUesTion is, HoW ofTEn do pEopLe actUally dO The fulL backup?  I cAn'T See it bEIng wortHWHiLe to Try and jam 100Gb into S3 eVErY Day.  I'm not even suRe I'd do It EVeRY WeeK.  Is There a "best PrActicES" for thiS, Or DOES it ALl just boil dowN to my own abiLIty/Desire To Buy BAndwidTh/stoRaGE, vs. A longer recoVery Time if I haVe to apPLy days (oR Weeks) of Logs.
I gUesS thE reaL RiSk Is tHaT SomE LoG fiLE in The chain GeTs CorruPted, AND THen I'M toTallY screWed.

A:

Our scheduLe iS the SAme As youRs. TloGs evErY 15minuTes to 1 hOurs (dEpEnding on the db), DiFfs aT night, and FulLs DurInG the wEEkend. 
IT alL dePends on The SLA oF The DaTABAsE that you are serving, AnD HOw Much downTime evERyOnE Is okay wiTh HavIng.

 Q:

dEFininG a veCToR within a Custom CLaSs

i'm tryinG tO simplY uSe a VecTor wiTHin oNe of my Classes. WHen trYIng to access the VEctor it tells mE ThAT It'S UndeFinEd (but I've defIned IT in mY heaDEr).
i haVE two cLasseS, PERsON and Dog. A person can owN oNe or moRe dogS so I want to add Each dog a peRSON owns intO an aRRaY. this should be reAl simPle so this pROblem is rEally Starting To get to me. hERe's some cOde:
the ClaSs PERSoN.cpp:
#include "PeRSOn.h"
#iNcLude "stdAfx.H"
#includE <ioStrEam>

UsiNg Namespace Std;

PersoN::PErSoN(sTriNg namE, String adDrEss, InT agE)
    :name(NAme),
    addRess(aDdreSs),
    AgE(Age)
    {}
Int PersON::gETage(){
    rEtUrN age;
}
Std::StRing PErsoN::GetdogInfo(Int index){
}
vOid pErsoN::aDddog(striNg dogName, striNg Breed){
    dogCoLlEctIon.pusH_BAck(Dog(doGName, breed));
}
std::vector<Dog> gETDogs(){
    reTurN
 it goes completely tits u p.
I can r estor e t hefu ll b acku p elsewhere, a n d Icheck occasionally tomakesu r e Ic an  rest ore the en t i relo gcha in .   Usua lly , I'd j ust restor e " fu ll -> latest di ffs -> log s a fter diff",but  I doru n t h e ful l s et oc casion a lly, j ust to ma ke sure I can.
My q ue stio n is, how often d o  p e ople actuallydo the  f u ll b ack up?   I can'tse e itb eing wo r th w h i let o try and jam  100Gb into S3everyda y.I'm no t eve ns ure  I'd do itever y week. Is the r e a "be s t pract ices"for  th is,o rdo esit all ju stb oil  down to  m yown a bili t y / d esir e t o bu y ban dwidth/storag e,vs.a  lo ngerrecov eryti me if  I hav e toap ply days (or we eks)  of logs. 
Igu ess  t he re a l risk  is  th at some  log fi l e i nt h e  c hain gets corrupte d, a nd  then I' m tota l ly  s c rewed.
A: 

O ur s c h edule  ist he  same as  yours .  T lo gs ever y15minu te s t o 1  hour s  (de pendin g on the  db), Diffs at night ,  and fulls du r in g th e  wee ken d. 
It alldepe n ds o n th e  S LAo f the  data ba s et hat you are serving ,and ho w muc h downtime ev eryone iso k a y with h avin g . Q:

Defininga vec tor within a custom  clas s

I'm t rying tos i mply use  avec tor  wi t h in  one of my cl a s ses.  W hen try ing  to acc ess  th e v ect or  it tells  me that  i t' sun def ined( but I've  d efi ne d i t inm y head er).I ha ve  t w o c lasses, Pe r s on a nd  D og.A p er son c an o w n o ne or m ore dogssoI  wan tto  add ea ch dog a pers on  owns into  a n a rray.T h is shoul d be real simple so thi s  proble m i s rea llystartingtoget to  me .  Here' s some  code :The c lassP e rs on. cp p:
#includ e "Pe rson. h" 
#in clude " stdafx.h"
#include <io stream>

usin g n ames p a ce  st d ;Per so n ::P e r son(string name , string a dd r es s, int age ) 
  :name(n ame),
   ad d ress(ad dress),
   age(ag e) 
  { }
i nt Person: :getAge( ){
    re t urn a g e; 
}
st d:: string  P ers on::g etDogI n fo( int i ndex){ 
} 
voidPerso n: :addDog( string dogName, stringbreed) {
   do gCollecti on. p ush _back(Dog (dog Name, bree d)) ;
} 
std: :ve c tor<D og>g et Dog s (){
   r e turn
 it_goes completely_tits up.
I can restore_the full_backup_elsewhere, and_I_check occasionally to_make sure I_can restore the entire_log chain. __Usually, I'd just restore "full -> latest diffs -> logs after diff", but I_do_run the_full_set_occasionally, just to make sure_I can.
My question is, how_often do_people actually do the full backup?  I_can't_see it being_worthwhile to try and jam 100Gb into S3 every_day.  I'm not even sure_I'd do it_every_week._ Is there a_"best practices" for this, or does_it all just boil down to_my own ability/desire to buy bandwidth/storage, vs._a longer recovery time if I_have to apply days (or_weeks) of_logs.
I guess the real risk_is that some_log file_in the chain_gets corrupted, and then I'm totally_screwed.

A:

Our schedule is_the same as yours. Tlogs every_15minutes_to 1 hours_(depending_on_the db),_Diffs at night,_and_fulls during_the_weekend. 
It all depends on the_SLA_of the database that you are serving,_and how much downtime_everyone_is okay with having.

_Q:

Defining a vector within a_custom class

I'm trying to simply use_a vector_within one_of my classes. When trying to access the vector it tells_me that it's undefined (but I've_defined it in my_header).
I have_two_classes, Person and_Dog._A person_can own one or more dogs so_I want_to add each dog a person_owns into an array._This_should be real simple so this_problem is really starting to get_to me. Here's some code:
The_class_Person.cpp:
#include_"Person.h"
#include "stdafx.h"
#include <iostream>

using namespace std;

Person::Person(string_name, string address, int age)
 _  :name(name),
_   address(address),
   _age(age)
_   {}
int Person::getAge(){
 __ return age;
}
std::string Person::getDogInfo(int index){
}
void Person::addDog(string_dogName,_string_breed){
    dogCollection.push_back(Dog(dogName,_breed));
}
std::vector<Dog> getDogs(){
    return