fix terminal colorng
This commit is contained in:
28
install.sh
28
install.sh
@@ -129,25 +129,25 @@ echo -e "${GREEN}==================================================${NC}"
|
|||||||
echo ""
|
echo ""
|
||||||
echo -e "${YELLOW}📝 Prochaines étapes:${NC}"
|
echo -e "${YELLOW}📝 Prochaines étapes:${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "1. Éditez les configurations:"
|
echo -e "1. Éditez les configurations:"
|
||||||
echo " - ${YELLOW}/etc/borgmatic/.env${NC} (variables d'environnement)"
|
echo -e " - ${YELLOW}/etc/borgmatic/.env${NC} (variables d'environnement)"
|
||||||
echo " - ${YELLOW}/etc/borgmatic/config.yaml${NC} (configuration Borg)"
|
echo -e " - ${YELLOW}/etc/borgmatic/config.yaml${NC} (configuration Borg)"
|
||||||
echo ""
|
echo ""
|
||||||
echo "2. Initialisez votre repository Borg (si nouveau):"
|
echo -e "2. Initialisez votre repository Borg (si nouveau):"
|
||||||
echo " ${YELLOW}borg init --encryption=repokey-blake2 /path/to/repo${NC}"
|
echo -e " ${YELLOW}borg init --encryption=repokey-blake2 /path/to/repo${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "3. Testez votre configuration:"
|
echo -e "3. Testez votre configuration:"
|
||||||
echo " ${YELLOW}borgmatic --dry-run --verbosity 2${NC}"
|
echo -e " ${YELLOW}borgmatic --dry-run --verbosity 2${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "4. Exécutez un premier backup manuel:"
|
echo -e "4. Exécutez un premier backup manuel:"
|
||||||
echo " ${YELLOW}borgmatic --verbosity 1${NC}"
|
echo -e " ${YELLOW}borgmatic --verbosity 1${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "5. Vérifiez le timer systemd:"
|
echo -e "5. Vérifiez le timer systemd:"
|
||||||
echo " ${YELLOW}systemctl status borgmatic.timer${NC}"
|
echo -e " ${YELLOW}systemctl status borgmatic.timer${NC}"
|
||||||
echo " ${YELLOW}systemctl list-timers | grep borgmatic${NC}"
|
echo -e " ${YELLOW}systemctl list-timers | grep borgmatic${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "6. Démarrez le timer:"
|
echo -e "6. Démarrez le timer:"
|
||||||
echo " ${YELLOW}systemctl start borgmatic.timer${NC}"
|
echo -e " ${YELLOW}systemctl start borgmatic.timer${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "${GREEN}Le backup s'exécutera automatiquement tous les jours à 3h du matin${NC}"
|
echo -e "${GREEN}Le backup s'exécutera automatiquement tous les jours à 3h du matin${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user