Quotidien Shaarli

Tous les liens d'un jour sur une page.

June 17, 2022

Note: Backup Web via FTP
## Sauvegarde de la base de données
mysqldump -h adresse_serveur -u utilisateur -p password nom_base > fichier.sql

## Sauvegarder des fichiers & Compressions
# wget -m ftp://utilisateur:password@adresse.fr/* -P /volume1/Backup/website
sftp utilisateur@adresse.fr (à compléter !!!) 
tar -zcvf /volume1/Backup/website/backup-$(date +%Y-%m-%d-%H-%M-%S).tar.gz /volume1/Backup/website/

Sources :

Rebuild the Mailbox & Reindex Messages to Fix Common Problems in Mail App for Mac OS X
thumbnail

Reconstruire l’index des boîtes aux lettres de Mail

You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.

  1. Quit out of Mail app and go to the Finder
  2. Hit Command+Shift+G and go to the following path: ~/Library/Mail/
  3. Open the latest V# folder (V9, V8, V7, V6, V4 etc), then open the “MailData” folder in that directory
  4. Delete every file that begins with “Envelope Index(-shm/-wal)” (optional but recommended: back up these files to the desktop just in case something goes awry)
  5. Close the MailData window, then relaunch Mail app to force reindexing