LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-13-2009, 06:16 AM   #1
tqz
Member
 
Registered: Jan 2008
Posts: 67

Rep: Reputation: 15
Bacula backup and restores


Hello all

Lets say in the event that disaster strikes and all data on my server is lost for whatever reason. I have encrypted backups of the data on the server stored on tapes (on and off site) and NAS.

After reinstalling my database management system, and then firing up bacula using copies I have of the director, client and storage daemon files how can I then read the catalog from the encrypted tape. Is there any way I can test this without overwriting the bacula database. Also is there a way to read files (the director, storage and daemon) off the encrypted storage and then restoring them using bacula command line tools or non bacula command line tools….or am I not making any sense?!…

Second thing is that I am noticing that the size of the backups on my different storage devices are different. So for example the first backup occurs on the tape and the size of the backup is 14.09gb, then on my second storage device it will be 14.12gb and my third one is 14.16gb. They are all full backups ??? Any idea why there may be different sizes....

Thanks for any help in advance!!!
 
Old 08-13-2009, 08:43 AM   #2
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

Rep: Reputation: 105Reputation: 105
Don't ever lose your keys! Document them and keep them on paper in a safe location.

Non Bacula tools won't do.

Difference in sizes can be due to differences in media - block sizes, record headers, etc. You see this when you copy files between disk drives of different sizes.

Testing is important. Set up a smaller test environment where you can trash and restore things.
 
Old 08-13-2009, 09:14 AM   #3
tqz
Member
 
Registered: Jan 2008
Posts: 67

Original Poster
Rep: Reputation: 15
Hi choogendyk and thanks for your response!

My keys are in a safe location - 2 safe locations so far as well as a few 'unsafe' locations!

Thanks for giving me one possible reason as to why the size of the backups may possibly be different. I'm not 100% sure that is the case (maybe so for different types of media, but not for the two NAS)....so will do some further digging to be sure.

Many thanks for your help!
 
Old 08-13-2009, 07:35 PM   #4
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

Rep: Reputation: 105Reputation: 105
Are the two NAS identical? Made up of the same number of the same size disk drives, formatted the same, partitioned the same, etc?
 
Old 09-02-2009, 11:05 AM   #5
tqz
Member
 
Registered: Jan 2008
Posts: 67

Original Poster
Rep: Reputation: 15
Hi choogendyk

Apologies, for some reason I have only read your latest response now!

I didnt get to the root as to why the backup sizes were different on the the various storage devices. I am only using bacula to backup data to my tapes now (need to use rsync for the NAS devices for reasons I wont go into in this post), so this isnt really an issue now. But thanks for all the help!

Just a couple of questions on bacula though:-

I was told that if my tape is encrypted i couldnt restore the contents of the tape (in a complete distaster recovery situation) even if I had the bacula config files, the encryption keys, and use bscan to recreate the catalog from the tape. Is this correct???

Also, do you know whether its possible to encrypt everything on the tape apart from the the catalog??? I dont think you can, but I am no bacula expert...or even a system admin so have no clue....

Thanks for all your help once again!

t.
 
Old 09-02-2009, 07:04 PM   #6
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

Rep: Reputation: 105Reputation: 105
I don't see why you couldn't recover it, given that you have the keys. I don't actually use Bacula myself, though I've followed it for quite a long time. There was just the question you ask on the Bacula users list in the last week, and the answer from the experts on the list was that you could recover if you had the keys. You could check their list archives if you want the full answer that was given.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup using bacula rosv Linux - Server 13 10-29-2011 09:51 AM
Bacula backup windows > linux Nemie Linux - Server 9 10-20-2008 01:55 PM
bacula - backup growing to large neocontrol Linux - Software 6 10-14-2008 04:53 PM
bacula - trying to backup a file with a changing name? neocontrol Linux - Server 1 05-07-2008 09:40 PM
Help with Bacula OR choosing backup software jantman Linux - Software 3 10-15-2007 07:39 PM


All times are GMT -5. The time now is 11:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration