[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dump query OpenBSD 3.2
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: dump query OpenBSD 3.2
- From: "J. A. Landamore" <jal_(_at_)_mcs_(_dot_)_le_(_dot_)_ac_(_dot_)_uk>
- Date: Mon, 12 May 2003 08:41:06 +0100 (BST)
- Reply-to: "J. A. Landamore" <jal_(_at_)_mcs_(_dot_)_le_(_dot_)_ac_(_dot_)_uk>
I know TODAY is ugly, but then I'm no picture either :-)
Why do I think it's dumping all of /home; because /home is 1.8GB, it's dumping
1.8GB and ls -lR-ing /home gives about 1GB that has a date of over 2 weeks ago.
I'm going to try the device name (even though according to the man page it
should be unmounted) and see what happens.
John Landamore
>Quoting J. A. Landamore (jal_(_at_)_mcs_(_dot_)_le_(_dot_)_ac_(_dot_)_uk):
>> I'm slightly puzzled by the action of dump. I have a script, run by cron,
that
>> does:
>>
>> TODAY=`date | nawk '{print $2,"_",$3}' | sed s/\ _\ /_/`
>
>TODAY=`date +%B_%d`
>
>> /sbin/dump -0au -f /var/spool/dumps/mail_$TODAY /home
>>
>> once a month, and one that does:
>> TODAY=`date | nawk '{print $2,"_",$3}' | sed s/\ _\ /_/`
>> /sbin/dump -1au -f /var/spool/dumps/mail_$TODAY /home
>...
>> (yes it is correct, I want to dump all the files changed since the level 0
dump
>> every night. It will be a lot but nowhere near 1.8GB)
>
>Dunno how big your dump filas are...
>Except for an ugly TODAY script, it SHOULD be working, assuming you are root.
>level 1 should back up everything that's changed since a level lower than 1
>(0, in this case) has been done.
>
>What makes you think it's doing more (replies to list please)
Visit your host, monkey.org