|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Yet another backup question
Another backup question?
Right now I'm installing FreeBSD 7 with KDE on Latitude D420 . Once the installation and configuration is done I want to create a backup of my installation so that I can restore it in future. I searched the web and this foroum and found two tools "dd" and "dump". Problem with dd is that it'll copy all the sectors wether they are used or not, so I believe that for my 60GB hd I'll need equal amount of backup space, which is bit expencive in terms of space. Now with dump can I just dump root "/" on an external drive and restore it back in future with restore. If yes can some one please tell me the command. I don't want to dump it to a single file like backup.dump, instead I would prefer to dump the contents of "/" in a directory in my external drive which is mounted at "/mnt/backup". And what is the procedure to restore such dump. install the base system and use restore to copy the contents from /mnt/backup back? If yes what is the command? I tried few things but they didn't work. Don't know what is wrong. |
|
||||
check this.
http://daemonforums.org/showthread.php?t=2238 you can dump any of filesystems (entire filesystem) simplified example dump .... / - will dump root, but won't dump /var, /usr etc |
|
|||
I've been using dump to backup my 4 disk RAID 5 configuration running FreeBSD 6.2.
I have tested a restore of the full system using the method 'killasmurf86' explains onto a single drive in a different computer and it all works well. I would recommend dump over dd. Just make sure you test a restore of your backup. |
|
|||
Quote:
|
|
|||
Yes it will, but it is advisable to have separate partitions for /var and /etc.
For instance if you have a print job go crazy and fill up your /var directory then your computer will not crash, it will just fill up the /var partition. The way you have it setup currently it will crash. If you backup and restore on to a new drive you can fix this up in the process. |
|
|||
Quote:
|
Tags |
backup, dump, restore |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
external drive partition question + fdisk question | gosha | OpenBSD General | 15 | 15th June 2009 02:00 PM |
backup freeBSD 7.0 using Backup Exec | ccc | FreeBSD General | 2 | 25th April 2009 09:23 PM |
The best way to backup windows | TerryP | Other OS | 4 | 8th February 2009 10:32 PM |
Backup script(s)? | giddyupman | General software and network | 2 | 3rd January 2009 02:06 PM |
How to backup my system | PatrickBaer | FreeBSD General | 4 | 16th July 2008 08:12 PM |