LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-13-2010, 06:36 AM   #1
antechrist
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
Exclamation (Solved) Daily backups on USB device.


hey everyone,

I am about to write a script to manage daily backup on a USB HDD.
The server that holds the data works 24 hours a day and therefor, is seldom rebooted.

I have 2 options :

OPT 1 : I mount the usb drive once and for all, and copy the data to it when I need to (twice a day, no more) and never unmount it. Except when the server is rebooted of course.

and OPT 2 : I mount the drive, copy the data and unmount it ASAP twice a day when the time has come to backup the data.

So, what would you do, and why would you do it like that ?

Kind regards,

Last edited by antechrist; 08-16-2010 at 05:02 AM.
 
Old 08-13-2010, 08:33 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

A backup is made with the purpose of being able to restore data if something goes wrong. Seen from that point of view it is a very bad habit to have your backups close to the machine(s) or even in the same room.

Mount the drive, make the backup, unmount the drive and store the drive in a safe place (preferably off-site, or in a fire proof/resistant safe). Also check on a regular base if the backup you made can be restored.

A few horror scenario's I've encountered:
- Fire in one of the computer rooms: Tape unit and tapes also burned, they were in the same room.
- Unable to restore crashed system: Backups were in a different room, but on top and next to a (crt) monitor, which made them useless over time.

All this does depend a bit on the importance of the data, but I hope you get the point

Hope this helps.
 
Old 08-16-2010, 05:01 AM   #3
antechrist
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Mmmm, (didn't think of that.)...

Thanks for the advice. I'll keep it in mind.
 
  


Reply



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
How to do backups to external USB drive webwired Linux - Newbie 3 03-06-2010 03:57 PM
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
postgres daily/weekly/ automated backups sir-lancealot Linux - Server 1 05-13-2008 07:00 PM
Advice? Best way to move files daily to a daily "date" named directory ziphem Linux - Newbie 2 04-15-2007 08:03 AM
How to force kernel to use a USB 2.0-compatible device (ehci_hcd) as a USB 1.1 device eze Linux - Hardware 0 05-16-2006 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:57 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
Open Source Consulting | Domain Registration