{"id":28563162,"url":"https://github.com/informatex-gmbh/webbackupper","last_synced_at":"2026-05-08T13:09:08.702Z","repository":{"id":56989228,"uuid":"383555988","full_name":"Informatex-GmbH/WebBackupper","owner":"Informatex-GmbH","description":"A simple PHP WebBackupper for Wordpress Instances, databases and folders to a FTP/SFTP Server","archived":false,"fork":false,"pushed_at":"2023-12-21T13:25:56.000Z","size":145,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T06:16:33.325Z","etag":null,"topics":["backup","database","folders","ftp","ftp-client","php","php74-cli","sftp","upload","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Informatex-GmbH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-07-06T17:55:58.000Z","updated_at":"2023-07-18T09:05:46.000Z","dependencies_parsed_at":"2025-06-10T13:01:38.726Z","dependency_job_id":null,"html_url":"https://github.com/Informatex-GmbH/WebBackupper","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Informatex-GmbH%2FWebBackupper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Informatex-GmbH%2FWebBackupper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Informatex-GmbH%2FWebBackupper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Informatex-GmbH%2FWebBackupper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Informatex-GmbH","download_url":"https://codeload.github.com/Informatex-GmbH/WebBackupper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Informatex-GmbH%2FWebBackupper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259080921,"owners_count":22802393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","database","folders","ftp","ftp-client","php","php74-cli","sftp","upload","wordpress"],"created_at":"2025-06-10T13:01:20.763Z","updated_at":"2026-05-08T13:09:08.623Z","avatar_url":"https://github.com/Informatex-GmbH.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Licensed under the MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/lbuchs/WebAuthn/blob/master/LICENSE)\n[![Requires PHP 7.4.0](https://img.shields.io/badge/PHP-7.4.0-green.svg)](https://php.net)\n\n# WebBackupper\n*A simple PHP WebBackupper for Wordpress Instances, databases, folders and FTP/SFTP-Folders local and to a FTP/SFTP Server*\n\nGoal of this project is to provide a small Web Backupper for backup webpages, or projects to a FTP/SFTP Server \n\n## Manual\n### 1. Copy files to webserver\n### 2. Copy ```config_sample.php``` and rename it to ```config.php```\n### 3. Edit ```config.php``` file \n1. Wordpress Instances (if not needed let array empty - ```'wordpress' =\u003e []```)\n    ```\n    // WP-Directory 1 with default wp-content folder\n   'TestWordpress' =\u003e '/home/var/www/site1',\n   // WP-Directory 2 with custom folders\n   'TestWordpress' =\u003e [\n       'rootDirectory' =\u003e '/home/var/www/site2',\n       'directories' =\u003e [\n           // Folder 1\n          'wp-data',\n           // Folder 2\n           'wp-admin'\n       ],\n   ]\n    ```\n2. Webapps (database and folders) (if not needed let array empty - ```'webapps' =\u003e []```)\n    ```\n    'webapps' =\u003e [\n   \n        // Webapp 1\n        'TestDb' =\u003e [\n            'directories' =\u003e [\n            \n                // Folder\n                '/home/var/www/folder',\n                '/home/var/www/folder1'\n            ],\n   \n            // Database informations\n            'db' =\u003e [\n                'name' =\u003e 'db_name',\n                'host' =\u003e 'https://db.host.com',\n                'port' =\u003e '3306', // optional\n                'username' =\u003e 'username',\n                'password' =\u003e 'password'\n            ]\n        ]\n   ]\n   ```\n3. Databases (if not needed let array empty - ```'databases' =\u003e []```)\n    ```\n    'databases' =\u003e [\n    \n        // Database 1\n        'TestDb' =\u003e [\n            'name' =\u003e 'db_name',\n            'host' =\u003e 'https://db.host.com',\n            'port' =\u003e '3306', // optional\n            'username' =\u003e 'username',\n            'password' =\u003e 'password'\n        ]\n   ]\n   ```\n4. Directories (if not needed let array empty - ```'directories' =\u003e []```)\n    ```\n    'directories' =\u003e [\n        // one folder\n        'TestFolder' =\u003e '/home/var/www/folder',\n        // multiple folders\n        'TestMultipleFolders' =\u003e [\n            '/home/var/www/folder1',\n            '/home/var/www/folder2'\n        ]\n    ]\n   ```\n5. FTP-Files (if not needed let array empty - ```'ftps' =\u003e []```)\n    ```\n    'ftps' =\u003e [\n   \n        // FTP-Config 1\n        'TestFtp' =\u003e [\n            'isSftp' =\u003e false,\n            'host' =\u003e 'sftp.mydomain.com',\n            'port' =\u003e '21',\n            'username' =\u003e 'backup',\n            'password' =\u003e '***',\n            'path' =\u003e 'my/folder/'\n        ]\n    ]\n   ```\n6. System\n    ```\n    'system' =\u003e [\n        'debug' =\u003e $debug_mode,        // is debug mode on\n        'localBackupCopies' =\u003e 10,     // number of local backups before delete\n        'timezone' =\u003e 'Europe/Zurich', // timezone\n        'logToFile' =\u003e true,           // write log to file\n        'sendLogEmail' =\u003e true,        // send email to webmaster\n        'webmasterEmailAddress' =\u003e 'webmaster@mydomain.com'\n    ]\n   ```\n7. Systemdirectorys\n    ```\n    'sysDirectories' =\u003e [\n        'backup' =\u003e 'backup', // path to backup folder\n        'log' =\u003e 'log'        // path to log folder\n    ],\n   ```\n8. Paths\n    ```\n    'paths' =\u003e [\n        'mysqldump' =\u003e '/usr/local/bin' // Path to mysqldump\n   ]\n   ```\n9. FTP-Upload Settings\n   1. Only one FTP configuration\n       ```\n       'backupFtp' =\u003e [\n           'enabled' =\u003e false,\n           'connections' =\u003e [\n               'isSftp' =\u003e true,\n               'host' =\u003e 'sftp.mydomain.com',\n               'port' =\u003e '22',\n               'username' =\u003e 'backup',\n               'password' =\u003e '***',\n               'path' =\u003e 'backup/web/'\n           ]\n       ]\n      ```\n   2. Multiple FTP configurations\n       ```\n       'backupFtp' =\u003e [\n           'enabled' =\u003e false,\n           'connections' =\u003e [\n               'NAS' =\u003e [\n                   'isSftp' =\u003e true,\n                   'host' =\u003e 'sftp.mydomain.com',\n                   'port' =\u003e '22',\n                   'username' =\u003e 'backup',\n                   'password' =\u003e '***',\n                   'path' =\u003e 'backup/web/'\n               ]\n           ]\n       ]\n      ```\n\n### 4. Create cli task\nCreate a cli task that runs cli.php with PHP8.2. Everytime the task is running, the backup job will be done.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformatex-gmbh%2Fwebbackupper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finformatex-gmbh%2Fwebbackupper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformatex-gmbh%2Fwebbackupper/lists"}