Project

General

Profile

Anomalie #1413

Corriger la gestion des répertoires tmp dans les config backuppc pour les machines

Added by Frédéric Couchet almost 6 years ago. Updated over 2 years ago.

Status:
Fermé
Priority:
Urgente
Assignee:
-
Category:
-
Target version:
Start date:
11/22/2013
Due date:
% Done:

0%

Difficulté:
2 Facile

Description

Lors de la restauration du backup du home deu laptop de Jeanne on s'est rendu commpte que la config backuppc des laptops excluait les répertoires tmp :

$Conf{RsyncShareName} = [ '/' , '/home/jeanne' , '/boot' ];

$Conf{BackupFilesExclude} = {
'/' => [ '/lost+found', 'tmp/', 'perso/', 'Perso/', 'nobackup/' ],
'/home/jeanne' => [ '/lost+found', 'tmp/', 'perso/', 'Perso/', 'nobackup/' ],
'/home' => [ '/lost+found', 'tmp/', 'perso/', 'Perso/', 'nobackup/' ],
};

Et donc, les backup n'ont pas les répertoires tmp utilisés par certaines applications. Ce qui peut faire planter les applications (genre kmail, subversion). Voir https://agir.april.org/issues/1412

Il faudrait modifier la politique des exclusions de répertoires pour les backups.

History

#1 Updated by Vincent-Xavier JUMEL about 5 years ago

  • Target version changed from Novembre 2013 to Backlog

#2 Updated by François Poulain almost 3 years ago

  • Description updated (diff)

Visiblement c'est toujours d'actualité.

#3 Updated by François Poulain almost 3 years ago

  • Private changed from No to Yes

Dans le cas du PC de Isa, c'est l'exclusion de 'tmp' qui est problématique, le reste ne matchant que les dossiers intentionnés.

root@kavakava:~# find /home/ivanni/ -type d -name 'lost+found'
root@kavakava:~# find /home/ivanni/ -type d -name 'tmp'
/home/ivanni/.local/share/Rapports de remise/tmp
/home/ivanni/.local/share/Bulletins d'adhésion : période de conservation/tmp
/home/ivanni/.local/share/.Rapports de remise.directory/Demandes d'évolution/tmp
/home/ivanni/.local/share/local-mail/outbox/tmp
/home/ivanni/.local/share/local-mail/APRIL/tmp
/home/ivanni/.local/share/local-mail/sent-mail/tmp
/home/ivanni/.local/share/local-mail/templates/tmp
/home/ivanni/.local/share/local-mail/drafts/tmp

[... beaucoup de dossiers mails divers ... ]

/home/ivanni/.local/share/notes/Zew73oknM8/tmp
/home/ivanni/.local/share/notes/tmp
/home/ivanni/.local/share/Emplacement/tmp

[... beaucoup de dossiers mails divers ... ]

/home/ivanni/20160207-backup-evolution/folders/Brouillons/subfolders/Modèles/subfolders/Remerciements/tmp
/home/ivanni/20160207-backup-evolution/folders/Brouillons/subfolders/Modèles/subfolders/Montant cotisation erroné/tmp
/home/ivanni/20160207-backup-evolution/folders/Brouillons/subfolders/Modèles/subfolders/Factures à personne morale/tmp
/home/ivanni/20160207-backup-evolution/folders/Brouillons/tmp
/home/ivanni/.scribus/scrapbook/tmp
/home/ivanni/SVN/test/Guide_Libre_Association/src/version_html/tmp
/home/ivanni/SVN/encours/.svn/tmp
/home/ivanni/SVN/encours/Guide_Libre_Association/src/version_html/tmp
/home/ivanni/SVN/secure/ca/.svn/tmp
/home/ivanni/tmp
/home/ivanni/tmp/tmp
/home/ivanni/.config/libreoffice/4/user/extensions/tmp
/home/ivanni/mail_old/.local/share/akonadi_maildir_resource_2/outbox/tmp
/home/ivanni/mail_old/.local/share/akonadi_maildir_resource_2/sent-mail/tmp
/home/ivanni/mail_old/.local/share/akonadi_maildir_resource_2/templates/tmp
/home/ivanni/mail_old/.local/share/akonadi_maildir_resource_2/drafts/tmp
/home/ivanni/mail_old/.local/share/akonadi_maildir_resource_2/inbox/tmp
/home/ivanni/mail_old/.local/share/akonadi_maildir_resource_2/trash/tmp
/home/ivanni/mail_old/.local/share/local-mail/outbox/tmp
/home/ivanni/mail_old/.local/share/local-mail/sent-mail/tmp
/home/ivanni/mail_old/.local/share/local-mail/templates/tmp
/home/ivanni/mail_old/.local/share/local-mail/drafts/tmp
/home/ivanni/mail_old/.local/share/local-mail/inbox/tmp
/home/ivanni/mail_old/.local/share/local-mail/trash/tmp
/home/ivanni/mail_old/.local/share/local-mail/tmp
root@kavakava:~# vi '/home/ivanni/.local/share/Rapports de remise/tmp'
root@kavakava:~# find /home/ivanni/ -type d -name '[Pp][Ee][Rr][Ss][Oo]'
/home/ivanni/.local/share/Trash/files/perso
/home/ivanni/.local/share/Trash/files/PeRso
/home/ivanni/perso
root@kavakava:~# find /home/ivanni/ -type d -name 'nobackup'
root@kavakava:~#

#4 Updated by François Poulain almost 3 years ago

Du coup perso je suggère de ne pas supprimer les tmp des dossiers home. C'est dangereux et ça ne doit pas faire gagner grand chose.

#5 Updated by François Poulain almost 3 years ago

  • Private changed from Yes to No

#6 Updated by François Poulain over 2 years ago

  • Status changed from Nouveau to Fermé

Fait.

Also available in: Atom PDF