faubackup

Sekcia: Konfigurácia 13.08.2007 | 10:48
Avatar mariannoem debian  Používateľ
chcem sa opytat ako mam nastavit configurak faubackup aby mi premazaval vytvorene subory po 7 dnoch a nevytvaral nove zalohovania.tu je moj konfigurak:

# Configuration for faubackup
package FAUBACKUP;


# default directory for backups
# MACHINE is replaced by the machines hostname
# DIR is replaced by the source directory, with '/' made '-'
#$backup = "/backup/MACHINE/DIR"; # <-- to use one directory per host
$backup = "/backup250/eltras07/MACHINE:DIR";

# should new backup destination directories be created automatically?
$autocreate = 1;

# keep old backups for that long:
# (0 means: only keep a backup for current year/month/etc.,
# -1 means: don't store backups for that year/month/etc.)
#$keepyears = 2;
#$keepmonths = 12;
#$keepweeks = 4;
$keepdays = 7;

# files to ignore
#@ignore = qw( **.o **/cache **/Cache **/nobackup );
"/etc/faubackup.conf" 30 lines, 766 characters
web developer a trosku znalosti v linuxe
    • Re: faubackup 14.08.2007 | 15:55
      Juro   Návštevník
      podla tohoto: http://www.penguin-soft.com/penguin/man/5/faubackup.conf.html
      je to:
      ak robis denne backupy a chces ich uchovat sedem - teda za jeden tyzden tak:
      $keepdays = 7;
      ak robis tyzdenny backup a chces ho uchovat presne tyzden tak:
      $keepweeks = 1;

      ale treba ich cistit a to takto:
      faubackup --clean
      • Re: faubackup 14.08.2007 | 16:19
        marian   Návštevník
        hm to je ok, ale ten clean aby som to nemusel vypisovat, do ktoreho configuraku to dam? alebo ho staci dat do cronu nech sa spusta po kazdotyzdennom zalohovani a vycisti stare backupy??? vdaka
        • Re: faubackup 14.08.2007 | 20:36
          Juro   Návštevník
          Asi by som to dal do cronu alebo pripadne do .profile