If you want to free space on Backups you can use find to select a special month: find -newerct "1 Sep 2023" ! -newerct "1 DEC 2023" -delete This command removes files created from 01.Sep.2023 to 01.Dec.2023. ..very useful..
Category: Archiving
Backup daily WordPress Drupal Script
If you use Drupal or WordPress and you have a virtual Server with SSH Login you should set up a daily Backup Script to have a Snapshot of your Blogs if Hackers insert SQL Code Injections or hack PHP Sites. Cause you cant NEVER know every EXPLOIT of every used Plugin (here less plugins is more!) Of course you can daily or hourly RESTORE AUTOMATIC by CRON your Blogs by OVERWRITE bad inserted STUFF! Howto? Article comming soon !! .. sorry have current not enough time.. or read my Wiki for MYSQL and WordPress Help! Daily or hourly restored […]
MediaWiki: Purge All Users hold Page Content
If you use MediaWiki to hold your Infos, you perhaps want to Mirror the wiki to other Locations or drop all Users but hold the Content? You can do it with onboard tools: On the Source: Login into the Console of the Webserver go to /webspace/wiki/maintenance run here: php dumpBackup.php –full > backup.xml tar or rsync the image folder to destination Webspace copy backup.xml to the destination Webspace if you not have done, install MediaWiki new on the destination go to the /webspace/wikinew/maintenance paste backup.xml here restore the backup: php importDump.php backup.xml run rebuild Database: php rebuildrecentchanges.php cleanup Caches: php […]
PDF/A: Setup Linux CUPS to Print Archive PDF/A
If you have a Office and you have to archive Documents and Prints over Years you should have heard that there is a special PDF Type called PDF/A which is set as default Archiving PDF File Type for decades. To use it you can use the Linux Print Server called CUPS to translate all digital Prints to PDF/A. This free Software Printer is known on all Linux Releases, and he can listen on USB and Network Interfaces on Documents. Also you can use Network Printers/Scanners like the Brother MFC-Series to Scan Documents and later to print them virtual as PDF/A […]