You are not logged in.

#1 2010-10-20 08:09:41

fOB
Member
From: Germany
Registered: 2010-10-20
Posts: 2

[SOLVED] btrfs and auto snapshots

Hi all,

i am trying to create automatic snapshots at boot time. I wrote a little script to create the snapshots but I am stuck at the point how I have to include this in the boot process.
The best possible solution for me would be to create the snapshots right after all file systems are mounted and before other processes are started.

Many thanks in advance for any ideas.

Last edited by fOB (2010-11-03 10:59:27)

Offline

#2 2010-10-21 19:14:56

steve___
Member
Registered: 2008-02-24
Posts: 452

Re: [SOLVED] btrfs and auto snapshots

You could add a script to /etc/rc.d/ and start it via the DAEMONS=() in /etc/rc.conf

Offline

#3 2010-11-03 10:58:45

fOB
Member
From: Germany
Registered: 2010-10-20
Posts: 2

Re: [SOLVED] btrfs and auto snapshots

Sorry for my late response and thanks for your help. That was the hint I needed.

For everyone else I added the Script simply as the first parameter to the DAEMONS variable. So it starts before any other service. For further information see http://wiki.archlinux.org/index.php/DAEMONS.

Offline

Board footer

Powered by FluxBB