Re: dump and restore

2008-07-19 Thread Lowell Gilbert
Peter Boosten <[EMAIL PROTECTED]> writes: > Malcolm Kay wrote: >> On Sat, 19 Jul 2008 06:51 am, Peter Boosten wrote: >>> >>> The /usr/ partition was 74Gb, and it took (according to dump >>> 52631 seconds (~ 14.5 hours) to copy. Both disks are IDE, in >>> the same machine on different IDE controlle

Re: dump and restore

2008-07-18 Thread Peter Boosten
Malcolm Kay wrote: On Sat, 19 Jul 2008 06:51 am, Peter Boosten wrote: The /usr/ partition was 74Gb, and it took (according to dump 52631 seconds (~ 14.5 hours) to copy. Both disks are IDE, in the same machine on different IDE controllers. The time for dump/restore normally depends more on the

Re: dump and restore

2008-07-18 Thread Malcolm Kay
On Sat, 19 Jul 2008 06:51 am, Peter Boosten wrote: > Hi all, > > My harddisk was failing and I wanted the data copied to > another disk, but since my original wouldn't boot, I installed > a minimal FreeBSD on the new disk, mounted the old partitions > under /mnt and copied from the original to the

Re: dump and restore

2008-07-18 Thread Wojciech Puchar
since my original wouldn't boot, I installed a minimal FreeBSD on the new disk, mounted the old partitions under /mnt and copied from the original to the new partitions by using: dump 0af - /dev/ad2s1[adef] | restore xf - (the partitions adef where done one by one) The /usr/ partition was 74G

Re: dump and restore

2008-07-18 Thread Roland Smith
On Fri, Jul 18, 2008 at 11:21:26PM +0200, Peter Boosten wrote: > Hi all, > > My harddisk was failing and I wanted the data copied to another disk, > but since my original wouldn't boot, I installed a minimal FreeBSD on > the new disk, mounted the old partitions under /mnt and copied from the >

dump and restore

2008-07-18 Thread Peter Boosten
Hi all, My harddisk was failing and I wanted the data copied to another disk, but since my original wouldn't boot, I installed a minimal FreeBSD on the new disk, mounted the old partitions under /mnt and copied from the original to the new partitions by using: dump 0af - /dev/ad2s1[adef] | r

Re: multi-platform dump and restore?

2008-07-02 Thread Wojciech Puchar
I did and it does. you may try to compile OpenBSD restore from sources under FreeBSD and use it. compared to dump, restore does not do anything filesystem specific, just reads input and make files. if any - there should not be many fixes needed to make it compile. _

Re: multi-platform dump and restore?

2008-07-02 Thread Wojciech Puchar
dump core? [yn] n # uname -a OpenBSD dev.example.com 4.2 GENERIC#375 i386 How did you guess? actually second was a guess. first was natural, as amd64 and i386 are both little endian, int&long are same sized under gcc, and memory pointers are not stored in dump files. second - becaus

Re: multi-platform dump and restore?

2008-07-02 Thread Mark B.
On Wed, Jul 2, 2008 at 12:21 PM, Wojciech Puchar <[EMAIL PROTECTED]> wrote: >> If I dump on amd64 should I be able to >> extract files from the dump on i386? > > i'm almost sure yes but please check > I did and it does. >> >> If so, should it be possible to restore a >> FreeBSD amd64 dump on Open

Re: multi-platform dump and restore?

2008-07-02 Thread Jerry McAllister
On Wed, Jul 02, 2008 at 11:35:30AM -0400, Jerry McAllister wrote: > On Wed, Jul 02, 2008 at 10:59:27AM -0400, Mark B. wrote: > > > If I dump on amd64 should I be able to > > extract files from the dump on i386? > > > > If so, should it be possible to restore a > > FreeBSD amd64 dump on OpenBSD i

Re: multi-platform dump and restore?

2008-07-02 Thread Wojciech Puchar
If I dump on amd64 should I be able to extract files from the dump on i386? i'm almost sure yes but please check If so, should it be possible to restore a FreeBSD amd64 dump on OpenBSD i386? probably not. ___ freebsd-questions@freebsd.org mailing

Re: multi-platform dump and restore?

2008-07-02 Thread Roland Smith
On Wed, Jul 02, 2008 at 10:59:27AM -0400, Mark B. wrote: > If I dump on amd64 should I be able to > extract files from the dump on i386? Yes. > If so, should it be possible to restore a > FreeBSD amd64 dump on OpenBSD i386? Probably. OpenBSD 4.2 supports UFS2. > Note there is ticket that may b

Re: multi-platform dump and restore?

2008-07-02 Thread Jerry McAllister
On Wed, Jul 02, 2008 at 10:59:27AM -0400, Mark B. wrote: > If I dump on amd64 should I be able to > extract files from the dump on i386? > > If so, should it be possible to restore a > FreeBSD amd64 dump on OpenBSD i386? > > Note there is ticket that may be related: > > bin/67723: > >

multi-platform dump and restore?

2008-07-02 Thread Mark B.
If I dump on amd64 should I be able to extract files from the dump on i386? If so, should it be possible to restore a FreeBSD amd64 dump on OpenBSD i386? Note there is ticket that may be related: bin/67723: restore(8) FreeBSD 5.x restore cannot handle other platforms/Linux(extfs)

Re: Preserving file permissions with dump and restore

2008-02-06 Thread Jerry McAllister
On Wed, Feb 06, 2008 at 12:44:49AM -0500, Francois-Xavier Charpentier de Beauville wrote: > Wojciech Puchar wrote: > >>Hi, > >> > >>I have a box with three hard drives: > >>/dev/da0 - dedicated to the OS > >>/dev/ad4s1e - data drive - mounted as /store > >>/dev/ad5s1e - hold a backup of /dev/ad4

Re: Preserving file permissions with dump and restore

2008-02-05 Thread Francois-Xavier Charpentier de Beauville
Wojciech Puchar wrote: Hi, I have a box with three hard drives: /dev/da0 - dedicated to the OS /dev/ad4s1e - data drive - mounted as /store /dev/ad5s1e - hold a backup of /dev/ad4 - mounted as /backup I used 'dump' to backup everything from /store to /backup with the following command: dump

Re: Preserving file permissions with dump and restore

2008-02-05 Thread Wojciech Puchar
1) made /store pristine: newfs -U /dev/ad4s1e 2) mounted /dev/ad4s1e on /store 3) cd into /store 4) ran the command: restore -r -uv -f /backup/fullbackup 5) remove 'restoresymtable' from /store Thanks in advance for your help you did restore as root? (i think so but just for sure) it is someth

Preserving file permissions with dump and restore

2008-02-04 Thread Francois-Xavier Charpentier de Beauville
Hi, I have a box with three hard drives: /dev/da0 - dedicated to the OS /dev/ad4s1e - data drive - mounted as /store /dev/ad5s1e - hold a backup of /dev/ad4 - mounted as /backup I used 'dump' to backup everything from /store to /backup with the following command: dump -0aun -f /backup/fullback

Re: Dump and restore for Windows partitions

2008-01-30 Thread Martin Boulianne
On Jan 30, 2008 2:08 PM, Roland Smith <[EMAIL PROTECTED]> wrote: > On Wed, Jan 30, 2008 at 09:18:53AM -0500, Martin Boulianne wrote: > > Hi, > > Maybe this is a dumb question, but I was wondering if I could use > > dump (and restore) on Windows NTFS partitions. > >

Re: Dump and restore for Windows partitions

2008-01-30 Thread Roland Smith
On Wed, Jan 30, 2008 at 09:18:53AM -0500, Martin Boulianne wrote: > Hi, > Maybe this is a dumb question, but I was wondering if I could use > dump (and restore) on Windows NTFS partitions. > > Say I have a NTFS partition, ad0s1. Could I use: ># dump -b 4 -f /backups/win

Re: Dump and restore for Windows partitions

2008-01-30 Thread Jerry McAllister
On Wed, Jan 30, 2008 at 09:18:53AM -0500, Martin Boulianne wrote: > Hi, > Maybe this is a dumb question, but I was wondering if I could use > dump (and restore) on Windows NTFS partitions. > > Say I have a NTFS partition, ad0s1. Could I use: ># dump -b 4 -f /backups/win

Re: Dump and restore for Windows partitions

2008-01-30 Thread Alex Zbyslaw
Martin Boulianne wrote: Maybe this is a dumb question, but I was wondering if I could use dump (and restore) on Windows NTFS partitions. Say I have a NTFS partition, ad0s1. Could I use: # dump -b 4 -f /backups/winxp.dump /dev/ad0s1 No. Dump is specific to ufs/ufs2 filesystems. It

Dump and restore for Windows partitions

2008-01-30 Thread Martin Boulianne
Hi, Maybe this is a dumb question, but I was wondering if I could use dump (and restore) on Windows NTFS partitions. Say I have a NTFS partition, ad0s1. Could I use: # dump -b 4 -f /backups/winxp.dump /dev/ad0s1 Or after a restore, Windows would be able to read the files? What about dd, with

Re: Backup using dump and restore from dvd - restore cd loaded to ram?rive?

2007-02-27 Thread Igor Robul
[EMAIL PROTECTED] wrote: Yes, I know. However FreeSBIE mounts its bootable CD as root directory (/) and then creates few RAM drives for /etc /usr etc. But I need the CD-ROM drive to read the CDs with backup files... Frenzy (http://www.frenzy.org.ua/en/) can free CD drive.

Re: Backup using dump and restore from dvd - restore cd loaded to ram ?drive?

2007-02-21 Thread Lowell Gilbert
Milan Knizek <[EMAIL PROTECTED]> writes: > On Monday 19 February 2007 16:29, Oliver Fromme wrote: >> [EMAIL PROTECTED] wrote: > >> A simpler solution for your restore problem would be >> to simply use a standard FreeBSD installation CD, >> then make a minimal installation on your hard disk >> so y

Re: Backup using dump and restore from dvd - restore cd loaded to ram ?drive?

2007-02-19 Thread John Nielsen
On Monday 19 February 2007 10:29, Oliver Fromme wrote: > [EMAIL PROTECTED] wrote: > > [...] > > The restore method will then require to boot from a bootable CD. The > > rescue CD system should load itself into RAM drive, so that I can > > dismount it and replace it with the CD/DVDs with the bac

Re: Backup using dump and restore from dvd - restore cd loaded to ram ?drive?

2007-02-19 Thread Oliver Fromme
[EMAIL PROTECTED] wrote: > [...] > The restore method will then require to boot from a bootable CD. The > rescue CD system should load itself into RAM drive, so that I can dismount > it and replace it with the CD/DVDs with the backup files. > > The rescue CD should provide basic commands and

Re: Backup using dump and restore from dvd - re store cd loaded to ramrive?

2007-02-12 Thread knizek
- PŮVODNÍ ZPRÁVA - Od: "Joe Holden" <[EMAIL PROTECTED]> > [EMAIL PROTECTED] wrote: > > Hi list! > > > > I plan to use a full backup of my working desktop > > FreeBSD 6.2 STABLE > > > with: > > > > dump -0LuB 10 -f backup.0,backup.1,backup.2 / > > > > > > > > It would be possible t

Re: Backup using dump and restore from dvd - restore cd loaded to ram drive?

2007-02-12 Thread Joe Holden
[EMAIL PROTECTED] wrote: Hi list! I plan to use a full backup of my working desktop FreeBSD 6.2 STABLE with: dump -0LuB 10 -f backup.0,backup.1,backup.2 / It would be possible to use some linux distro, but support for UFS2 is required (I recall that MoviX has worked like this - but its

Backup using dump and restore from dvd - restore cd loaded to ram drive?

2007-02-12 Thread knizek
Hi list! I plan to use a full backup of my working desktop FreeBSD 6.2 STABLE with: dump -0LuB 10 -f backup.0,backup.1,backup.2 / (before I will check the number of files needed with "dump -S /") Then gzip the backup.* files separately and burn them to CDs or DVDs. The restore method will t

RE: FreeBSD 4.7 (Related to Dump and Restore).

2004-05-24 Thread JJB
ECTED] Subject: FreeBSD 4.7 (Related to Dump and Restore). Hi guys, Thanks for the help with the dump and restore question. I am about to clone 2 more machines to the setup mentioned in 'Dump and Restore'. It is based around FreeBSD 4.7. These systems will need to last 3 years

FreeBSD 4.7 (Related to Dump and Restore).

2004-05-24 Thread Grant Peel
Hi guys, Thanks for the help with the dump and restore question. I am about to clone 2 more machines to the setup mentioned in 'Dump and Restore'. It is based around FreeBSD 4.7. These systems will need to last 3 years before they are decommisioned and replaced. Are there any critica

Re: New machines - Dump and Restore -deploy

2004-05-23 Thread Warren Block
On Sun, 23 May 2004, Mark wrote: > You cannot restore the root-partition on the root-partition that you booted > from, because it is in use at the time. Actually, you can. There are a couple of errors on files that can't be written, but it works. Although I do at least rebuild the kernel after

Re: New machines - Dump and Restore -deploy

2004-05-23 Thread Mark
Grant Peel wrote: > I intend to use Dump and Restore to completely copy the OS from the > older box to the two new ones. > > Before I do this, I have three questions: > > The current (older box) has only a 18 GB SATA drive on it. The two new > machines have 36 GB SCSI driv

Re: New machines - Dump and Restore -deploy

2004-05-23 Thread Warren Block
On Sun, 23 May 2004, Grant Peel wrote: > I have spent the last year or so developing a server platform that I now > want to clone from a production box to the two new boxes. > > I intend to use Dump and Restore to completely copy the OS from the older > box to the two new ones.

New machines - Dump and Restore -deploy

2004-05-23 Thread Grant Peel
server platform that I now want to clone from a production box to the two new boxes. I realize that when I do this I will need to delete alot of things from the new box, but thats OK. I intend to use Dump and Restore to completely copy the OS from the older box to the two new ones. Before I do this

Re: automatic dump and restore over

2004-01-11 Thread Rickard Dahlstrand
ROTECTED]> Sent: Sunday, January 11, 2004 1:51 PM Subject: Re: automatic dump and restore over On Sun, Jan 11, 2004 at 12:00:12PM +0100, Rickard Dahlstrand wrote: > > > All the servers is installed with one partition for /, one for /var/. When I do > > the initial install I m

Re: automatic dump and restore over

2004-01-11 Thread Matthew Seaman
On Sun, Jan 11, 2004 at 12:00:12PM +0100, Rickard Dahlstrand wrote: > All the servers is installed with one partition for /, one for /var/. When I do the > initial install I move the /etc to /var/etc and synlink /etc to point at /var/etc. > This should make the / partition exactly the same on al

automatic dump and restore over

2004-01-11 Thread Rickard Dahlstrand
Hi, I think I have a plan for upgrading a large number of computers over the network. I would really appreciate some help finding flaws in this idea. All the servers is installed with one partition for /, one for /var/. When I do the initial install I move the /etc to /var/etc and synlink /etc

Proper usage of dump and restore when not using tapes

2002-10-10 Thread Mark Hennessy
I have tried to use dump and restore without using a tape. I can dump successfully, but attempts to restore fail in interactive mode with an indexing issue (it keeps asking for the volume number to check and when I provide 1, it cannot find anything). backup.sh script: #!/bin/sh # dump to file