[slim] A Cautionary Tale..

2009-08-03 Thread socistep
Hi All, Thought I'd share with the board my big error over the weekend and also to highlight the importance of backup! I recently bought a 1tb external HDD to mirror my /storage folder on my server (running vortexbox), its got about 450gb worth of music, photos etc, I set this backup to run usin

Re: [slim] A Cautionary Tale..

2009-08-03 Thread Stuart Hickinbottom
I would suggest a look at rdiff-backup (http://rdiff-backup.nongnu.org) for a similar rdiff-like solution but which will also efficiently maintain a number of previous backup snapshots as well. It's easy to script and automate, and has worked well for me for a while. I run it nightly to an internal

Re: [slim] A Cautionary Tale..

2009-08-03 Thread maggior
socistep;445326 Wrote: > Hi All, > > > I navigated to /media/externalHdd to delete the storage folder there > which had incorrectly been created with the backup job, however I made a > fatal mistake and instead of > > rm -rf storage/* > > I did > > rm -rf /storage/* > > This then deleted t

Re: [slim] A Cautionary Tale..

2009-08-03 Thread epoch1970
A long time ago, well before sudo came to existence, I did, as root: "rm -rf . /foobar" where I wanted "./foobar". Oh well, homedir gone, ridiculed by colleagues etc. - never work as root. never. - always use "." to prepend your path when expressing relative paths - prefer developing a small wra