Wiki

Aller au contenu | Aller au menu | Aller à la recherche

 

Goals

Create a backup of an installed computer and copy it to a central repository.

Specification

This scripts aims to maintain a collection of ISO image in a central repository of all computer installation. In order to do this, mondo is used to do a regular compressed backup of an installation.

In fact, this script is not the same as admin-gallu-backup because it is aiming at doing things that fit on a CD/DVD and will concern an entire filesystem without exception.

In order to do a clean backup, the backup should be done at runlevel 2. The best way to do that is to trigger the backup while booting. Since at runlevel 2 it is likely that the central repository won't be accessible, the backup should be stored on the local hard drive. Once the local ISO has been created and that the runlevel will have mounted the central repository, the script should transfer the data to the central repository.

Some computer never start/stop, so there should be a way to trigger the backup without booting.

The script is configured through command line and configuration file:

  • --configuration file:
  • --backup: create a local ISO file
  • --copy: copy an ISO image to the central repository
  • --destination dir: central repository (where iso of all computer installation are stored)
  • --cache dir: where the local ISO file will be generated
  • --interval duration: time to wait between two backup
  • --mondo-configuration file: configuration file for mondo

The init script should do:

  • start, runlevel 2: admin-gallu-mondo --backup
  • stop, runlevel > 2: admin-gallu-mondo --copy

Lang: Perl

Status

Not yet begin