-Navigation-

Dir rotation

PHP Script for Directory Management , simplifying archiving and deletion operations. It can be configured for daily backups of important directories; just add it to cron for scheduled execution. [...]

Backup script

Creates MySQL dumps, archives files, encrypts them via GPG, and uploads them to a remote server via SFTP. Key features: MySQL : Saving databases. Archiving : Packing specified directories and [...]

Linux unit for automatic mounting

Creating a unit file for automatic mounting: sudo nano /etc/systemd/system/bind-mounts.service Add the following content: [Unit] Description=Bind Mount for /var/www/project to /home/user/www [...]

Converting a date to another format

The provided PHP code demonstrates how to convert a date from one format to another. It starts by defining the old and new date formats, then retrieves the current date in the old format. A new [...]

Start typing and press Enter to search