Auftrag:

Backups von .php .tpl .inc .css .js .txt usw Text-Dateien erstellen. Dabei zu achten:

  1. Nur Dateien die in der letzten 30 Tagen erstellt oder geändert wurden
  2. Bestimmte Bild/Video/Musik/Log Dateien, die viel Platz benötigen ignorieren.

Lösung

tar -zcvf MeineWebseite.tar.gz /home/MeineWebseite/public_html/ --newer-mtime='30 days ago' --exclude=\*.{mp3,mp4,jpg,jpeg,png,gif,log}

 

Mysql-Backup-Alle-DBs-auf-USB.cmd

 

@echo off

c:\xampp\mysql\bin\mysql.exe -u root -s -N -e "SHOW DATABASES" |   for /F "usebackq" %%D in (`findstr /V "information_schema performance_schema"`) do c:\xampp\mysql\bin\mysqldump.exe %%D -u root > f:\backups\%%D.sql

 

 

Mysql-Backup-Alle-DBs-auf-USB.vbs

Set WshShell = CreateObject("WScript.Shell")

WshShell.Run chr(34) & "C:\Mysql-Backup-Alle-DBs-auf-USB.cmd" & Chr(34), 0

Set WshShell = Nothing

Suche

Neueste Kommentare

  • 1 week 3 days ago
    Failed to authenticate on SMTP server with username gmail.com using the following authenticators: "LOGIN", "PLAIN", "XOAUTH2". Authenticator "LOGIN" returned "Expected response code "235" but got code "535",

    Update two fields (blob) in Table "config"!

    Search 'name': 

    1. smtp.settings 
    2. symfony_mailer.mailer_transport.smtp

     

     

  • 3 weeks 1 day ago
    The following embed button(s) are not using SVG icons and will not be compatible with CKEditor5

    Admin:

    • /admin/config/content/embed/button/manage/media
    • /admin/config/content/embed

     

    Convert PNG to SVG & Upload!

  • 3 weeks 5 days ago
    The following Apache modules are disabled on the destination server: security2.

    ModSecurity install & config & activate

  • 2 months 1 week ago
    TypeError: Cannot assign null to property Drupal \ views \ Plugin \ views \ argument \ ArgumentPluginBase::$operator of type string

    Das geht auch:

          $this->operator = $break->operator ?? '' ;
  • 2 months 3 weeks ago
    Bootstrap 5 subtheme is not properly configured. This may be caused by a problem with file or directory permissions.
  • 2 months 1 week ago
    TypeError: Cannot assign null to property Drupal \ views \ Plugin \ views \ argument \ ArgumentPluginBase::$operator of type string

    It works too:

    • web/core/modules/views/src/Plugin/views/argument/NumericArgument.php 

    Line 63, 96 :

  • 3 months ago
    Site URI : http://default (Drupal, how2 update config?)

    Add this line to drupalroot/vendor/drush/drush/drush.yml

  • 4 months 1 week ago
    Webserver CPU Performance Test mit PHP

    Time: 0,19 

    CPU: AMD Ryzen 7 PRO 3700 8-Core Processor

  • 5 months 3 weeks ago
    TypeError: Cannot assign null to property Drupal \ views \ Plugin \ views \ argument \ ArgumentPluginBase::$operator of type string

    Line 63, 99 :

  • 6 months 3 weeks ago
    Drupal + Basic_Auth Problem : You do not have permission to access this page (Sie haben keine Zugriffsberechtigung für diese Seite. )

    My problem was: