Re:problem with date, dump or restore

2009-02-06 Thread Terry
Hi list, with freebsd 7.0, after a probably successful dump : #dump -0Lauf ./ad0s1f.dump /dev/ad0s1f DUMP: Date of this level 0 dump: Thu Feb 5 07:18:58 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ad0s1f (/usr) to ./ad0s1f.dump DUMP: mapping (Pass I)

problem with date, dump or restore

2009-02-05 Thread Ivan Dimitrov
Hi list, with freebsd 7.0, after a probably successful dump : #dump -0Lauf ./ad0s1f.dump /dev/ad0s1f DUMP: Date of this level 0 dump: Thu Feb 5 07:18:58 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ad0s1f (/usr) to ./ad0s1f.dump DUMP: mapping (Pass I)

Re: dump and restore

2008-07-19 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

Re: dump and restore

2008-07-19 Thread Lowell Gilbert
for dump/restore normally depends more on the occupancy of the partition than its actual size. This is one reason why we avoid using dd for this purpose as we must then copy the entire 74Gb rather than just that used. Hmmm, I didn't even know it was possible to dump a partition unmounted. Try

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] |

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

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

Re: dump and restore

2008-07-18 Thread Malcolm Kay
for dump/restore normally depends more on the occupancy of the partition than its actual size. This is one reason why we avoid using dd for this purpose as we must then copy the entire 74Gb rather than just that used. Is it normal for a backup/restore to take this long? Or could this be due to my

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

Re: multi-platform dump and restore?

2008-07-02 Thread Jerry McAllister
(8) FreeBSD 5.x restore cannot handle other platforms/Linux(extfs)-dumps anymore ref: http://www.freebsd.org/cgi/query-pr.cgi?pr=67723cat= I thought the dump file format was sacrosanct. Has there been heresy here? I am not sure what the heresy is here, but dump/restore can be sensitive

Re: multi-platform dump and restore?

2008-07-02 Thread Roland Smith
thought the dump file format was sacrosanct. Has there been heresy here? The BSDs all use variants of UFS, and dump/restore understand UFS1 2. The EXT2FS in use on Linux is a different animal altogether. I'm surprised that it ever worked. Roland -- R.F.Smith http

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 Jerry McAllister
heresy here? I am not sure what the heresy is here, but dump/restore can be sensitive to OS and OS version. There are many that it cannot cross, but some it can. The main thing is to check it before depending on it. I should add for clarity. So, the conflict would not be the different hardware

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 OpenBSD i386?

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, intlong are same sized under gcc, and memory pointers are not stored in dump files. second -

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: Preserving file permissions with dump and restore

2008-02-06 Thread Jerry McAllister
permissions are back. This kind of weird since the OS drive hasn't changed. So, there are the same users setup on the system. Any thoughts? Well, dump/restore should result in permissions and flags and everything being as before the dump. I have done the equivalent many many times and not seen any

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

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:

Preserving file permissions with dump and restore

2008-02-04 Thread Francois-Xavier Charpentier de Beauville
: restore -r -uv -f /backup/fullbackup 5) remove 'restoresymtable' from /store The restore went fine and I had all the files back. However, all file permissions were gone. How can I preserve file permissions with dump / restore? Thanks in advance for your help

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

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

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/winxp.dump /dev/ad0s1 Well, I

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/winxp.dump /dev/ad0s1 Dump

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. Say I have a NTFS partition, ad0s1. Could

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 you have all

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 - 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 backup

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

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 / snip It would be possible to use some linux distro, but support for UFS2 is required (I recall that MoviX has worked like this -

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 / snip It would be possible to use some linux

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 critical problems

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

2004-05-24 Thread JJB
] 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 before

New machines - Dump and Restore -deploy

2004-05-23 Thread Grant Peel
a 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

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. The current (older

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 drives. So my question is, as long

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

automatic dump and restore over

2004-01-11 Thread Rickard Dahlstrand
active and the server should boot using the new / partition. Can this work? I have read that dump/restore is the best solution for backing up disks. Could there be any problems using restore on a partition already allocated? Thanks, Rickard. ___ [EMAIL

Re: automatic dump and restore over

2004-01-11 Thread Matthew Seaman
the dump-file over the / partition on the server. After the upgrade is complete I reboot the server without the DHCP server active and the server should boot using the new / partition. Can this work? I have read that dump/restore is the best solution for backing up disks. Could there be any

Re: automatic dump and restore over

2004-01-11 Thread Rickard Dahlstrand
: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 move the /etc to /var/etc and synlink /etc to point at /var/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