/var/backups strange behaviour

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

/var/backups strange behaviour

Wesley MOUEDINE ASSABY
Hi

Before do anything, i read this : man 8 daily
I just installed a fresh OpenBSD-5.2
and /var/backups : empty

I don't understand why backup is enabled in /var/backups.
I explain, if i run the script : 'sh /etc/daily', backups is done.
(i.e 'ls /var/backups')

In the manpage of daily, it will backup only if :
ROOTBACKUP Variable is enable (=1)
or altroot partition in /etc/fstab
Actually none of these 2 statements are present. Any idea ?

Thank you very much.

Regards,

Wesley

Reply | Threaded
Open this post in threaded view
|

Re: /var/backups strange behaviour

Otto Moerbeek
On Mon, Jan 07, 2013 at 04:49:12PM +0400, Wesley wrote:

> Hi
>
> Before do anything, i read this : man 8 daily
> I just installed a fresh OpenBSD-5.2
> and /var/backups : empty
>
> I don't understand why backup is enabled in /var/backups.
> I explain, if i run the script : 'sh /etc/daily', backups is done.
> (i.e 'ls /var/backups')
>
> In the manpage of daily, it will backup only if :
> ROOTBACKUP Variable is enable (=1)
> or altroot partition in /etc/fstab
> Actually none of these 2 statements are present. Any idea ?
>
> Thank you very much.
>
> Regards,
>
> Wesley

You are confusing things. ROOTBACKUP and config files backups are rtwo
different things.

Reading docs (and checking references helps):

See security(8) (run by daily(8) as documented) and changelist(5)
(referred to by security(8)).


        -Otto

Reply | Threaded
Open this post in threaded view
|

Re: /var/backups strange behaviour

Wesley MOUEDINE ASSABY
My mistake ! I undestand better.
Thank you very much.

Cheers,

Wesley

Le 2013-01-07 17:07, Otto Moerbeek a écrit :

> On Mon, Jan 07, 2013 at 04:49:12PM +0400, Wesley wrote:
>
>> Hi
>>
>> Before do anything, i read this : man 8 daily
>> I just installed a fresh OpenBSD-5.2
>> and /var/backups : empty
>>
>> I don't understand why backup is enabled in /var/backups.
>> I explain, if i run the script : 'sh /etc/daily', backups is done.
>> (i.e 'ls /var/backups')
>>
>> In the manpage of daily, it will backup only if :
>> ROOTBACKUP Variable is enable (=1)
>> or altroot partition in /etc/fstab
>> Actually none of these 2 statements are present. Any idea ?
>>
>> Thank you very much.
>>
>> Regards,
>>
>> Wesley
>
> You are confusing things. ROOTBACKUP and config files backups are
> rtwo
> different things.
>
> Reading docs (and checking references helps):
>
> See security(8) (run by daily(8) as documented) and changelist(5)
> (referred to by security(8)).
>
>
> -Otto