panakour / oc-backup-plugin Goto Github PK
View Code? Open in Web Editor NEWBackup system for October CMS
License: MIT License
Backup system for October CMS
License: MIT License
Hello, when clicking on the top menu icon, I get the following error with the las october installation :
count(): Parameter must be an array or an object that implements Countable
/var/www/clients/client1/web3/web/plugins/laminsanneh/flexicontact/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 67
What could it be ?
Hi,
fortunately, I had no need for full website restore... yet :D What would be the best procedure to perform a restore?
Regard,
Darjan
It would be great if we could specify a retention period (or number of generations) for backups, so thy get purged automatically after a certain period of time.
When pressing archive download button it result in an error 404.
domain.tld/storage/app/panakour-backup/2018-02-07-12-33-31.zip
is blocked by October's default .htaccess file on apache servers.
##
## White listed folders
##
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} !/.well-known/*
RewriteCond %{REQUEST_FILENAME} !/storage/app/uploads/.*
RewriteCond %{REQUEST_FILENAME} !/storage/app/media/.*
RewriteCond %{REQUEST_FILENAME} !/storage/temp/public/.*
RewriteCond %{REQUEST_FILENAME} !/themes/.*/(assets|resources)/.*
RewriteCond %{REQUEST_FILENAME} !/plugins/.*/(assets|resources)/.*
RewriteCond %{REQUEST_FILENAME} !/modules/.*/(assets|resources)/.*
RewriteRule !^index.php index.php [L,NC]
Temporary workaround :
RewriteCond %{REQUEST_FILENAME} !/storage/app/panakour-backup/.*
Update need :
Version on the Github: 1.0.9
Version on the Market: 1.0.8
Hi,
I'm using this module for the first time and I'm getting the following error when I click on 'Create backup':
"Call to undefined method Symfony\Component\Process\Process::fromShellCommandline()" on line 186 of /Users/sahaj/Sites/tailwindui/plugins/panakour/backup/vendor/spatie/db-dumper/src/Databases/MySql.php
I'm on mac and have mysqldump installed.
Thanks for help.
after upgrade to 1.0.8 got this error on all sites
"Parse error: syntax error, unexpected '?'" on line 138 of *****/www/html/plugins/panakour/backup/vendor/spatie/laravel-backup/src/BackupDestination/BackupDestination.php
Hi. Running ocms v433, PHP 7.2.1. any ideas?
Works fine online. However, I get a page not found error when i try to download from backend. e.g. https://www.example.com/storage/app/panakour-backup/xxx2018-01-30-13-31-23.zip
On last update and click App backup and db backup
if backup-plugin ist installed and active, a user without any permission can change backup-settings an see menu-icon to the sytem settings
For me, it simply does not create any backup. At first it was complaining I didn't specify a MySQL port, then I added one and now it says it has created the backup, but in reality, nothing happens. Not sure how to debug this so any help is appreciated.
I'm running PHP 7.1.12 on Apache 2.4. Permissions are ok.
Thanks.
Plugin does not work with the new API access, right?
EDIT:
I didn't set the Permissions :D Dang... Mondays are hard! ... So here is what I found out during my enlightment session on Dropbox Console...
Works! :D
Maybe this should be written to the Readme... just to be on the safe side.
Hi
I tried to install the backup plugin but got this error : Parse error: syntax error, unexpected '?'
Going to tell the steps:
Whenever I try to backup anything (files, database or complete) I get the following error:
Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected '?' in /octobercms/public/plugins/panakour/backup/vendor/spatie/laravel-backup/src/BackupDestination/BackupDestination.php:138
Any idea why? I chose Local for destination.
Hi,
First, really thanks for this plugin.
Second, i don't know where to post this, so i put it here and i hope that you will tell me what to do exactly if there is something to do. :)
I was needed to have this plugin creating backup automatically and twice a day. So i have register a schedule into the plugin.php
file. But i think for the next version we can improve this feature to make this as a setting with more parameters like :
So, if someone need to automate this plugin, just add this code into plugin.php and be sure to have configure your cron jobs for octobercms like it is said into octobercms docs.
public function registerSchedule($schedule) {
$schedule->call(function () {
$records = Backups::createBackup(['--disable-notifications' => true]);
})->twiceDaily(1, 12);
}
and change the function createBackup()
to be static
public static function createBackup($artisanArguments)
Hope it can help someone :)
I have a problem when i want start a plugin. I see this text:
We're very sorry, but something went wrong and the page cannot be displayed due to a messy error.
Don't worry, our specially programmed robotic workers have been deployed to clean things up.
Error code: 500
The currently shipped laravel-backup version makes use of nullable return types.
// spatie/laravel-backup/src/BackupDestination/BackupDestination.php:138
public function newestBackup(): ?Backup
{
return $this->backups()->newest();
}
The minimum plugin requirements in the README and the Marketplace should be updated to require PHP 7.1
When I created a backup, the file is in the "October-CMS" folder instead of "panakour-backup".
I use October build 430.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.