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

2012-11-14 Thread Gary Aitken
> 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 >newfs the modified partitions (var, tmp, usr) >rewrote the boot block a

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

2012-11-14 Thread Warren Block
On Wed, 14 Nov 2012, Matthias Apitz wrote: 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

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/o

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

2012-11-14 Thread Warren Block
nion) most 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 du

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 -

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

2012-11-14 Thread Polytropon
And in the -r 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 sou

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 Jack Mc Lauren
From: Polytropon To: free...@dreamchaser.org Cc: FreeBSD Mailing List 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:20:14 -0700, Gary Aitken wrote:

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

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 new

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

2012-11-05 Thread Ronald F. Guilmette
In message <20121105051447.6eef32ef.free...@edvax.de>, Polytropon 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). >

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 > 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, would that eff

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 wrote: >> >>>> But as I said (above) to make this really work right, dump &

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 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 Ronald F. Guilmette
In message <20121105035233.e3c4ae8a.free...@edvax.de>, Polytropon 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 du

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 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 incorporate some parity >to allow for def

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

2012-11-04 Thread Polytropon
-Z /dev/cd0=/dev/fd/0' /u > > > >it could be something like this: > > > >/sbin/dump -0u -L -C16 -B4589840 -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 &a

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

2012-11-04 Thread Ronald F. Guilmette
tial approach of > >/sbin/dump -0u -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /u > >it could be something like this: > >/sbin/dump -0u -L -C16 -B4589840 -P 'gzip | growisofs -Z /dev/cd0=-' /u Yes. I see. That makes sense. But as I said (above) t

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

2012-11-04 Thread Ronald F. Guilmette
In message Mehmet Erol Sanliturk 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 The problem you cited is an interesting one, but I do not believe that it is at all r

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 som

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 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. > > I would like to make this backup to a _minimal_ number of DVD+R dis

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 ide

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 s

Re: OT: Linux EXT4 dump/restore equivalent?

2012-07-01 Thread perryh
"Peter A. Giessel" 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 (unlike dump

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 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 useful rescue CDs li

Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-29 Thread Thomas Mueller
"Peter A. Giessel" 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 own, but

Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-28 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 comp

Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-28 Thread Thomas Mueller
On Jun 28, 2012, at 11:59, Vincent Hoffman wrote: > We use dump to backup ext4 filesystems on linux (Centos6) at work "Peter A. Giessel" responded: > 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 vers

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

Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-28 Thread Peter A. Giessel
On Jun 28, 2012, at 11:59, Vincent Hoffman 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 that supports ext4

Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-28 Thread Polytropon
ux land" without 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.

Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-28 Thread Vincent Hoffman
17-May-2010) I havent used slackware in many years but it used to be my distro of choice until I moved to FreeBSD. Hope this helps, Vince On 28/06/2012 20:02, Chris Maness wrote: > Is there an equivalent dump/restore ap for a Linux ext4 file system? > I am running the latest Slackware, an

OT: Linux EXT4 dump/restore equivalent?

2012-06-28 Thread Chris Maness
Is there an equivalent dump/restore ap for a Linux ext4 file system? I am running the latest Slackware, and I would like to make backups like I do for my FreeBSD box. Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http

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 on ZFS root system

2012-02-07 Thread Fritz Wuehler
> > I'd use tar or cpio or pax or something. zfs has tools built in for this man zfs and look for "send" with the recursive option ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscrib

Re: Dump Restore on ZFS root system

2012-02-07 Thread Dick Hoogendijk
Op 7-2-2012 15:18, William Brown schreef: 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

Re: Dump Restore on ZFS root system

2012-02-07 Thread Michael Sierchio
On Tue, Feb 7, 2012 at 6:18 AM, William Brown wrote: > Why not use the ZFS send / receive command? and how well does that work on UFS filesystems? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-question

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

Re: Dump Restore on ZFS root system

2012-02-07 Thread George Kontostanos
On Tue, Feb 7, 2012 at 1:55 PM, 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 wa

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 a

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 &

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[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?= >> To: freebsd-questions@freebsd.org >>

Re: dump/restore, how to reduce slice size

2011-09-30 Thread Jerry McAllister
ions. > > > > My backup to a USB hard drive just saved me the beginning of > > this week when the old machine died of heat prostration. > > > > > Dump is supposed to take only the used space. Yes. He already has 25 GB used on the partition and wants to add

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/

Re: dump/restore, how to reduce slice size

2011-09-30 Thread Damien Fleuriot
USB partitions. > > My backup to a USB hard drive just saved me the beginning of > this week when the old machine died of heat prostration. > Dump is supposed to take only the used space. @OP, refer the following link for correct dump/restore syntax: http://www.wonkity.com/~wblock/d

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 13M

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 /dev/ad4s

Re: Jail from dump/restore?

2010-08-12 Thread Christer Solskogen
On Wed, Aug 11, 2010 at 10:57 PM, Chris Maness 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 and tra

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 desi

Re: Dump/restore to clone disk

2010-02-22 Thread Jerry McAllister
tch space used by the OS and completely irrelevant to any other system. Try looking in to the documentation. > > What about the file system sizes. > Will the restored hard drive have the same > file system sizes as the source file system? Read the documentation. They will have the same si

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 the

Re: Dump/restore to clone disk

2010-02-22 Thread Polytropon
On Mon, 22 Feb 2010 16:33:47 +0800, Aiza 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 -w da0s1 >

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: 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 http://lists.freebsd.org/mailman/listinfo/freebsd-que

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 /tm

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 Fr

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: 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 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, the

Re: how to prepare disk for dump/restore

2009-10-15 Thread PJ
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/restore

Re: how to prepare disk for dump/restore

2009-10-15 Thread Polytropon
On Thu, 15 Oct 2009 21:31:20 +0200, Tobias Rehbein 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 at fist place. :-)

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 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 CLI for the restori

Re: how to prepare disk for dump/restore

2009-10-15 Thread Polytropon
his kind of thing: Preparing the disk 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. > Or do I do it manually as per Polytropon's recipe of fdisk, bsdlabel

how to prepare disk for dump/restore

2009-10-15 Thread PJ
ual thing? 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/ma

Re: clone-dump-restore

2009-10-15 Thread Jerry McAllister
ed to mount the partitions or can I just dump and restore > from 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

Re: clone-dump-restore

2009-10-14 Thread Polytropon
wner:group, permissions and flags), so it has to operate 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

Re: clone-dump-restore

2009-10-14 Thread PJ
be able 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
p? > First, 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;

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

Re: Re: Dump/Restore?

2009-09-14 Thread utisoft
On 14 Sep 2009 23:14, Polytropon 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 FreeBSD use...

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 22:38, Richard Mahlerwein 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 Richard Mahlerwein
--- On Mon, 9/14/09, Polytropon wrote: From: Polytropon Subject: Re: Dump/Restore? To: mahle...@yahoo.com Cc: freebsd-questions@freebsd.org, "Chris Maness" Date: Monday, September 14, 2009, 4:37 PM On Mon, 14 Sep 2009 05:45:01 -0700 (PDT), Richard Mahlerwein wrote: > In

Re: Dump/Restore?

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

Re: Dump/Restore?

2009-09-14 Thread Jerry McAllister
reeBSD > server. The dump is just a file and it should not matter where 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

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 singl

Re: Dump/Restore?

2009-09-14 Thread Chris Rees
2009/9/14 Chris Maness : > utis...@googlemail.com wrote: >> >> On 14 Sep 2009 02:50, Chris Maness 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 us

Re: Dump/Restore?

2009-09-14 Thread Richard Mahlerwein
--- On Sun, 9/13/09, Chris Maness wrote: >From: Chris Maness >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 wrote: >> I level 0 dump of my server.  I lost

Re: Dump/Restore?

2009-09-14 Thread Chris Maness
utis...@googlemail.com wrote: On 14 Sep 2009 02:50, Chris Maness 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 director

Re: Re: Dump/Restore?

2009-09-13 Thread utisoft
On 14 Sep 2009 02:50, Chris Maness 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 pristine partitio

Re: Dump/Restore?

2009-09-13 Thread Chris Maness
On Sun, Sep 13, 2009 at 6:15 PM, 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 file wi

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 se

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 >

Re: Dump | Restore

2009-04-20 Thread Tim Judd
Greetings, On Mon, Apr 20, 2009 at 4:31 AM, Daniels Vanags wrote: > > > 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 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... A

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 l

Re: Dump | Restore

2009-04-20 Thread Odhiambo ワシントン州
On Mon, Apr 20, 2009 at 1:31 PM, Daniels Vanags wrote: > > > 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 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 no

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/res

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/mir

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 : > 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 Vanag

Re: Dump/Restore

2009-04-09 Thread Chris Rees
2009/4/9 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                     Size    Used   Avail Capacity  Mou

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 sy

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

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 11G

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 and

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) to

  1   2   3   >