View previous topic :: View next topic |
Author |
Message |
deurk Apprentice
Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Sun Aug 17, 2003 9:09 am Post subject: Security - nightly backup |
|
|
Hi guys...
I was just wondering if, instead of putting a RAID1 solution (which I can't seem to be able to get to work), I could just do a nightly backup from one disk to the exact same one with something like:
Code: | # dd if=/dev/hda of=/dev/hdc |
Would it work??
|
|
Back to top |
|
|
deurk Apprentice
Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Sun Aug 17, 2003 10:43 am Post subject: |
|
|
Hmmm, maybe it would be a little long for 80G... What if I do that then a diff every night?
Any good ideas? |
|
Back to top |
|
|
endu n00b
Joined: 03 Jul 2003 Posts: 18 Location: CH
|
Posted: Sun Aug 17, 2003 12:12 pm Post subject: |
|
|
i didn't do a raid1 because if i delete a file accidentally i would lose it.
for my MP3s i use just:
Code: |
cp -Ruv /mnt/disks/songs/* /mnt/disks/songs_save/songs/ > $logfile
|
if i delete a file the file don't gets deleted on the second harddisk.
and every month i do a full backup.
i think this doesn't make sense in all uses. but for the MP3s it's good enough. |
|
Back to top |
|
|
deurk Apprentice
Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Sun Aug 17, 2003 12:42 pm Post subject: |
|
|
True...
The thing is that datas I want to backup are fairly important (mail server, web server, etc) and I would like to make sure that I won't loose anything else more than one day...
And I'd like to be able to switch one disk to another if anothing goes wrong... |
|
Back to top |
|
|
|