The instructions on wiki.flimzy.com include a program called 'moo' that
you could possibly run in a cronjob. The trick there is that after
every 7th backup, a reboot is necessary (Because it mounts the
newly-created backup image as an additional branch in the unionfs, and
only 8 loopback devices can be mounted at a time).
If you don't mind an automatic reboot, you might be able to do something
like this in a crontab:
1 1 * * * /usr/local/bin/moo
10 1 1 * * shutdown -r now
That ought to do a snapshot every night, and reboot once a week.
This method would likely need some fine-tuning. If you come up with a
useable solution using my method on wiki.flimzy.com, please let me know
so I can add them to my wiki--or create an account no my wiki and add
your changes there yourself :)
On Tue, 2007-05-01 at 16:57 +0100, firstname.lastname@example.org wrote:
> I have just tested several USB Live Distros, as per the instructions found at
> How does a live USB Debian Linux created by the make-live from the new
> live-helper package excatly make sure that changes are stored back to the USB
> stick? It seems to use a single FAT16-formatted partition only on the USB
> If I create a live USB Linux according to the instructions at
> the USB stick uses an ext2 bootable partition so as to make writing changes to
> the stick easier, but it only does so upon a shutdown event.
> I wonder whether there is an easy way to automatically write all the changes
> to the stick automatically every 12 or 24 hours, perhaps triggered by a cron
> task. How difficult would that be? Alternatively, has someone found any other
> satisfying solution for this?
> Juergen Neuhoff
> Debian-live-devel mailing list