![]() |
|
|||||||
| OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|||
|
Hi everyone,
I have a mailserver (OpenBSD 4.7 : wd0a, wd0b slices). I want to backup entire OS. So i done that : Plug on the mailserver a USB Hard-disk (FAT32, sd0i) mount /dev/sd0i /mnt dump -0auf /mnt/backup_os wd0a -> terminated without any errors. I have an other machine (exactly the same hardware than the mailserver machine), i want now to restore my dump on it. I booted OpenBSD 4.7 iso release I choosed [SHELL] use fdisk and diskpart utility for create slices (wd0a, and wd0b) newfs wd0a mount /dev/wd0a /mnt mount /dev/sd0i /mnt2 cd /mnt restore -rf /mnt2/backup_os I ve got a lot of errors like : Expected next file 164898, got 102090 And inode errors… Please how can i restore my dump without any errors ? thanks. |
|
||||
|
You are backing up a system with open files and running processes. Guaranteed 100% filesystem integrity can only be assured by backing up a static system from single user mode.
If your mail server uses a database, you can back up modern DBMSes with full integrity while they are operational using the DBMS tools.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
What is DBMS Tools ?
|
|
|||
|
Each of the major databases (MySQL, PostgreSQL, etc.) have their own tools. Look into the documentation associated with whatever you are currently using.
Likewise, is there a reason why you are using FAT32? Why not FFS? |
|
||||
|
DBMS
Quote:
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
![]() |
| Tags |
| backup openbsd slices restore dump |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Stop Spam from ISP Mailserver | Simon | OpenBSD Security | 1 | 27th April 2010 01:03 PM |
| Mailserver for websites | xCipherx | FreeBSD Ports and Packages | 4 | 13th April 2010 03:56 PM |
| Partitioning for web/mailserver? | DrKrall | OpenBSD Installation and Upgrading | 3 | 20th November 2009 12:14 PM |
| backup freeBSD 7.0 using Backup Exec | ccc | FreeBSD General | 2 | 25th April 2009 09:23 PM |
| freebsd mailserver | Demodog | FreeBSD Ports and Packages | 19 | 10th June 2008 07:25 PM |