tar --exclude='./dir2ignore' --exclude='./cache_etc' -zcvf /backup/myarchive.tar.gz .
tar --exclude='./dir2ignore' --exclude='./cache_etc' -zcvf /backup/myarchive.tar.gz .
Auftrag:
Backups von .php .tpl .inc .css .js .txt usw Text-Dateien erstellen. Dabei zu achten:
Lösung
tar -zcvf MeineWebseite.tar.gz /home/MeineWebseite/public_html/ --newer-mtime='30 days ago' --exclude=\*.{mp3,mp4,jpg,jpeg,png,gif,log}
Diese Fehler steht in Logs, wenn der Cronjob läuft :
/bin/sh: 1: Syntax error: end of file unexpected (expecting ")")
Was ist hier in diesem Cronjob-Eintrag falsch?
41 18 * * * /bin/tar -zcf /backups/www_$(date +%Y-%m).tar.gz /home/website2/public_html
Jedes mal wenn ich einen Backup von mehreren Datein und Verzeichnisse erstelle bekomme ich diese Fehler am Ende:
tar: Exiting with failure status due to previous errors
Dann bin ich nicht mehr sicher ob Tar-Archive Datei vollständig ist. Entweder muss ich diese Fehler unterdrücken oder irgendwie sicher sein, dass Ausser wenige Dateien oder symbolische Links , die nicht gelesen werden konnten, alles gesichert wurde. Kann mir jemand ein Rat geben?
Zwei zeilen mit Fehler sind wie folgt:
Neueste Kommentare
Try this:1. Go to Tools &…
Try this:
Alternative (without warnings like "no crontab for user")
Alternative (without warnings like "no crontab for dovecot") to see all tasks:
php 8.3 apcu
php 8.3 apcu failed
über Plesk hat es geklappt.
phpize failed error?
install:
# sudo apt install php-devphpize
# sudo apt install…
phpize
# sudo apt install php-devdetails
Problem:
/opt/plesk/php/8.3…
Problem:
Problem:PHP APCu caching…
Problem:
Hilft "cp -avf old new && rm…
Hilft "
cp -avf old new && rm -rvf old"nicht?Same with Drush 13 + PHP 8.3 and my Solution
Same with Drush 13 + PHP 8.3
Error : Failed to install the required package 'RPM' by using AP
Initializing...
Error : Failed to install the required package 'RPM' by using APT. Please install it manually.
Exit
Solution: