Re: altroot weekly.local

2021-06-23 Thread Allan Streib
Stuart Henderson writes: > I would prefer to use almost anything else though and get versioned > backups. Probably my most used backup/restore action is to get back a > version of some file from yesterday so something that will only write > the changes is useful. I quite like borg for this but

Re: altroot weekly.local

2021-06-23 Thread Stuart Henderson
On 2021-06-22, Andrew Robertson wrote: > Is there any problem with putting ROOTBACKUP=1 in my weekly.local > instead of daily.local? I'm backing up to an SD card and it's maybe not > fast enough to back up in 24 hours, plus weekly backup would be fine. It won't do anything in weekly.local; the

altroot weekly.local

2021-06-22 Thread Andrew Robertson
Is there any problem with putting ROOTBACKUP=1 in my weekly.local instead of daily.local? I'm backing up to an SD card and it's maybe not fast enough to back up in 24 hours, plus weekly backup would be fine. Many thanks.

Re: Is altroot a sysupgrade foe?

2020-09-20 Thread Florian Obser
le usb flash drive and > use /altroot facility in the daily(8) scripts to backup root partition > to it as described in FAQ > > https://www.openbsd.org/faq/faq14.html#altroot > > I started doing that many years ago, before sysupgrade was available. It > worked like a charm. Onc

Is altroot a sysupgrade foe?

2020-09-19 Thread Predrag Punosevac
Hi Misc, For number of years I had a very simple scheme to backup my OpenBSD infrastructure servers running critical network services for our small university lab. Namely, I would put a low profile usb flash drive and use /altroot facility in the daily(8) scripts to backup root partition

Re: Restoring /altroot

2017-07-18 Thread Raimo Niskanen
On Mon, Jul 17, 2017 at 08:18:25AM -0400, Nick Holland wrote: > On 07/17/17 05:50, Raimo Niskanen wrote: > > On Fri, Jul 14, 2017 at 10:46:14PM -0400, Nick Holland wrote: > >> On 07/14/17 09:00, Raimo Niskanen wrote: > >> > Hi misc@. > >> > > >>

Re: Restoring /altroot

2017-07-17 Thread Nick Holland
On 07/17/17 05:50, Raimo Niskanen wrote: > On Fri, Jul 14, 2017 at 10:46:14PM -0400, Nick Holland wrote: >> On 07/14/17 09:00, Raimo Niskanen wrote: >> > Hi misc@. >> > >> > I wonder how to restore from an /altroot backup? >> > >> > (I miss

Re: Restoring /altroot

2017-07-17 Thread Raimo Niskanen
On Fri, Jul 14, 2017 at 10:46:14PM -0400, Nick Holland wrote: > On 07/14/17 09:00, Raimo Niskanen wrote: > > Hi misc@. > > > > I wonder how to restore from an /altroot backup? > > > > (I missed that pax -r happily writes absolute paths and wrote over > &

Re: Restoring /altroot

2017-07-14 Thread Nick Holland
On 07/14/17 09:00, Raimo Niskanen wrote: > Hi misc@. > > I wonder how to restore from an /altroot backup? > > (I missed that pax -r happily writes absolute paths and wrote over > /etc from a backup file of another machine) > > > Is it to dd(1) back all but the fi

Restoring /altroot

2017-07-14 Thread Raimo Niskanen
Hi misc@. I wonder how to restore from an /altroot backup? (I missed that pax -r happily writes absolute paths and wrote over /etc from a backup file of another machine) Is it to dd(1) back all but the first 16 blocks - the reverse of what daily(8) does? Is that all that is needed? (I

Re: /etc/daily bug? altroot vs DUIDs

2012-02-10 Thread Kenneth R Westerback
on February 1st) and have noticed (for quite a while, actually) that the nightly backup of / to /altroot wasn't working. I finally got around to looking into this and discovered that the /etc/daily script was explicitly checking for /dev/whatever in the /altroot fstab entry -- but I've been using

Re: /etc/daily bug? altroot vs DUIDs

2012-02-09 Thread Dave Anderson
) that the nightly backup of / to /altroot wasn't working. I finally got around to looking into this and discovered that the /etc/daily script was explicitly checking for /dev/whatever in the /altroot fstab entry -- but I've been using DUIDs (as set up by the installer). Shouldn't the daily script

Re: /etc/daily bug? altroot vs DUIDs

2012-02-09 Thread Juha Erkkila
on February 1st) and have noticed (for quite a while, actually) that the nightly backup of / to /altroot wasn't working. I finally got around to looking into this and discovered that the /etc/daily script was explicitly checking for /dev/whatever in the /altroot fstab entry -- but I've been using

Re: /etc/daily bug? altroot vs DUIDs

2012-02-08 Thread Dave Anderson
On Tue, 7 Feb 2012, Kenneth R Westerback wrote: On Tue, Feb 07, 2012 at 09:42:07AM -0500, Dave Anderson wrote: I've got a system running amd64/mp -current (latest source update on February 1st) and have noticed (for quite a while, actually) that the nightly backup of / to /altroot wasn't

/etc/daily bug? altroot vs DUIDs

2012-02-07 Thread Dave Anderson
I've got a system running amd64/mp -current (latest source update on February 1st) and have noticed (for quite a while, actually) that the nightly backup of / to /altroot wasn't working. I finally got around to looking into this and discovered that the /etc/daily script was explicitly checking

Re: /etc/daily bug? altroot vs DUIDs

2012-02-07 Thread Kenneth R Westerback
On Tue, Feb 07, 2012 at 09:42:07AM -0500, Dave Anderson wrote: I've got a system running amd64/mp -current (latest source update on February 1st) and have noticed (for quite a while, actually) that the nightly backup of / to /altroot wasn't working. I finally got around to looking

/altroot problem

2010-03-28 Thread Andreas Gerdd
Hi. I try to have a root backup with /altroot. I did everything related to the man pages. But i wonder why my /altroot partition is still empty. fstab file: /dev/wd0a / ffs rw,softdep 1 1 /dev/wd0d /altroot ffs xx 0 0 Both / and /altroot partitions are having the same size, I also added

Re: /altroot problem

2010-03-28 Thread Nick Holland
Andreas Gerdd wrote: Hi. I try to have a root backup with /altroot. I did everything related to the man pages. But i wonder why my /altroot partition is still empty. fstab file: /dev/wd0a / ffs rw,softdep 1 1 /dev/wd0d /altroot ffs xx 0 0 Both / and /altroot partitions are having

Re: /altroot problem

2010-03-28 Thread Andreas Gerdd
ls /altroot shows nothing inside, other than ./ and ../ On Sun, Mar 28, 2010 at 17:51, Nick Holland n...@holland-consulting.net wrote: Andreas Gerdd wrote: Hi. I try to have a root backup with /altroot. I did everything related to the man pages. But i wonder why my /altroot partition

Re: /altroot problem

2010-03-28 Thread Ingo Schwarze
Andreas Gerdd wrote on Sun, Mar 28, 2010 at 06:01:07PM +0300: On Sun, Mar 28, 2010, Nick Holland n...@holland-consulting.net wrote: Andreas Gerdd wrote: I try to have a root backup with /altroot. I did everything related to the man pages. But i wonder why my /altroot partition is still empty

Re: /altroot problem

2010-03-28 Thread Andreas Gerdd
What does $ df /altroot tell you, in particular, which mount point is it reporting? Mounted on / or Mounted on /altroot? df /altroot shows: Mounted on / (df -h doesn't show /altroot.) So i cannot browse the content of /altroot, even though the backup files are there?

Re: /altroot problem

2010-03-28 Thread Robert
Andreas Gerdd wrote: What does $ df /altroot tell you, in particular, which mount point is it reporting? Mounted on / or Mounted on /altroot? df /altroot shows: Mounted on / (df -h doesn't show /altroot.) So i cannot browse the content of /altroot, even though the backup files

Re: /altroot problem

2010-03-28 Thread Ingo Schwarze
What does $ df /altroot tell you, in particular, which mount point is it reporting? Mounted on / or Mounted on /altroot? df /altroot shows: Mounted on / (df -h doesn't show /altroot.) Thus, /altroot is currently not mounted. So i cannot browse the content of /altroot, even though

Re: /altroot problem

2010-03-28 Thread Igor Sobrado
On Sun, Mar 28, 2010 at 6:03 PM, Ingo Schwarze schwa...@usta.de wrote: df /altroot shows: Mounted on / (df -h doesn't show /altroot.) Thus, /altroot is currently not mounted. As you said before, it shouldn't be usually mounted as it is used by dd(1). daily.out's output on the first email

Re: /altroot

2009-08-16 Thread Igor Sobrado
On Sun, Aug 16, 2009 at 12:54 AM, Philip Guentherguent...@gmail.com wrote: On Sat, Aug 15, 2009 at 3:44 PM, 46254625...@gmail.com wrote: Is it correct string for /etc/fstab? /dev/wd2d /altroot ffs xx 0 0 Assuming /dev/wd2d is the correct partition, yes. (You're looking at the daily(8

Re: /altroot

2009-08-16 Thread 4625
On Sat, 15 Aug 2009, Philip Guenther wrote: Is it correct string for /etc/fstab? /dev/wd2d /altroot ffs xx 0 0 Assuming /dev/wd2d is the correct partition, yes. (You're looking at the daily(8) manpage, right?) Sure. Original mount string for '/altroot' there was '/dev/wd2d /altroot ffs rw

Re: /altroot

2009-08-16 Thread 4625
On Sun, 16 Aug 2009, Igor Sobrado wrote: Is it correct string for /etc/fstab? /dev/wd2d /altroot ffs xx 0 0 same device i am using here (a for root, b for swap, c entire disk, d for /altroot, and so on...) just two advices: (1) the /altroot filesystem must have the same size He have

Re: /altroot

2009-08-16 Thread Denny White
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2009 at 09:44:43PM +, 4625 spoke thusly: On Sat, 15 Aug 2009, Philip Guenther wrote: Is it correct string for /etc/fstab? /dev/wd2d /altroot ffs xx 0 0 Assuming /dev/wd2d is the correct partition, yes. (You're looking

Re: /altroot

2009-08-16 Thread 4625
On Sun, 16 Aug 2009, Denny White wrote: Sure. Original mount string for '/altroot' there was '/dev/wd2d /altroot ffs rw,nodev,nosuid 1 2'. I do not see any messages about backup. How do I check if backup really happen? In daily output to root, the section of the message pertaining

/altroot

2009-08-15 Thread 4625
Is it correct string for /etc/fstab? /dev/wd2d /altroot ffs xx 0 0 Should df display the /altroot? -- 4625

Re: /altroot

2009-08-15 Thread Philip Guenther
On Sat, Aug 15, 2009 at 3:44 PM, 46254625...@gmail.com wrote: Is it correct string for /etc/fstab? /dev/wd2d /altroot ffs xx 0 0 Assuming /dev/wd2d is the correct partition, yes. (You're looking at the daily(8) manpage, right?) Should df display the /altroot? Only if you mount it yourself

Re: altroot is not mentioned in FAQ [diff]

2007-11-08 Thread Hannah Schroeter
Hi! On Wed, Nov 07, 2007 at 05:17:35PM +0100, Antoine Jacoutot wrote: On Wed, 7 Nov 2007, Nick Holland wrote: Really. /altroot is useful for certain things, but ONLY certain things. Don't call it a backup, as it isn't rotated. You have I do backup everything. It's just that altroot is so easy

Re: altroot is not mentioned in FAQ [diff]

2007-11-07 Thread Nick Holland
can use a href=faq10.html#Quotasquotas/a to restrict the space they use, and if they fill the partition, no other parts of your system will be impacted. + liIf you have a second disk, you might want to create an tt/altroot/tt + partition on it, as described in + a href=http

Re: altroot is not mentioned in FAQ [diff]

2007-11-07 Thread Henning Brauer
* Nick [EMAIL PROTECTED] [2007-11-07 04:22]: (add to that that Thunderbird is a brain-dead piece of shit when it comes to handling diffs in general and classic diffs even more so. Apparently, either Thunderbird devs aren't programmers or they never show their diffs to each other.) or they

Re: altroot is not mentioned in FAQ

2007-11-06 Thread Jan Stary
On Sep 25 10:11:04, Joel Knight wrote: --- Quoting Jan Stary on 2007/09/25 at 15:48 +0200: Hi all, afterboot(8) mentions /altroot, which is a nice feature. But you only learn about /altroot when you read afterboot(8). By that time, you already have a system installed

Re: altroot is not mentioned in FAQ

2007-11-06 Thread Douglas A. Tutty
On Tue, Nov 06, 2007 at 11:54:45AM +0100, Jan Stary wrote: On Sep 25 10:11:04, Joel Knight wrote: --- Quoting Jan Stary on 2007/09/25 at 15:48 +0200: afterboot(8) mentions /altroot, which is a nice feature. But you only learn about /altroot when you read afterboot(8). By that time

Re: altroot is not mentioned in FAQ

2007-11-06 Thread Woodchuck
On Tue, 6 Nov 2007, Douglas A. Tutty wrote: While you're at it: the install docs cover the absolute minimum to run a basic system (I think they describe it as a basic home system connected to the internet). Could you include an example of the same thing but the minimum to be able to compile

Re: altroot is not mentioned in FAQ [diff]

2007-11-06 Thread Jan Stary
Hi all, this is a diff to faq4.html (the install faq) so that it mentions /altroot for the installing user before he partitions his drive. Now, the altroot feature is described in daily(8), which you only read when you already have a system installed, your disk is already partitioned

/altroot could be recognized as a special partition

2007-11-06 Thread Jan Stary
'partition'. It would be nice if it also treated the /altroot partition specially; namely, if it got written into fstab as /dev/wd0X /altroot ffs xx 0 0 which is what daily(8) wants it to be for ROOTBACKUP to work. Jan

Re: altroot is not mentioned in FAQ [diff]

2007-11-06 Thread ropers
On 06/11/2007, Jan Stary [EMAIL PROTECTED] wrote: Is using a larger disk in the example a problem? Using a 20G disk makes the point of showing how usable the system is even on a small disk, but 20G disks don't really exist anymore. shouting O RLY? /shouting I always thought my 20 Gig HDD

Re: altroot is not mentioned in FAQ [diff]

2007-11-06 Thread ropers
On 06/11/2007, Jan Stary [EMAIL PROTECTED] wrote: PS: As this is a small diff, I edited (my copy of) faq4.html manually; but if I was to write up something bigger - is there some script(1)-like log of the whole installation, or can I create one? Drop into shell at the very beginning, and run

Re: altroot is not mentioned in FAQ [diff]

2007-11-06 Thread Marcus Andree
snip 20G disks don't really exist anymore. shouting O RLY? /shouting I always thought my 20 Gig HDD was the largest of my eight drives. Are you saying it's Schroedinger's hard drive? What about the others? My 200 MB would like to have a little word with you, and it doesn't look

Re: altroot is not mentioned in FAQ [diff]

2007-11-06 Thread Douglas A. Tutty
On Tue, Nov 06, 2007 at 08:11:55PM +0100, ropers wrote: On 06/11/2007, Jan Stary [EMAIL PROTECTED] wrote: Is using a larger disk in the example a problem? Using a 20G disk makes the point of showing how usable the system is even on a small disk, but 20G disks don't really exist anymore.

Re: altroot is not mentioned in FAQ [diff]

2007-11-06 Thread RW
On Tue, 6 Nov 2007 18:26:04 -0500, Douglas A. Tutty wrote: Jest Perhaps there needs to be a new fork: OldBSD: Unix for the Ages. s/Ages/Aged/ ?? Given that I joined IBM in 1962, I am allowed to make such jokes. ~|^ = From the land down under: Australia. Do we look umop apisdn from up over?

Re: altroot is not mentioned in FAQ [diff]

2007-11-06 Thread Nick Holland
Jan Stary wrote: Hi all, this is a diff to faq4.html (the install faq) so that it mentions /altroot for the installing user before he partitions his drive. Now, the altroot feature is described in daily(8), which you only read when you already have a system installed, your disk is already

Re: altroot is not mentioned in FAQ [diff]

2007-11-06 Thread Douglas A. Tutty
On Wed, Nov 07, 2007 at 01:23:55PM +1100, RW wrote: On Tue, 6 Nov 2007 18:26:04 -0500, Douglas A. Tutty wrote: Jest Perhaps there needs to be a new fork: OldBSD: Unix for the Ages. s/Ages/Aged/ ?? Given that I joined IBM in 1962, I am allowed to make such jokes. ~|^ = Ha! When I

altroot is not mentioned in FAQ

2007-09-25 Thread Jan Stary
Hi all, afterboot(8) mentions /altroot, which is a nice feature. But you only learn about /altroot when you read afterboot(8). By that time, you already have a system installed, in particular your disk is already partitioned, and typically you don't have the spare partition (of size at least