ugh. dump / restore problem(s) Cannot find file dump list

2012-11-14 Thread Gary Aitken
I needed to expand a /var partition, which required saving and restoring /var and /usr did the following: booted to backup disk dump -0aR -h 0 -f /usr/backup/dump_var_0_20121113_1920 /dev/ada0p4 (repeat for /tmp, /usr, / partitions to be safe) repartitioned the main disk using gpart

Re: ugh. dump / restore problem(s) Cannot find file dump list

2012-11-14 Thread Matthias Apitz
El día Wednesday, November 14, 2012 a las 01:20:14AM -0700, Gary Aitken escribió: I needed to expand a /var partition, which required saving and restoring /var and /usr did the following: booted to backup disk dump -0aR -h 0 -f /usr/backup/dump_var_0_20121113_1920 /dev/ada0p4

Re: ugh. dump / restore problem(s) Cannot find file dump list

2012-11-14 Thread Polytropon
On Wed, 14 Nov 2012 01:20:14 -0700, Gary Aitken wrote: mount /dev/ada0p4 /mnt/ssd/var cd /mnt/ssd/var restore -r /usr/backup/dump_var_0_20121113_1920 Cannot find file dump list The last command looks wrong. The restore program requires the dump file to be provided via -f, so

Re: ugh. dump / restore problem(s) Cannot find file dump list

2012-11-14 Thread Jack Mc Lauren
From: Polytropon free...@edvax.de To: free...@dreamchaser.org Cc: FreeBSD Mailing List freebsd-questions@freebsd.org Sent: Wednesday, November 14, 2012 12:27 PM Subject: Re: ugh. dump / restore problem(s) Cannot find file dump list On Wed, 14 Nov 2012 01

Re: ugh. dump / restore problem(s) Cannot find file dump list

2012-11-14 Thread Matthias Apitz
El día Wednesday, November 14, 2012 a las 01:01:08AM -0800, Jack Mc Lauren escribió: Hi There is no - . This is the correct format : restore rf /path/to/dump/files from man restore(8): RESTORE(8) FreeBSD System Manager's Manual RESTORE(8) NAME restore, rrestore — restore

Re: ugh. dump / restore problem(s) Cannot find file dump list

2012-11-14 Thread Polytropon
section: newfs /dev/da0s1a mount /dev/da0s1a /mnt cd /mnt restore rf /dev/sa0 So it seems that _both_ formats are supported (comparable to tar). One of the (in my opinion) most interesting reference sources for dump/restore

Re: ugh. dump / restore problem(s) Cannot find file dump list

2012-11-14 Thread Gary Aitken
On 11/14/12 01:30, Matthias Apitz wrote: El día Wednesday, November 14, 2012 a las 01:20:14AM -0700, Gary Aitken escribió: I needed to expand a /var partition, which required saving and restoring /var and /usr did the following: booted to backup disk dump -0aR -h 0 -f

Re: ugh. dump / restore problem(s) Cannot find file dump list

2012-11-14 Thread Warren Block
interesting reference sources for dump/restore also mentions this format: # mount /dev/da0s1 /mnt # mkdir /tmp/oldvar # cd /tmp/oldvar # restore -ruf /mnt/var.dump Yes, -u unlinks an existing file before restoring that file, useful for restoring dumps over an existing

Re: ugh. dump / restore problem(s) Cannot find file dump list

2012-11-14 Thread Matthias Apitz
El día Wednesday, November 14, 2012 a las 09:45:22AM -0700, Warren Block escribió: One of the (in my opinion) most interesting reference sources for dump/restore also mentions this format: # mount /dev/da0s1 /mnt # mkdir /tmp/oldvar # cd /tmp/oldvar # restore -ruf

Re: Questions about dump/restore to/from DVD media

2012-11-05 Thread Ronald F. Guilmette
In message 20121105051447.6eef32ef.free...@edvax.de, Polytropon free...@edvax.de wrote: The problem is that delegating compression to a sub-task would imply that dump cannot precisely adjust its output to match the media size (as the limit is now defined by how good the compression works).

Questions about dump/restore to/from DVD media

2012-11-04 Thread Ronald F. Guilmette
I would like to make a backup of one of my systems using dump(8) in order to be sure that I get everything, including all of the obscure file attribute bits. I would like to make this backup to a _minimal_ number of DVD+R disks. What's the proper procedure for this? In the dump(8) man page, I

Re: Questions about dump/restore to/from DVD media

2012-11-04 Thread Polytropon
On Sun, 04 Nov 2012 16:56:58 -0800, Ronald F. Guilmette wrote: I would like to make a backup of one of my systems using dump(8) in order to be sure that I get everything, including all of the obscure file attribute bits. That eliminates at least some tools. I have been using a similar idea

Re: Questions about dump/restore to/from DVD media

2012-11-04 Thread Mehmet Erol Sanliturk
On Sun, Nov 4, 2012 at 4:56 PM, Ronald F. Guilmette r...@tristatelogic.comwrote: I would like to make a backup of one of my systems using dump(8) in order to be sure that I get everything, including all of the obscure file attribute bits. I would like to make this backup to a _minimal_

Re: Questions about dump/restore to/from DVD media

2012-11-04 Thread Da Rock
On 11/05/12 11:18, Polytropon wrote: On Sun, 04 Nov 2012 16:56:58 -0800, Ronald F. Guilmette wrote: I would like to make a backup of one of my systems using dump(8) in order to be sure that I get everything, including all of the obscure file attribute bits. That eliminates at least some

Re: Questions about dump/restore to/from DVD media

2012-11-04 Thread Ronald F. Guilmette
In message caogwamvoncti7akmtjw0+caastfhfae5gw+pkmh+4ldr00-...@mail.gmail.com Mehmet Erol Sanliturk m.e.sanlit...@gmail.com wrote: Assume one file will NOT be copied more than ONE DVD , i.e. , each file will be completely recorded on one DVD : http://en.wikipedia.org/wiki/Cutting_stock_problem

Re: Questions about dump/restore to/from DVD media

2012-11-04 Thread Ronald F. Guilmette
-P 'gzip | growisofs -Z /dev/cd0=-' /u Yes. I see. That makes sense. But as I said (above) to make this really work right, dump restore really need to have -z options, and do the zipping/unzipping internally. Only if this were available could dump properly deal with end-of-media on any given

Re: Questions about dump/restore to/from DVD media

2012-11-04 Thread Polytropon
'gzip | growisofs -Z /dev/cd0=-' /u Yes. I see. That makes sense. But as I said (above) to make this really work right, dump restore really need to have -z options, and do the zipping/unzipping internally. Only if this were available could dump properly deal with end-of-media on any given

Re: Questions about dump/restore to/from DVD media

2012-11-04 Thread Ronald F. Guilmette
In message 50971b88.40...@herveybayaustralia.com.au, Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: Also, you may have considered this already (or not :) ), but you are using a direct write to backup your system, and then considering compression on top of that. CD/DVD filesystems

Re: Questions about dump/restore to/from DVD media

2012-11-04 Thread Ronald F. Guilmette
In message 20121105035233.e3c4ae8a.free...@edvax.de, Polytropon free...@edvax.de wrote: But as I said (above) to make this really work right, dump restore really need to have -z options, and do the zipping/unzipping internally. Only if this were available could dump properly deal with end

Re: Questions about dump/restore to/from DVD media

2012-11-04 Thread Polytropon
On Sun, 04 Nov 2012 19:49:24 -0800, Ronald F. Guilmette wrote: In message 20121105035233.e3c4ae8a.free...@edvax.de, Polytropon free...@edvax.de wrote: But as I said (above) to make this really work right, dump restore really need to have -z options, and do the zipping/unzipping

Re: Questions about dump/restore to/from DVD media

2012-11-04 Thread Da Rock
On 11/05/12 14:14, Polytropon wrote: On Sun, 04 Nov 2012 19:49:24 -0800, Ronald F. Guilmette wrote: In message 20121105035233.e3c4ae8a.free...@edvax.de, Polytropon free...@edvax.de wrote: But as I said (above) to make this really work right, dump restore really need to have -z options

Re: Questions about dump/restore to/from DVD media

2012-11-04 Thread Robert Bonomi
Date: Mon, 05 Nov 2012 15:42:45 +1000 From: Da Rock freebsd-questi...@herveybayaustralia.com.au Subject: Re: Questions about dump/restore to/from DVD media On 11/05/12 14:14, Polytropon wrote: For reference, if one did backup the whole slice/disk using dd and then compressed the data

Re: OT: Linux EXT4 dump/restore equivalent?

2012-07-01 Thread perryh
Peter A. Giessel pgies...@mac.com wrote: What I have been completely unable to find is a linux boot disk that has a version of restore that supports ext4. It's unclear to me how a version of restore that supports ext4 would differ from a version of restore that supports UFS. AFAIK restore

Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-29 Thread Peter A. Giessel
I haven't checked all the features, so I don't know if it includes restore for ext4. According to: http://www.sysresccd.org/Detailed-packages-list It does not contain any version of restore. There are a lot of Linux boot disks out there. I haven't found one yet that includes an ext4

Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-29 Thread Thomas Mueller
Peter A. Giessel pgies...@mac.com responded: According to: http://www.sysresccd.org/Detailed-packages-list It does not contain any version of restore. There are a lot of Linux boot disks out there. I haven't found one yet that includes an ext4 compatible restore. Debian lets you roll your

Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-29 Thread Mark Felder
On Fri, 29 Jun 2012 00:52:35 -0500, Peter A. Giessel pgies...@mac.com wrote: There are a lot of Linux boot disks out there. I haven't found one yet that includes an ext4 compatible restore. Debian lets you roll your own, but you need to do that before a disaster. It doesn't include

Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-28 Thread Polytropon
having an up-to-date dump/restore mechanism for that file systems? I can hardly believe that... Without wishing to bash Linux (I wouldnt be in my job without it,) its man pages are really not very up to date, as the manpage for dump fails to mention this. That's sadly normal. I found

Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-28 Thread Peter A. Giessel
On Jun 28, 2012, at 11:59, Vincent Hoffman vi...@unsane.co.uk wrote: We use dump to backup ext4 filesystems on linux (Centos6) at work You can find a version of dump for Linux that supports ext4. What I have been completely unable to find is a linux boot disk that has a version of restore

Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-28 Thread Vincent Hoffman
On 28/06/2012 21:39, Peter A. Giessel wrote: On Jun 28, 2012, at 11:59, Vincent Hoffman vi...@unsane.co.uk wrote: We use dump to backup ext4 filesystems on linux (Centos6) at work You can find a version of dump for Linux that supports ext4. What I have been completely unable to find is a

Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-28 Thread Thomas Mueller
On Jun 28, 2012, at 11:59, Vincent Hoffman vi...@unsane.co.uk wrote: We use dump to backup ext4 filesystems on linux (Centos6) at work Peter A. Giessel pgies...@mac.com responded: You can find a version of dump for Linux that supports ext4. What I have been completely unable to find is a

Dump Restore on ZFS root system

2012-02-07 Thread dick
I run a ZFS on root FreeBSD system. I know I can backup with snapshots but I want a dump/restore action because I want to transfer this system to a UFS virtual FreeBSD machine. My question is: will dump / (root) make a dump of *ALL* other directories? yanta# df -h Filesystem

Re: Dump Restore on ZFS root system

2012-02-07 Thread Vincent Hoffman
On 07/02/2012 11:00, dick wrote: I run a ZFS on root FreeBSD system. I know I can backup with snapshots but I want a dump/restore action because I want to transfer this system to a UFS virtual FreeBSD machine. My question is: will dump / (root) make a dump of *ALL* other directories? Dump

Re: Dump Restore on ZFS root system

2012-02-07 Thread dick
Op 7-2-2012 12:23, Vincent Hoffman schreef: On 07/02/2012 11:00, dick wrote: I run a ZFS on root FreeBSD system. I know I can backup with snapshots but I want a dump/restore action because I want to transfer this system to a UFS virtual FreeBSD machine. My question is: will dump / (root) make

Re: Dump Restore on ZFS root system

2012-02-07 Thread George Kontostanos
On Tue, Feb 7, 2012 at 1:55 PM, dick d...@nagual.nl wrote: Op 7-2-2012 12:23, Vincent Hoffman schreef: On 07/02/2012 11:00, dick wrote: I run a ZFS on root FreeBSD system. I know I can backup with snapshots but I want a dump/restore action because I want to transfer this system to a UFS

Re: Dump Restore on ZFS root system

2012-02-07 Thread William Brown
On 07/02/2012, at 22:25, dick wrote: Op 7-2-2012 12:23, Vincent Hoffman schreef: On 07/02/2012 11:00, dick wrote: I run a ZFS on root FreeBSD system. I know I can backup with snapshots but I want a dump/restore action because I want to transfer this system to a UFS virtual FreeBSD machine

Re: Dump Restore on ZFS root system

2012-02-07 Thread Warren Block
On Tue, 7 Feb 2012, dick wrote: Op 7-2-2012 12:23, Vincent Hoffman schreef: On 07/02/2012 11:00, dick wrote: I run a ZFS on root FreeBSD system. I know I can backup with snapshots but I want a dump/restore action because I want to transfer this system to a UFS virtual FreeBSD machine. My

Re: dump/restore, how to reduce slice size

2011-09-30 Thread John Levine
# df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a 2G206M1.6G11%/ devfs 1.0k1.0k 0B 100%/dev /dev/ad4s1e3.9G 13M3.6G 0%/tmp /dev/ad4s1f 40G 25G 12G67%/usr /dev/ad4s1d 31G

Re: dump/restore, how to reduce slice size

2011-09-30 Thread Jerry McAllister
the used space. Yes. He already has 25 GB used on the partition and wants to add another approx 25 GB in a 39 GB partition. There ain't room. jerry @OP, refer the following link for correct dump/restore syntax: http://www.wonkity.com/~wblock/docs/html/backup.html

Re[2]: dump/restore, how to reduce slice size

2011-09-30 Thread Коньков Евгений
Здравствуйте, Robert. Вы писали 30 сентября 2011 г., 4:11:15: From owner-freebsd-questi...@freebsd.org Thu Sep 29 14:37:35 2011 Date: Thu, 29 Sep 2011 22:36:38 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= kes-...@yandex.ru To: freebsd-questions@freebsd.org Subject: dump/restore, how

dump/restore, how to reduce slice size

2011-09-29 Thread Коньков Евгений
Hi, Freebsd-questions. # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a 2G206M1.6G11%/ devfs 1.0k1.0k 0B 100%/dev /dev/ad4s1e3.9G 13M3.6G 0%/tmp /dev/ad4s1f 40G 25G 12G67%/usr

Re: dump/restore, how to reduce slice size

2011-09-29 Thread Jerry McAllister
On Thu, Sep 29, 2011 at 10:36:38PM +0300, ??? ??? wrote: Hi, Freebsd-questions. # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a 2G206M1.6G11%/ devfs 1.0k1.0k 0B 100%/dev /dev/ad4s1e3.9G 13M3.6G

Re: Jail from dump/restore?

2010-08-12 Thread Christer Solskogen
On Wed, Aug 11, 2010 at 10:57 PM, Chris Maness ch...@chrismaness.com wrote: Is it possible to create a jail from a dump/restore of a real system. If so, would I just restore the dump to the jail tld? That should be possible yes. But it's probably a better idea to just create a new jail

Jail from dump/restore?

2010-08-11 Thread Chris Maness
Is it possible to create a jail from a dump/restore of a real system. If so, would I just restore the dump to the jail tld? Regards, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

dump/restore (to DVD+R) test failure

2010-05-24 Thread James Phillips
Hello, It took reading the source code of a backup front-end to figure out that incremental backups are not the same thing as multiple incremental backups on the same medium; spilling over to the next disk if necessary. As the handbook (section 18.12.1) says, dump has quirks due to its design

Dump/restore to clone disk

2010-02-22 Thread Aiza
I have seen this posted in the questions archives to be used to clone a active system hard drive to a USB cabled hard drive. Prepare the target #dd if=/dev/zero of=/dev/da0 count=2 # fdisk -BI /dev/da0 # bsdlabel -B -w da0s1 # newfs –U /dev/da0s1a # / # newfs -U /dev/da0s1d

Re: Dump/restore to clone disk

2010-02-22 Thread Polytropon
On Mon, 22 Feb 2010 16:33:47 +0800, Aiza aiz...@comclark.com wrote: I have seen this posted in the questions archives to be used to clone a active system hard drive to a USB cabled hard drive. Prepare the target #dd if=/dev/zero of=/dev/da0 count=2 # fdisk -BI /dev/da0 # bsdlabel -B

Re: Dump/restore to clone disk

2010-02-22 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/02/2010 08:33, Aiza wrote: What happened to swap? The fstab will be showing it as the first file system on the hard drive slice. Is something missing here? Swap isn't a filesystem. There's no persistent content in a swap partition, so

Re: Dump/restore to clone disk

2010-02-22 Thread Jerry McAllister
sizes as the source file system? Read the documentation. They will have the same size as what you make them. Dump/restore do no create filesystems. They just back up and restore data withing filesystems. You create the partitions yourself. A filesystem is an identifiable - most likely

snapshot rsync dump/restore

2009-12-17 Thread n dhert
I want to clone a FreeBSD system on another system. Say, Mondaymorning I use the dump(8) to make dumpfiles of all filesystems (dumpofroot.dmp, dumpofvar.dmp, ...tmp.dmp, ...usr.dmp, ...home.dmp ) on an external USB disk. The original system keeps running. Then Wednesday I setup FreeBSD on the new

Re: snapshot rsync dump/restore

2009-12-17 Thread Matthew Seaman
n dhert wrote: I want to clone a FreeBSD system on another system. Say, Mondaymorning I use the dump(8) to make dumpfiles of all filesystems (dumpofroot.dmp, dumpofvar.dmp, ...tmp.dmp, ...usr.dmp, ...home.dmp ) on an external USB disk. The original system keeps running. Then Wednesday I setup

Re: snapshot rsync dump/restore

2009-12-17 Thread Roland Smith
On Thu, Dec 17, 2009 at 09:03:50AM +0100, n dhert wrote: I want to clone a FreeBSD system on another system. Say, Mondaymorning I use the dump(8) to make dumpfiles of all filesystems (dumpofroot.dmp, dumpofvar.dmp, ...tmp.dmp, ...usr.dmp, ...home.dmp ) on an external USB disk. Dumping /tmp

Re: snapshot rsync dump/restore

2009-12-17 Thread Ivan Voras
n dhert wrote: I was told one could do this using rsync and by using a snapshot it would even be faster (?) Also try http://rdiff-backup.nongnu.org/ ___ freebsd-questions@freebsd.org mailing list

Re: clone-dump-restore

2009-10-15 Thread Jerry McAllister
device to device directly? The manual says I should be able to dump restore across the lan too... Basically. on dump, the filesystem to be dumped comes last on the command line. The place to write the dump is that which is named right after the -f If there is no -f then it defaults to a tape

how to prepare disk for dump/restore

2009-10-15 Thread PJ
? Sysinstall requires already being booted... ??? Or do I do it manually as per Polytropon's recipe of fdisk, bsdlabel, newfs mount, dump/restore and use/play? ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: how to prepare disk for dump/restore

2009-10-15 Thread Polytropon
process. Sysinstall requires already being booted... ??? No. You can execute it even on a running system. Or do I do it manually as per Polytropon's recipe of fdisk, bsdlabel, newfs mount, dump/restore and use/play? ;-) This method is quite usable when you completely understood what

Re: how to prepare disk for dump/restore

2009-10-15 Thread Tobias Rehbein
Am Thu, Oct 15, 2009 at 09:17:43PM +0200 schrieb Polytropon: On Thu, 15 Oct 2009 14:59:51 -0400, PJ af.gour...@videotron.ca wrote: You can use sysinstall from the Fixit CD, too. That's the way I'm mostly doing this kind of thing: Preparing the disk with the sysinstall tool, then dropping to

Re: how to prepare disk for dump/restore

2009-10-15 Thread Polytropon
On Thu, 15 Oct 2009 21:31:20 +0200, Tobias Rehbein tobias.rehb...@web.de wrote: If all you want to do is to prepare the disks you can leave sysinstall alone and use sade(8). Very good advice! Sadly, it makes me feel that all my knowledge is very outdated because sade didn't come into my mind

Re: how to prepare disk for dump/restore

2009-10-15 Thread PJ
with the sysinstall tool, then dropping to CLI for the restoring process. Sysinstall requires already being booted... ??? No. You can execute it even on a running system. That's what I meant. :-) Or do I do it manually as per Polytropon's recipe of fdisk, bsdlabel, newfs mount, dump

Re: how to prepare disk for dump/restore

2009-10-15 Thread PJ
Tobias Rehbein wrote: Am Thu, Oct 15, 2009 at 09:17:43PM +0200 schrieb Polytropon: On Thu, 15 Oct 2009 14:59:51 -0400, PJ af.gour...@videotron.ca wrote: You can use sysinstall from the Fixit CD, too. That's the way I'm mostly doing this kind of thing: Preparing the disk with the

clone-dump-restore

2009-10-14 Thread PJ
with all the proggies configurations the way I want them, I tried (notice - tried) to clone the system. Here's the setup: FBSD 7.2 on ad4 and same on ad12. First, running on ad4, I tried to dump restore each partition directly: ad12s1a to da0s1a (usb sata disk). No go. I had set it up originally

Re: clone-dump-restore

2009-10-14 Thread Polytropon
, running on ad4, I tried to dump restore each partition directly: ad12s1a to da0s1a (usb sata disk). No go. It would be good to see the command that you issued to do so, including the currend working directory. I had set it up originally with livefs, minimal; then redid it all with fdisk

Re: clone-dump-restore

2009-10-14 Thread PJ
to dump restore across the lan too... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: clone-dump-restore

2009-10-14 Thread Polytropon
on a mounted file system. That's why the rule: source not mounted or -L, destination mounted and writable (and empty). The dd program operates on blocks of variable size. It has no concept of files and directories. It should not be used on mounted partitions. Unlike dump | restore, dd allows you

Re: Re: Dump/Restore?

2009-09-14 Thread utisoft
On 14 Sep 2009 02:50, Chris Maness ch...@chrismaness.com wrote: On Sun, Sep 13, 2009 at 6:15 PM, Chris Maness ch...@chrismaness.com wrote: I level 0 dump of my server. I lost a file that I need back. Is it possible to use restore like tar and explode it into a directory instead of a

Re: Dump/Restore?

2009-09-14 Thread Chris Maness
utis...@googlemail.com wrote: On 14 Sep 2009 02:50, Chris Maness ch...@chrismaness.com wrote: On Sun, Sep 13, 2009 at 6:15 PM, Chris Maness ch...@chrismaness.com wrote: I level 0 dump of my server. I lost a file that I need back. Is it possible to use restore like tar and explode it

Re: Dump/Restore?

2009-09-14 Thread Richard Mahlerwein
--- On Sun, 9/13/09, Chris Maness ch...@chrismaness.com wrote: From: Chris Maness ch...@chrismaness.com Subject: Re: Dump/Restore? To: freebsd-questions@freebsd.org Date: Sunday, September 13, 2009, 9:50 PM On Sun, Sep 13, 2009 at 6:15 PM, Chris Maness ch...@chrismaness.com wrote: I level

Re: Dump/Restore?

2009-09-14 Thread Chris Rees
2009/9/14 Chris Maness ch...@chrismaness.com: utis...@googlemail.com wrote: On 14 Sep 2009 02:50, Chris Maness ch...@chrismaness.com wrote: On Sun, Sep 13, 2009 at 6:15 PM, Chris Maness ch...@chrismaness.com wrote: I level 0 dump of my server.  I lost a file that I need back.  Is it

Re: Dump/Restore?

2009-09-14 Thread Jerry McAllister
On Sun, Sep 13, 2009 at 06:15:55PM -0700, Chris Maness wrote: I level 0 dump of my server. I lost a file that I need back. Is it possible to use restore like tar and explode it into a directory instead of a pristine partition/mount? Or even better, is it possible to just extract a single

Re: Dump/Restore?

2009-09-14 Thread Jerry McAllister
it is stored, but you will have to use some network access type thing such as an rsh or an NFS connection to read it. Another thing is that restores need to be done on the same OS that the dumps were written - regardless of where they are stored. dump/restore depends on knowing something about

Re: Dump/Restore?

2009-09-14 Thread Polytropon
On Mon, 14 Sep 2009 05:45:01 -0700 (PDT), Richard Mahlerwein mahle...@yahoo.com wrote: In the restore : prompt you can add filename to add it to the restore list.  Works with folders, too. Excuse me, just a little terminology note:

Re: Dump/Restore?

2009-09-14 Thread Richard Mahlerwein
--- On Mon, 9/14/09, Polytropon free...@edvax.de wrote: From: Polytropon free...@edvax.de Subject: Re: Dump/Restore? To: mahle...@yahoo.com Cc: freebsd-questions@freebsd.org, Chris Maness ch...@chrismaness.com Date: Monday, September 14, 2009, 4:37 PM On Mon, 14 Sep 2009 05:45:01 -0700 (PDT

Re: Re: Dump/Restore?

2009-09-14 Thread utisoft
On 14 Sep 2009 22:38, Richard Mahlerwein mahle...@yahoo.com wrote: --- On Mon, 9/14/09, Polytropon free...@edvax.de wrote: From: Polytropon free...@edvax.de Subject: Re: Dump/Restore? To: mahle...@yahoo.com Cc: freebsd-questions@freebsd.org, Chris Maness ch...@chrismaness.com

Re: Dump/Restore?

2009-09-14 Thread Polytropon
On Mon, 14 Sep 2009 22:02:49 +, utis...@googlemail.com wrote: Yeah, unfortunately I still think of 'folders', and am continually wrong-footed by the term 'directory' in a graphical environment, even after years of GNU and FreeBSD use. Just imagine if the Xerox Alto and its first

Re: Re: Dump/Restore?

2009-09-14 Thread utisoft
On 14 Sep 2009 23:14, Polytropon free...@edvax.de wrote: On Mon, 14 Sep 2009 22:02:49 +, utis...@googlemail.com wrote: Yeah, unfortunately I still think of 'folders', and am continually wrong-footed by the term 'directory' in a graphical environment, even after years of GNU and

Dump/Restore?

2009-09-13 Thread Chris Maness
I level 0 dump of my server. I lost a file that I need back. Is it possible to use restore like tar and explode it into a directory instead of a pristine partition/mount? Or even better, is it possible to just extract a single file without exploding the whole tape dump? Sorry if the question

Re: Dump/Restore?

2009-09-13 Thread Chris Maness
On Sun, Sep 13, 2009 at 6:15 PM, Chris Maness ch...@chrismaness.com wrote: I level 0 dump of my server.  I lost a file that I need back.  Is it possible to use restore like tar and explode it into a directory instead of a pristine partition/mount?  Or even better, is it possible to just

Dump | Restore

2009-04-20 Thread Daniels Vanags
Unable to successfully dump | restore over ssh. Source machine FreeBSD 6.2, disk /dev/mirror/gm0s1a, target machine FreeBSD 6.2, target disk /dev/ad1s1a mounted on /mnt. Run dump -0aLf - / | ssh ip_address ''cd /mnt/ cat | restore - rf -'', dump/restore goes without any errors

Re: Dump | Restore

2009-04-20 Thread Wojciech Puchar
target machine FreeBSD 6.2, target disk /dev/ad1s1a mounted on /mnt. Run dump -0aLf - / | ssh ip_address ''cd /mnt/ cat | restore - rf -'', dump/restore goes without any errors. 1 total nonsense: cat|restore instead of restore 2 probably nonsense: use rsh not ssh unless you really need

Re: Dump | Restore

2009-04-20 Thread Odhiambo ワシントン州
On Mon, Apr 20, 2009 at 1:31 PM, Daniels Vanags daniels.van...@smpbank.lvwrote: Unable to successfully dump | restore over ssh. Source machine FreeBSD 6.2, disk /dev/mirror/gm0s1a, target machine FreeBSD 6.2, target disk /dev/ad1s1a mounted on /mnt. Run dump -0aLf - / | ssh ip_address

Re: Dump | Restore

2009-04-20 Thread cpghost
On Mon, Apr 20, 2009 at 12:46:05PM +0200, Wojciech Puchar wrote: use rsh not ssh unless you really need encryption. Sure, you *could* do that, but be sure to encrypt *and* sign the backup stream beforehand, e.g. using openssl or gnupg... And even then, anyone sniffing that poorly encrypted (at

Re: Dump | Restore

2009-04-20 Thread Mel Flynn
On Monday 20 April 2009 14:59:55 cpghost wrote: On Mon, Apr 20, 2009 at 12:46:05PM +0200, Wojciech Puchar wrote: use rsh not ssh unless you really need encryption. Sure, you *could* do that, but be sure to encrypt *and* sign the backup stream beforehand, e.g. using openssl or gnupg... And

Re: Dump | Restore

2009-04-20 Thread Tim Judd
Greetings, On Mon, Apr 20, 2009 at 4:31 AM, Daniels Vanags daniels.van...@smpbank.lvwrote: Unable to successfully dump | restore over ssh. Source machine FreeBSD 6.2, disk /dev/mirror/gm0s1a, target machine FreeBSD 6.2, target disk /dev/ad1s1a mounted on /mnt. Run dump -0aLf

Re: Dump | Restore

2009-04-20 Thread Michael Powell
Tim Judd wrote: [snip] Long story short, BTX is what brings the PC BIOS/CMOS code execution from 16-bit real mode, to 32-bit protected mode. I've had repeated problems with name-brand PCs that result in a BTX halted. Whiteboxes/custom builds tend to work the best (and IMHO, last the

Dump/Restore

2009-04-09 Thread Daniels Vanags
Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is empty, system fealure to boot. Please guide me, how to dump/restore devfs. df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/mirror/gm0s1a 52G 37G 11G78

Re: Dump/Restore

2009-04-09 Thread Olivier Nicole
Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is empty, system fealure to boot. Please guide me, how to dump/restore devfs. I am not sure about /usr/compat/linux/proc but /dev and /proc are created on the fly by the system: Lines are added into /dev for each new device

Re: Dump/Restore

2009-04-09 Thread Jonathan Chen
On Thu, Apr 09, 2009 at 10:50:49AM +0300, Daniels Vanags wrote: Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is empty, system fealure to boot. Please guide me, how to dump/restore devfs. These are pseudo file systems, and are dynamically managed by the system. You

Re: Dump/Restore

2009-04-09 Thread Chris Rees
2009/4/9 Daniels Vanags daniels.van...@smpbank.lv: This is a source comp output, after dump/restore /dev is empty. I run freesbie on target machine. -Original Message- From: Chris Rees [mailto:utis...@googlemail.com] Sent: Thursday, April 09, 2009 11:56 AM To: Daniels Vanags

Re: Dump/Restore

2009-04-09 Thread Wojciech Puchar
Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is empty, system fealure to boot. Please guide me, how to dump/restore it always should be - before mounted as pseudo-fs devfs. df -h Filesystem SizeUsed Avail Capacity Mounted on /dev

Re: Dump/Restore

2009-04-09 Thread Chris Rees
2009/4/9 Daniels Vanags daniels.van...@smpbank.lv: Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is empty, system fealure to boot. Please guide me, how to dump/restore devfs. df -h Filesystem                     Size    Used   Avail Capacity  Mounted on /dev

Re: Dump/Restore

2009-04-09 Thread Jerry McAllister
On Thu, Apr 09, 2009 at 10:50:49AM +0300, Daniels Vanags wrote: Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is empty, system fealure to boot. Please guide me, how to dump/restore devfs. You only dump(8) file systems. /dev /procfs /dev/mirror/..., etc

dump/restore problem

2009-02-04 Thread Ivan Dimitrov
Hi list when I started a migration to new HDD, according few how-tos, I got the following warning: # dump -0Lauf - /dev/ad0s1f | restore -rf - DUMP: Date of this level 0 dump: Wed Feb 4 22:02:42 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ad0s1f (/usr)

Re: dump/restore problem

2009-02-04 Thread A. Wright
Ivan; when I started a migration to new HDD, according few how-tos, I got the following warning: # dump -0Lauf - /dev/ad0s1f | restore -rf - When debugging dump/restore problems, it is always best to dump to a file, and then restore from the file -- this allows you to see which of dump

Re: Advice for dump/restore over SSH

2009-01-21 Thread FreeBSD
Odhiambo Washington a écrit : On Tue, Jan 20, 2009 at 2:03 AM, Roland Smith rsm...@xs4all.nl mailto:rsm...@xs4all.nl wrote: On Mon, Jan 19, 2009 at 05:43:56PM -0500, Freebsd wrote: Sounds pretty interesting to me but i couldn't test right now. As nc is in /usr/bin how

Advice for dump/restore over SSH

2009-01-19 Thread FreeBSD
on this PC (Dell Vostro 220 Slim). It seems to be a problem with the disk controler (can't mount the / partition). So, I decided to install a minimal FreeBSD 7.1 on the PC to be cloned. I'm trying to dump/restore the /usr partition but I got warnings with the files already being present

Re: Advice for dump/restore over SSH

2009-01-19 Thread Roland Smith
On Mon, Jan 19, 2009 at 12:34:26PM -0500, FreeBSD wrote: My question is how do you clone PC over SSH (it would be too much a PITA to open each case to plug the HD directly in the source PC). Would it have to be ssh? Why not just use netcat [nc(1)] if both machines are on your local network?

Re: Advice for dump/restore over SSH

2009-01-19 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: On Mon, Jan 19, 2009 at 12:34:26PM -0500, FreeBSD wrote: My question is how do you clone PC over SSH (it would be too much a PITA to open each case to plug the HD directly in the source PC). Would it have to be ssh? Why not

Re: Advice for dump/restore over SSH

2009-01-19 Thread Clifton Royston
. The problem is that FreeSBIE is not working on this PC (Dell Vostro 220 Slim). It seems to be a problem with the disk controler (can't mount the / partition). So, I decided to install a minimal FreeBSD 7.1 on the PC to be cloned. I'm trying to dump/restore the /usr partition but I got warnings

Re: Advice for dump/restore over SSH

2009-01-19 Thread Roland Smith
. It's absolutely brilliant for that. But in this situation I would not recommend it: 1) The dump/restore combo is the _only_ alternative that supports all the features of UFS2 without special options (e.g. flags, ACLs). 2) Rsync will leave old crap on the destination drive, unless you specifiy

Re: Advice for dump/restore over SSH

2009-01-19 Thread Roland Smith
On Mon, Jan 19, 2009 at 05:43:56PM -0500, Freebsd wrote: Sounds pretty interesting to me but i couldn't test right now. As nc is in /usr/bin how will i not face the same problem as with ssh? Can you point me to a freebsd live cd that has nc included? The 7.0-RELEASE livefs CD that I had

Re: Advice for dump/restore over SSH

2009-01-19 Thread Freebsd
Le 09-01-19 à 12:46, Roland Smith rsm...@xs4all.nl a écrit : On Mon, Jan 19, 2009 at 12:34:26PM -0500, FreeBSD wrote: My question is how do you clone PC over SSH (it would be too much a PITA to open each case to plug the HD directly in the source PC). Would it have to be ssh? Why not

  1   2   >